Serhiy Storchaka
cb478b72a3
Issue #17767 : test_locale now works with unittest test discovery.
...
Original patch by Zachary Ware.
2013-07-17 13:26:48 +03:00
Serhiy Storchaka
880254e222
Issue #17767 : test_locale now works with unittest test discovery.
...
Original patch by Zachary Ware.
2013-07-17 13:23:45 +03:00
Victor Stinner
b8f602a60a
Issue #18408 : Mention changes in Misc/NEWS
2013-07-17 01:10:04 +02:00
Serhiy Storchaka
8361617fad
Issue #18448 : Fix a typo in Tools/demo/eiffel.py.
2013-07-16 22:14:03 +03:00
Serhiy Storchaka
6a98fe9edd
Issue #18448 : Fix a typo in Tools/demo/eiffel.py.
2013-07-16 22:12:03 +03:00
Serhiy Storchaka
c9b3f6f5ef
Issue #18457 : Fixed saving of formulas and complex numbers in Tools/demo/ss1.py.
...
Useed context managers for file I/O.
Removed out-of-dated code and misleading comments.
2013-07-16 21:58:37 +03:00
Serhiy Storchaka
ec7ddd9028
Issue #18457 : Fixed saving of formulas and complex numbers in Tools/demo/ss1.py.
...
Useed context managers for file I/O.
Removed out-of-dated code and misleading comments.
2013-07-16 21:55:36 +03:00
Richard Oudkerk
a84a7cb06b
Issue #17778 : Fix test discovery for test_multiprocessing. (Patch by
...
Zachary Ware.)
2013-07-16 15:57:16 +01:00
Richard Oudkerk
d15642e428
Issue #17778 : Fix test discovery for test_multiprocessing. (Patch by
...
Zachary Ware.)
2013-07-16 15:33:41 +01:00
Barry Warsaw
224a599c0c
- Issue #18440 : Clarify that `hash()` can truncate the value returned from an
...
object's custom `__hash__()` method.
2013-07-15 14:47:29 -04:00
Barry Warsaw
4958f714bd
- Issue #18440 : Clarify that `hash()` can truncate the value returned from an
...
object's custom `__hash__()` method.
2013-07-15 15:21:41 -04:00
Ronald Oussoren
0fedb37c47
Issue #18393 : Remove use of deprecated API on OSX
...
The "Gestalt" function on OSX is deprecated (starting with OSX 10.8),
remove its usage from the stdlib. The patch removes a number of private
functions and a private module, but does not change the public API.
The removed code was effectively dead, the platform module has used
other code to fetch the OSX version for years and could only use
on the Gestalt-based code as a fallback. That fallback can only trigger
on broken OSX installs (that is, someone has removed parts of the system
install)
2013-07-15 18:32:09 +02:00
Richard Oudkerk
9ba6962a04
Issue #18344 : Fix potential ref-leaks in _bufferedreader_read_all().
2013-07-15 16:10:28 +01:00
Richard Oudkerk
9ad51ec81b
Issue #18344 : Fix potential ref-leaks in _bufferedreader_read_all().
2013-07-15 16:05:22 +01:00
Nick Coghlan
24c05bc154
Close issue 17482: don't overwrite __wrapped__
2013-07-15 21:13:08 +10:00
Serhiy Storchaka
6180a2f453
Issue #18449 : Make Tools/demo/ss1.py work again on Python 3. Patch by
...
Févry Thibault.
2013-07-15 12:37:43 +03:00
Serhiy Storchaka
2670b9acb6
Issue #18449 : Make Tools/demo/ss1.py work again on Python 3. Patch by
...
Févry Thibault.
2013-07-15 12:34:17 +03:00
Raymond Hettinger
468bcaffd6
merge
2013-07-13 22:48:49 -07:00
Raymond Hettinger
889b92d3aa
Issue #18432 : Fix unintended API change in the sched module
2013-07-13 22:42:09 -07:00
Terry Jan Reedy
371f746bdc
Merge with 3.3
2013-07-13 02:35:07 -04:00
Terry Jan Reedy
4f133e2e98
Issue #18279 : Add tests for idlelib/RstripExtension.py. Original patch by
...
Phil Webster. With that available, modify RstripExtension.py to stop deleting
null slices, which caused a file to be marked as changed when it was not.
2013-07-13 02:34:43 -04:00
R David Murray
1f9d24a18d
Merge: #18431 : Decode encoded words in atoms in new email parser.
2013-07-12 16:01:10 -04:00
R David Murray
923512f327
#18431 : Decode encoded words in atoms in new email parser.
...
There is more to be done here in terms of accepting RFC invalid
input that some mailers accept, but this covers the valid
RFC places where encoded words can occur in structured headers.
2013-07-12 16:00:28 -04:00
Brett Cannon
ae95b4f7a5
Issue #17845 : Clarify the message setup.py prints upon successfully
...
building Python but having some optional module which didn't build.
Patch by Yogesh Chaudhari.
2013-07-12 11:30:32 -04:00
Brett Cannon
a79e4fb38d
Issue #18342 : Use the repr of a module name for ``from ... import
...
...`` when an ImportError occurs.
Other cases had already been switched over to using the repr.
Thanks to Tomasz Maćkowiak for the patch.
2013-07-12 11:22:26 -04:00
R David Murray
63194a774e
Merge: #18044 : Fix parsing of encoded words of the form =?utf8?q?=XX...?=
2013-07-11 15:58:07 -04:00
R David Murray
65171b28e7
#18044 : Fix parsing of encoded words of the form =?utf8?q?=XX...?=
...
The problem was I was only checking for decimal digits after the third '?',
not for *hex* digits :(.
This changeset also fixes a couple of comment typos, deletes an unused
function relating to encoded word parsing, and removed an invalid
'if' test from the folding function that was revealed by the tests
written to validate this issue.
2013-07-11 15:52:57 -04:00
Serhiy Storchaka
f9e6672ae8
Issue #17872 : Fix a segfault in marshal.load() when input stream returns
...
more bytes than requested.
2013-07-11 22:28:18 +03:00
Serhiy Storchaka
3641a74e1c
Issue #17872 : Fix a segfault in marshal.load() when input stream returns
...
more bytes than requested.
2013-07-11 22:20:47 +03:00
Serhiy Storchaka
50ae3f680b
Issue #18101 : Tcl.split() now process strings nested in a tuple as it
...
do with byte strings.
Added tests for Tcl.split() and Tcl.splitline().
2013-07-11 20:36:00 +03:00
Serhiy Storchaka
275d5fdbe4
Issue #18101 : Tcl.split() now process strings nested in a tuple as it
...
do with byte strings.
Added tests for Tcl.split() and Tcl.splitline().
2013-07-11 20:34:47 +03:00
Serhiy Storchaka
e3ed4edb94
Issue #18338 : `python --version` now prints version string to stdout, and
...
not to stderr. Patch by Berker Peksag and Michael Dickens.
2013-07-11 20:01:17 +03:00
Christian Heimes
5ec44649df
Issue #18426 : Fix NULL pointer dereference in C extension import when
...
PyModule_GetDef() returns an error.
2013-07-11 11:23:34 +02:00
Christian Heimes
848ee099f5
Issue #18426 : Fix NULL pointer dereference in C extension import when
...
PyModule_GetDef() returns an error.
2013-07-11 11:22:21 +02:00
R David Murray
16dbbae298
#18116 : getpass no longer always falls back to stdin.
...
Also fixes a resource warning that occurred when the fallback is taken.
Patch by Serhiy Storchaka.
(We couldn't figure out how to write tests for this.)
2013-07-10 17:02:24 -04:00
Ezio Melotti
9f96789cdc
#17198 : merge with 3.3.
2013-07-07 13:16:05 +02:00
Ezio Melotti
b08495bbcf
#17198 : Fix a NameError in the dbm module. Patch by Valentina Mukhamedzhanova.
2013-07-07 13:15:08 +02:00
Florent Xicluna
74a146d3ac
Merge #18013 : Fix cgi.FieldStorage to parse the W3C sample form.
2013-07-07 12:46:28 +02:00
Florent Xicluna
331c3fd874
Issue #18013 : Fix cgi.FieldStorage to parse the W3C sample form.
2013-07-07 12:44:28 +02:00
Ezio Melotti
4603487dc9
#18020 : improve html.escape speed by an order of magnitude. Patch by Matt Bryant.
2013-07-07 11:11:24 +02:00
Victor Stinner
24e33acf8c
Issue #17206 : On Windows, increase the stack size from 2 MB to 4.2 MB to fix
...
a stack overflow in the marshal module (fix a crash in test_marshal).
Patch written by Jeremy Kloth.
2013-07-07 02:49:07 +02:00
Victor Stinner
0507bf56f0
Issue #3329 : Implement the PEP 445
...
Add new enum:
* PyMemAllocatorDomain
Add new structures:
* PyMemAllocator
* PyObjectArenaAllocator
Add new functions:
* PyMem_RawMalloc(), PyMem_RawRealloc(), PyMem_RawFree()
* PyMem_GetAllocator(), PyMem_SetAllocator()
* PyObject_GetArenaAllocator(), PyObject_SetArenaAllocator()
* PyMem_SetupDebugHooks()
Changes:
* PyMem_Malloc()/PyObject_Realloc() now always call malloc()/realloc(), instead
of calling PyObject_Malloc()/PyObject_Realloc() in debug mode.
* PyObject_Malloc()/PyObject_Realloc() now falls back to
PyMem_Malloc()/PyMem_Realloc() for allocations larger than 512 bytes.
* Redesign debug checks on memory block allocators as hooks, instead of using C
macros
2013-07-07 02:05:46 +02:00
Brett Cannon
7e5d55705c
merge for issue #18351 .
2013-07-06 18:04:41 -04:00
Brett Cannon
a53cca3fea
Issue #18351 : Fix various issues with
...
importlib._bootstrap._get_sourcefile().
Thanks to its only use by the C API, it was never properly tested
until now.
Thanks to Neal Norwitz for discovering the bug and Madison May for the patch.
2013-07-06 17:56:43 -04:00
Ronald Oussoren
361b28dbd4
(3.3->default) Issue #12990 : The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
2013-07-06 13:25:44 +02:00
Ronald Oussoren
fd1c69e2a4
Issue #12990 : The "Python Launcher" on OSX could not launch python scripts that have paths that include wide characters.
2013-07-06 13:20:57 +02:00
Florent Xicluna
8624ed502f
Issue #18375 : merge with 3.3
2013-07-06 12:27:50 +02:00
Florent Xicluna
d9e7c86d7e
Issue #18375 : Assume --randomize when --randseed is used for running the testsuite.
2013-07-06 12:25:52 +02:00
Christian Heimes
6597aa16b6
Issue #18347 : ElementTree's html serializer now preserves the case of closing tags.
2013-07-05 01:40:52 +02:00
Christian Heimes
54ad7e39df
Issue #18347 : ElementTree's html serializer now preserves the case of closing tags.
2013-07-05 01:39:49 +02:00