Commit graph

48957 commits

Author SHA1 Message Date
Antoine Pitrou
9c39f3c4ec Issue #11811: Factor out detection of IPv6 support on the current host
and make it available as `test.support.IPV6_ENABLED`.  Patch by
Charles-François Natali.
2011-04-28 19:18:10 +02:00
Łukasz Langa
70eb79c669 Merged solution for #11324 from 3.2. 2011-04-28 17:04:25 +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
bf53a9c256 Merged ACKS from 3.2: added Yuxiao Zeng 2011-04-28 16:02:30 +02:00
Łukasz Langa
f531113397 Added Yuxiao Zeng for finding and resolving #11858. Thanks! 2011-04-28 16:00:57 +02:00
Vinay Sajip
7fe1d51924 Improved test_logging coverage. 2011-04-28 12:04:58 +01:00
Łukasz Langa
e812bf7bf6 Merged styling updates for #11670 from 3.2. 2011-04-28 12:02:58 +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
2ea72709a3 merge from 3.2 2011-04-28 17:08:41 +08:00
Senthil Kumaran
c20566cdf8 merge from 3.1 2011-04-28 17:08:12 +08:00
Senthil Kumaran
e3bdcf4ffd skip the extractall test on platforms where os.symlink is not available. 2011-04-28 17:05:55 +08:00
Łukasz Langa
50c7562da9 Merged solution for #11858 from 3.2. 2011-04-28 11:01:18 +02:00
Łukasz Langa
e698cd54bc Closes #11858: configparser.ExtendedInterpolation and section case.
Patch by ゆかり ぴんく魔女. Thanks!
2011-04-28 10:58:57 +02:00
Senthil Kumaran
7274828b48 merge from 3.2 2011-04-28 15:53:59 +08:00
Senthil Kumaran
8a410d319a merge from 3.1 2011-04-28 15:53:09 +08:00
Senthil Kumaran
123932f237 Add tests for tarfile extractall feature when with symlinks 2011-04-28 15:38:12 +08:00
Ezio Melotti
60811c215f #11926: merge with 3.2. 2011-04-28 07:55:29 +03:00
Ezio Melotti
44aad855dd #11926: merge with 3.1. 2011-04-28 07:51:14 +03:00
Ezio Melotti
b185a04aa1 #11926: add missing keywords to help("keywords"). 2011-04-28 07:42:55 +03:00
Raymond Hettinger
121bf6aa61 Issue #11940: Update external link. 2011-04-27 16:33:01 -07:00
Raymond Hettinger
4f7412356d Issue #11940: Update external link. 2011-04-27 16:32:34 -07:00
Raymond Hettinger
507cbc1773 Issue #11940: Update external link. 2011-04-27 16:32:08 -07:00
Ezio Melotti
3c1d067ef9 #11938: merge with 3.2. 2011-04-28 01:00:25 +03: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
98be2b72c6 #11942: merge with 3.2. 2011-04-28 00:53:48 +03:00
Ezio Melotti
a782ccaf6c #11942: merge with 3.1. 2011-04-28 00:53:14 +03:00
Ezio Melotti
f95033ba44 #11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi. 2011-04-28 00:48:46 +03:00
Antoine Pitrou
9ea1c8d7d7 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:30:16 +02: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
2356659f34 Merged trailing whitespace fix. 2011-04-27 18:14:04 +02:00
Łukasz Langa
43ae619925 Fixed trailing whitespace in the ReST file. 2011-04-27 18:13:42 +02:00
Łukasz Langa
29050d7317 Merged #11670 from 3.2 2011-04-27 18:11:50 +02:00
Łukasz Langa
daab1c8092 Closes #11670: configparser read_file now iterates over f. 2011-04-27 18:10:05 +02:00
Éric Araujo
0abb8b74d9 Merge 3.2 2011-04-27 16:32:36 +02:00
Éric Araujo
7fb624fe51 Branch merge 2011-04-27 16:28:50 +02:00
Éric Araujo
944d16c6c4 Merge 3.1 2011-04-27 16:27:38 +02:00
Éric Araujo
19acb88baf Branch merge 2011-04-27 16:25:27 +02: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
Vinay Sajip
6bba65c799 Use correct Unix socket for syslogd on OS X. 2011-04-27 14:31:55 +01:00
Vinay Sajip
dbeb27461c test_logging: handle syslogd connection failure. 2011-04-27 14:18:06 +01:00
Vinay Sajip
5a35b06d5e test_logging coverage improvements. 2011-04-27 11:31:14 +01:00
Vinay Sajip
86a96cee23 Re-enabled time test in test_logging. 2011-04-27 08:30:30 +01:00
Ezio Melotti
9490af2150 #11763: merge with 3.2. 2011-04-27 10:21:51 +03:00
Ezio Melotti
edd117fd27 #11763: merge with 3.1. 2011-04-27 10:20:38 +03: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
793b531756 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
c40a350db0 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
Victor Stinner
66299a49f0 Fix compilation of _testembed.c without threads 2011-04-26 23:37:02 +02:00
Victor Stinner
8e4d407818 PyGILState_Ensure(), PyGILState_Release(), PyGILState_GetThisThreadState() are
not available if Python is compiled without threads.
2011-04-26 23:34:58 +02:00