Nadeem Vawda
bafc6a9fca
Fix sporadic failure in test_startfile.
...
Wait for the child process to terminate before ending the test, so that the
regrtest cleanup code doesn't get an error when it tries to delete the
temporary CWD.
2011-04-19 01:35:58 +02:00
Victor Stinner
059061a237
Issue #11768 : signal.set_wakeup_fd() and PySignal_SetWakeupFd() added in 2.6
...
Fix the documentation.
2011-04-18 16:34:31 +02:00
Victor Stinner
33feeab598
(Merge 3.1) Issue #11768 : The signal handler of the signal module only calls
...
Py_AddPendingCall() for the first signal to fix a deadlock on reentrant or
parallel calls. PyErr_SetInterrupt() writes also into the wake up file.
2011-04-18 16:33:28 +02:00
Ezio Melotti
8e4eeef4ee
#11865 : fix typo in init.rst.
2011-04-18 10:11:21 +03:00
Raymond Hettinger
efeb8bdaa2
Rework multiset methods to use less memory and to make fewer calls to __hash__.
2011-04-17 20:08:41 -07:00
Martin v. Löwis
c116da04a9
merge 11442 NEWS
2011-04-17 23:01:13 +02:00
Martin v. Löwis
31e1b1f69c
merge 11442 NEWS
2011-04-17 22:56:19 +02:00
Martin v. Löwis
2d253dd9ea
Issue 11442: Add NEWS entry for e9724d7abbc2
2011-04-17 22:29:40 +02:00
Ezio Melotti
12125823fa
Fix a few hyphens in argparse.rst.
2011-04-16 23:04:51 +03:00
Eli Bendersky
ad72bb1aa8
Issue #11855 : Apply missing formatting for urlretrieve
2011-04-16 15:28:42 +03:00
Raymond Hettinger
df453fbb5f
Add another example to the collections module docs.
2011-04-15 17:55:36 -07:00
Raymond Hettinger
37c0fe56b9
Fix minor subclassing issue with collections.Counter
2011-04-15 13:12:21 -07:00
Ezio Melotti
65c620d0c7
#11843 : remove duplicate line from table in distutil doc.
2011-04-15 18:05:09 +03:00
Ezio Melotti
c283a85e12
Issue #5057 : fix a bug in the peepholer that led to non-portable pyc files between narrow and wide builds while optimizing BINARY_SUBSCR on non-BMP chars (e.g. u"\U00012345"[0]).
2011-04-15 16:14:04 +03:00
Senthil Kumaran
ddaea1c38a
Issue #11467 : Fix urlparse behavior when handling urls which contains scheme
...
specific part only digits. Patch by Santoso Wijaya.
2011-04-15 18:07:33 +08:00
Ezio Melotti
1bb18cc39e
#11848 : replace dead link in random.betavariate comment.
2011-04-15 08:25:16 +03:00
Ezio Melotti
6033d26118
#4783 : document that is not possible to use json.dump twice on the same stream.
2011-04-15 07:37:00 +03:00
Eli Bendersky
929e276176
Issue #11827 : remove mention of list2cmdline in the doc of subprocess
2011-04-15 07:35:06 +03:00
Senthil Kumaran
e57666a990
merge the changes.
2011-04-14 12:58:32 +08:00
Senthil Kumaran
a99b761972
Fix Issue11474 - url2pathname() handling of '/C|/' on Windows
2011-04-14 12:54:35 +08:00
Ezio Melotti
020f6508c1
#11840 : Improve c-api/unicode documentation. Patch by Sandro Tosi.
2011-04-14 07:39:06 +03:00
Ezio Melotti
7f9d2ead34
#9101 : backport json reference in configparser doc.
2011-04-14 06:53:44 +03:00
R David Murray
a2472d28fd
Transplant: Fix wording and clarify that the IDNA codec operates on full domain names.
...
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:20:30 -04:00
Raymond Hettinger
9b342c6fd4
Issue 3051: make pure python code pass the same tests as the C version.
2011-04-13 11:15:58 -07:00
Ezio Melotti
2b96f0987a
#9233 : Fix json.loads({}) to return a dict (instead of a list), when _json is not available.
2011-04-13 05:37:29 +03:00
Raymond Hettinger
179816df59
Issue 11718: Teach IDLE's open module dialog to find packages.
2011-04-12 18:54:46 -07:00
Senthil Kumaran
0531d6fba5
update news in 2.7 for Issue #11703
2011-04-13 09:47:20 +08:00
R David Murray
ea8b6ef15f
#10019 : Fix regression relative to 2.6: add newlines if indent=0
...
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:00:26 -04:00
Senthil Kumaran
49c440877e
Fix Issue11703 - urllib2.get_url does not handle fragment in url properly.
2011-04-13 07:31:45 +08:00
Raymond Hettinger
7c9d34722d
Issue 11747: Fix output format for context diffs.
2011-04-12 15:48:25 -07:00
Raymond Hettinger
d92232976e
Neaten-up the fix to issue 11830
2011-04-12 09:06:01 -07:00
Ezio Melotti
4ded0c0462
Remove unnecessary imports and use assertIs instead of assertTrue.
2011-04-12 16:06:43 +03:00
Ezio Melotti
1b93021214
#9233 : skip _json-specific tests when _json is not available.
2011-04-12 15:59:50 +03:00
Raymond Hettinger
9d2ad441b9
Use floor division operator instead of deprecated division operator.
2011-04-11 17:45:01 -07:00
Raymond Hettinger
e4579c3380
Issue #11830 : Remove unnecessary introspection code in the decimal module.
...
It was causing a failed import in the Turkish locale where the locale
sensitive str.upper() method caused a name mismatch.
2011-04-11 17:27:42 -07:00
brian.curtin
16f98b7658
Add NEWS item for #5162 .
2011-04-11 18:05:33 -05:00
brian.curtin
40b5316118
Fix #5162 . Allow child spawning from Windows services (via pywin32).
2011-04-11 18:00:59 -05:00
Ezio Melotti
e575f10c51
Remove unnecessary call to PyErr_Clear.
2011-04-11 03:45:25 +03:00
Ezio Melotti
8b4367ec10
#4877 : Fix a segfault in xml.parsers.expat while attempting to parse a closed file.
2011-04-11 03:44:28 +03:00
Antoine Pitrou
7dfc874a48
Issue #8428 : Fix a race condition in multiprocessing.Pool when terminating
...
worker processes: new processes would be spawned while the pool is being
shut down. Patch by Charles-François Natali.
2011-04-11 00:26:42 +02:00
Ned Deily
04cb72f968
Issue9670: Back out changeset b0d2b696da19; test fails on other platforms
...
and on OS X with pydebug.
2011-04-09 14:59:30 -07:00
Ned Deily
e427f0f432
Issue #9670 : Increase the default stack size for secondary threads on
...
Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(Patch by Ronald Oussoren)
2011-04-09 12:29:58 -07:00
Ross Lagerwall
fe2f1ad5b5
Issue #11719 : Fix message about unexpected test_msilib skip.
...
Patch by Nadeem Vawda.
2011-04-09 20:39:50 +02:00
Victor Stinner
5de51ac4c0
(Merge 3.1) Issue #11650 : PyOS_StdioReadline() retries fgets() if it was
...
interrupted (EINTR), for example if the program is stopped with CTRL+z on Mac
OS X. Patch written by Charles-Francois Natali.
2011-04-09 16:09:08 +02:00
Vinay Sajip
5dbca9cc3f
Issue #11794 : Reorganised logging documentation.
2011-04-08 11:40:38 +01:00
Barry Warsaw
ffc9caf9fe
Backport for Python 2.7 of issue 11715 support for building Python on
...
multiarch Debian/Ubuntu.
2011-04-07 11:28:11 -04:00
Antoine Pitrou
c2b0d76bf3
Issue #11766 : increase countdown waiting for a pool of processes to start
...
up. Hopefully fixes transient buildbot failures.
2011-04-06 22:54:14 +02:00
Senthil Kumaran
bb4e470dcd
hg pull/merge - Changes to accomodate.
2011-04-06 14:41:42 +08:00
Senthil Kumaran
792eb5dc84
Issue #10762 : Guard against invalid/non-supported format string '%f' on Windows. Patch Santoso Wijaya.
2011-04-06 14:27:47 +08:00
Alexander Belopolsky
07019bcaab
Issue #11576 : Fixed timedelta subtraction glitch on big timedelta values
2011-04-05 22:12:22 -04:00