Antoine Pitrou
96f2053b13
Backed out changeset ee51e3aef302 - it broke the test suite
2012-06-29 21:53:29 +02:00
Senthil Kumaran
97ac4a292e
urlparse cleanup. rename keywords used as variables
2012-06-29 11:07:27 -07:00
Petri Lehtinen
d07de40490
#5346 : Preserve permissions of mbox, MMDF and Babyl mailbox files on flush()
2012-06-29 15:09:16 +03:00
Petri Lehtinen
4e6e5a06bb
#9559 : Don't call _pre_mailbox_hook more than once
2012-06-29 13:43:45 +03:00
Senthil Kumaran
9d5d507322
urlparse docs clean up
2012-06-28 21:07:32 -07:00
Antoine Pitrou
d9a5137742
Issue #5067 : improve some json error messages.
...
Patch by Serhiy Storchaka.
2012-06-29 01:58:26 +02:00
Amaury Forgeot d'Arc
d958cc960f
Issue #15219 : Fix a reference leak when hashlib.new() is called with
...
invalid parameters.
2012-06-29 01:42:46 +02:00
Petri Lehtinen
45f0d9835c
#9559 : Append data to single-file mailbox files if messages are only added
...
If messages were only added, a new file is no longer created and
renamed over the old file when flush() is called on an mbox, MMDF or
Babyl mailbox.
2012-06-28 13:49:37 +03:00
Antoine Pitrou
8c368efa55
Regrtest option "-n" doesn't exist in 2.7.
2012-06-27 18:23:40 +02:00
Antoine Pitrou
cf807c04a3
Flush stdout and stderr when running tests in parallel
...
(helps getting results in real-time when stdio is transmitted over a pipe or socket)
2012-06-27 17:41:07 +02:00
Antoine Pitrou
3a121561b7
Allow passing extra testing options to the buildbot test scripts
2012-06-27 17:27:21 +02:00
Senthil Kumaran
189bd91255
issue13666 - Fixing datetime documentation example when using tzinfo
2012-06-26 20:05:12 +08:00
Gregory P. Smith
b2ac4d693a
Fixes issue #12268 for file readline, readlines and read() and readinto methods.
...
They no longer lose data when an underlying read system call is interrupted.
IOError is no longer raised due to a read system call returning EINTR from
within these methods.
2012-06-25 20:57:36 -07:00
Antoine Pitrou
ed04f42b99
Try to fix failure of a Windows buildbot to capture name resolution errors.
2012-06-26 00:48:59 +02:00
Vinay Sajip
c14bae47b8
Issue #15179 : Closed socket on connection failure. Thanks to Kazutaka Morita for the patch.
2012-06-25 23:17:07 +01:00
Stefan Krah
ea1eda2a29
Issue #15170 : Try the HOST_PYTHON hack for 2.7.
2012-06-25 15:20:51 +02:00
Charles-François Natali
65dd745fec
Remove useless test (flowinfo is unsigned).
2012-06-23 10:06:56 +02:00
Alexander Belopolsky
83ae8beb08
Fixed the name of the 'email.Utils' module in tests.
2012-06-22 10:38:48 -04:00
Alexander Belopolsky
e99d3a160c
Issue #14653 : email.utils.mktime_tz() no longer relies on system
...
mktime() when timezone offest is supplied.
2012-06-21 20:57:39 -04:00
Hynek Schlawack
9bd4bf2a3d
#10053 : Don't close FDs when FileIO.__init__ fails
...
Loosely based on the work by Hirokazu Yamamoto.
2012-06-21 19:45:19 +02:00
Richard Oudkerk
4215d2738a
Issue #15101 : Make pool finalizer avoid joining current thread
2012-06-18 15:37:31 +01:00
Petri Lehtinen
48ee6908bc
Fix NEWS entry for #15036
2012-06-18 10:42:08 +03:00
Ezio Melotti
f637920652
#14840 : Add a bit on the difference between tuples and lists. Initial patch by Zachary Ware.
2012-06-17 14:10:59 +02:00
Nick Coghlan
a093312871
Issue #15043 : skip test_gdb if the custom hooks can't be loaded (backport from 3.x)
2012-06-17 19:03:39 +10:00
Nick Coghlan
970fcef84b
Issue #15044 : Handle Fedora 17's approach to ndbm compatibility (backport from 3.x)
2012-06-17 18:35:39 +10:00
Meador Inge
43f42fc3cb
Issue #15054 : Fix incorrect tokenization of 'b' and 'br' string literals.
...
Patch by Serhiy Storchaka.
2012-06-16 21:05:50 -05:00
Petri Lehtinen
7cf6699699
#15036 : Make a repeated changes and flushes work with single-file mailboxes
2012-06-15 20:50:51 +03:00
Antoine Pitrou
5ec84cd69e
Issue #14933 : fix misleading doc about weakref support in extension types.
2012-06-15 19:11:31 +02:00
Antoine Pitrou
884fb1c831
Skip test_bigmem.test_unicode_repr_oflw, since it crashes (issue #14904 ).
2012-06-15 18:33:48 +02:00
Sandro Tosi
771d98d694
Issue #15060 : better fix, thanks to review on #python-dev
2012-06-14 00:36:54 +02:00
Sandro Tosi
89539e8268
Issue #15060 : fix typo in socket doc; Patch by anatoly techtonik
2012-06-13 23:58:35 +02:00
Richard Oudkerk
926f58df57
Issue #10133 : Make multiprocessing deallocate buffer if socket read fails.
...
Patch by Hallvard B Furuseth.
2012-06-11 15:11:35 +01:00
Raymond Hettinger
0c2c692b84
Minor formatting fix=up
2012-06-09 17:27:23 -07:00
Raymond Hettinger
3395fda928
Wrap fat lines and improve some variable names.
2012-06-09 13:04:29 -07:00
Raymond Hettinger
491f7070f1
Code cleanups
2012-06-08 13:24:12 -07:00
R David Murray
1eda5c9a83
#8652 : update errors tutorial.
...
The tutorial had some outdated examples. The patch also adds a caution
about the meaning of parens in the except statement.
Patch by Marien Zwart.
2012-06-07 21:46:44 -04:00
Terry Jan Reedy
5525eb77fa
NEWS fixes
2012-06-07 19:50:30 -04:00
Richard Oudkerk
2182e0578c
Issue #13854 : Properly handle non-integer, non-string arg to SystemExit
...
Previously multiprocessing only expected int or str. It also wrongly
used an exit code of 1 when the argument was a string instead of zero.
2012-06-06 19:01:14 +01:00
Richard Oudkerk
d44a4a27a6
Issue #12157 : pool.map() does not handle empty iterable correctly
...
Initial patch by mouad
2012-06-06 17:52:18 +01:00
Nick Coghlan
0a09f3e2c3
Nudge readers towards a more accurate mental model for loop else clauses (Backport from 3.x)
2012-06-07 22:57:35 +10:00
Terry Jan Reedy
e93bc51b59
Issue 12510: Expand 2 bare excepts. Improve comments. Change deceptive name
...
'name' to 'expression' as the latter is what the string actually represents.
The bug in this issue was only catching NameError and AttributeError when
evaluating an expression that was not necessarily a name.
2012-06-03 00:58:36 -04:00
Terry Jan Reedy
f0775131f9
Issue 10365: Add and replace comments; condense defaulted attribute access.
...
Code patch by Roger Serwy.
2012-06-02 20:22:35 -04:00
Sandro Tosi
fd4c4b1e01
backport c4bd68be5fc6 to 2.7
2012-06-02 23:40:59 +02:00
Sandro Tosi
5fae78c09d
refer to time.strftime
2012-06-02 18:21:06 +02:00
R David Murray
de738a1b82
#14957 : fix doc typo.
2012-06-02 11:21:31 -04:00
Raymond Hettinger
aad5b02e62
Improve tooltips for splitlines() by showing that the default for keepends is False.
2012-06-02 01:42:58 -04:00
R David Murray
4fbf7c61fe
#14957 : clarify splitlines docs.
...
Initial patch by Michael Driscoll, I added the example.
2012-06-01 16:21:06 -04:00
Ned Deily
5e247b705e
Issue #14962 : Update text coloring in IDLE shell window after changing
...
options. Patch by Roger Serwy.
2012-05-31 09:17:29 -07:00
Vinay Sajip
c3ea4085f9
Changed comment on test skip.
2012-05-31 12:35:13 +01:00
Ned Deily
7148984d61
Issue #10997 : Prevent a duplicate entry in IDLE's "Recent Files" menu.
2012-05-29 10:42:34 -07:00