Commit Graph

48157 Commits

Author SHA1 Message Date
Victor Stinner
d9561318d8 (Merge 3.1) Issue #9756: When calling a method descriptor or a slot wrapper
descriptor, the check of the object type doesn't read the __class__ attribute
anymore.  Fix a crash if a class override its __class__ attribute (e.g. a proxy
of the str type).
2011-05-01 23:31:36 +02:00
Victor Stinner
3249dec024 Issue #9756: When calling a method descriptor or a slot wrapper descriptor, the
check of the object type doesn't read the __class__ attribute anymore.  Fix a
crash if a class override its __class__ attribute (e.g. a proxy of the str
type).
2011-05-01 23:19:15 +02:00
Georg Brandl
da623ed9f4 Split combined code/doctest code blocks in two blocks, to enable proper highlighting. 2011-05-01 22:37:23 +02:00
R David Murray
e97f14c1bb Merge #11971: fix man page; it's -OO not -O0
Patch by Lars Michelsen.
2011-05-01 11:14:31 -04:00
R David Murray
9c4f09d0f4 #11971: fix man page; it's -OO not -O0
Patch by Lars Michelsen.
2011-05-01 11:13:56 -04:00
R David Murray
361a7df323 Merge #11883: fix email examples by adding 'localhost' to SMTP constructor calls 2011-04-30 17:29:08 -04:00
R David Murray
bb754b503c #11883: fix email examples by adding 'localhost' to SMTP constructor calls 2011-04-30 17:26:32 -04:00
R David Murray
7461298c9c #11883: replace incorrect call to sendmail with correct call to send_message 2011-04-30 17:19:53 -04:00
R David Murray
b751d6195f Merge #11901: post-commit review fixes per Georg Brandl 2011-04-30 16:36:08 -04:00
R David Murray
9beb34ee0d #11901: post-commit review fixes per Georg Brandl 2011-04-30 16:35:29 -04:00
Benjamin Peterson
f97aed1a25 merge 3.1 2011-04-30 13:15:18 -05:00
Benjamin Peterson
4c020885d9 fix function name in example (closes #11966) 2011-04-30 13:14:56 -05:00
Brian Curtin
73365dd887 whitespace... 2011-04-29 22:18:33 -05:00
Brian Curtin
e6242d77bd Fix #11961. Document STARTUPINFO and creation flag options. 2011-04-29 22:17:51 -05:00
Senthil Kumaran
f108f8258e Wrap the testskip decorator for the proper test to resolve bb failure. 2011-04-30 06:06:28 +08:00
Brian Curtin
8b8e7f467f Further fix #7838. CREATE_NEW_CONSOLE was exposed, but none of the
constants to be used for STARTUPINFO were exposed due to the change.
2011-04-29 15:48:13 -05:00
Ezio Melotti
2ee88355fc #11952: Fix typo in multiprocessing doc. 2011-04-29 07:10:24 +03:00
Senthil Kumaran
e3bdcf4ffd skip the extractall test on platforms where os.symlink is not available. 2011-04-28 17:05:55 +08:00
Senthil Kumaran
123932f237 Add tests for tarfile extractall feature when with symlinks 2011-04-28 15:38:12 +08:00
Ezio Melotti
b185a04aa1 #11926: add missing keywords to help("keywords"). 2011-04-28 07:42:55 +03:00
Raymond Hettinger
507cbc1773 Issue #11940: Update external link. 2011-04-27 16:32:08 -07:00
Ezio Melotti
f95033ba44 #11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi. 2011-04-28 00:48:46 +03:00
Éric Araujo
9a42793761 Branch merge 2011-04-27 16:23:56 +02:00
Éric Araujo
10f3d7acbd Change markup so it generates a link 2011-04-27 16:22:32 +02:00
Ezio Melotti
935a588825 #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings are too long. 2011-04-27 10:17:34 +03:00
Victor Stinner
3cbf14bfb1 Issue #10914: Initialize correctly the filesystem codec when creating a new
subinterpreter to fix a bootstrap issue with codecs implemented in Python, as
the ISO-8859-15 codec.

Add fscodec_initialized attribute to the PyInterpreterState structure.
2011-04-27 00:24:21 +02:00
Victor Stinner
1188935af9 Issue #10914: Py_NewInterpreter() uses PyErr_PrintEx(0)
... instead of PyErr_Print() because we don't need to set sys attributes,
the sys module is destroyed just after printing the error.
2011-04-27 00:20:27 +02:00
Łukasz Langa
90759a2a77 Mentioned issues #11324 and #11858. 2011-04-30 09:36:35 +02:00
Brian Curtin
3040193401 Fix #11961. Document STARTUPINFO and creation flag options. 2011-04-29 22:20:57 -05:00
Senthil Kumaran
be5dbebeaa merge from 3.1 2011-04-30 06:09:51 +08:00
Brian Curtin
08fd8d93f7 merge 2011-04-29 16:11:30 -05:00
Łukasz Langa
5c7419d433 Removed debugging leftovers. 2011-04-29 16:16:36 +02:00
Łukasz Langa
4d27d9e8b6 __class__ of a __class__ check worked only by chance. 2011-04-29 16:15:41 +02:00
Łukasz Langa
75da860413 TestChainMap was not previously used. Minor corrections applied. 2011-04-29 11:35:03 +02:00
Ezio Melotti
17797a7310 #11952: merge with 3.1. 2011-04-29 07:12:42 +03:00
Antoine Pitrou
390ea0f25d Add WSANO_DATA to possible errors triggered by getaddrinfo (Windows) 2011-04-29 00:44:33 +02:00
Łukasz Langa
1aa422fe8f Closes #11324: ConfigParser(interpolation=None) doesn't work.
Initial patches by Tobias Brink. Thanks!
2011-04-28 17:03:45 +02:00
Łukasz Langa
f531113397 Added Yuxiao Zeng for finding and resolving #11858. Thanks! 2011-04-28 16:00:57 +02:00
Łukasz Langa
ba702daef9 Style updates for the #11670 solution after post-commit review by Ezio Melotti:
http://mail.python.org/pipermail/python-checkins/2011-April/104688.html

Thanks!
2011-04-28 12:02:05 +02:00
Senthil Kumaran
c20566cdf8 merge from 3.1 2011-04-28 17:08:12 +08:00
Łukasz Langa
e698cd54bc Closes #11858: configparser.ExtendedInterpolation and section case.
Patch by ゆかり ぴんく魔女. Thanks!
2011-04-28 10:58:57 +02:00
Senthil Kumaran
8a410d319a merge from 3.1 2011-04-28 15:53:09 +08:00
Ezio Melotti
44aad855dd #11926: merge with 3.1. 2011-04-28 07:51:14 +03:00
Raymond Hettinger
4f7412356d Issue #11940: Update external link. 2011-04-27 16:32:34 -07:00
Ezio Melotti
75cbd73666 #11938: Fix duplicated test name in test_inspect. Patch by Andreas Stührk. 2011-04-28 00:59:29 +03:00
Ezio Melotti
a782ccaf6c #11942: merge with 3.1. 2011-04-28 00:53:14 +03:00
Antoine Pitrou
0c759febb6 Issue #10517: After fork(), reinitialize the TLS used by the PyGILState_*
APIs, to avoid a crash with the pthread implementation in RHEL 5.  Patch
by Charles-François Natali.
2011-04-27 19:28:05 +02:00
Łukasz Langa
43ae619925 Fixed trailing whitespace in the ReST file. 2011-04-27 18:13:42 +02:00
Łukasz Langa
daab1c8092 Closes #11670: configparser read_file now iterates over f. 2011-04-27 18:10:05 +02:00
Éric Araujo
944d16c6c4 Merge 3.1 2011-04-27 16:27:38 +02:00