Commit Graph

79230 Commits

Author SHA1 Message Date
Victor Stinner 3c8ef8f100 Issue #25742: Try to fix test_locale on Windows 2015-11-29 16:33:18 +01:00
Serhiy Storchaka d26b66313e Got rid of "with" for compatibility test_xpickle with Python 2.5. 2015-11-29 16:13:51 +02:00
Serhiy Storchaka bf19ce27c4 Issue #25761: Added more test cases for testing unpickling broken data.
Output raised exception at verbose level 2 (-vv).
2015-11-29 13:12:40 +02:00
Victor Stinner e08496b62d Closes #25742: locale.setlocale() now accepts a Unicode string for its second
parameter.
2015-11-27 23:54:36 +01:00
Zachary Ware 916c7c7ae1 Issue #23914: Fix test_xpickle with python 2.4 and 2.5
Remove 'b' prefix from strings, remove unused import.
2015-11-27 01:21:51 -06:00
Serhiy Storchaka 9baa56883a Issue #10131: Fixed deep copying of minidom documents. Based on patch
by Marian Ganisin.
2015-11-26 23:48:30 +02:00
Martin Panter 929e363a7b Issue #25622: Rename to PythonValuesTestCase and enable for non-Windows 2015-11-26 02:36:26 +00:00
Serhiy Storchaka b5b76c370b Fixed compilation error introduced in 745fd5550bc0. 2015-11-26 11:21:47 +02:00
Serhiy Storchaka c4c64be1b8 Issue #19687: Fixed possible integer overflows in ElementTree.
Based on patch by Christian Heimes.
2015-11-25 20:12:58 +02:00
Serhiy Storchaka ee1b24ccaa Issue #24097: Fixed crash in object.__reduce__() if slot name is freed inside
__getattr__.  Original patch by Antoine Pitrou.
2015-11-25 18:35:33 +02:00
Serhiy Storchaka 282e831a5a Issue #25616: Tests for OrderedDict are extracted from test_collections
into separate file test_ordered_dict.
2015-11-25 17:19:27 +02:00
Serhiy Storchaka 1121b5e6a9 Issue #25703: Skip test_43581 if one of stdout or stderr is redirected. 2015-11-25 16:20:04 +02:00
Serhiy Storchaka 8addf280a9 Issue #25697: Fixed rough alphabetical order in Misc/ACKS. 2015-11-25 16:13:56 +02:00
Serhiy Storchaka 8d30ad7c8a Issue #24731: Fixed crash on converting objects with special methods
__str__, __trunc__, and __float__ returning instances of subclasses of
str, long, and float to subclasses of str, long, and float correspondingly.
2015-11-25 15:55:54 +02:00
Serhiy Storchaka 80767a38c7 Issue #25725: Fixed a reference leak in cPickle.loads() when unpickling
invalid data including tuple instructions.
2015-11-25 15:07:49 +02:00
Vinay Sajip c9625c8e4b Issue #25508: Clarify documentation on LogRecord args attribute. 2015-11-24 23:18:30 +00:00
Raymond Hettinger d2f0726f86 Fix non-ascii character 2015-11-23 21:00:45 -08:00
Raymond Hettinger 5fda2f6fb7 Add a missing docstring 2015-11-23 20:47:05 -08:00
Martin Panter 96bc1757ce Issue #25663: Make rlcompleter avoid duplicate global names 2015-11-23 23:50:26 +00:00
Serhiy Storchaka b3d8b59426 Issue #25688: Fixed file leak in ElementTree.iterparse() raising an error. 2015-11-23 15:46:36 +02:00
Serhiy Storchaka 5c137669e3 Issue #23914: Fixed SystemError raised by unpickler on broken pickle data. 2015-11-23 15:20:43 +02:00
Serhiy Storchaka 1456c98493 Issue #25691: Added tests on deleting cElementTree.Element attributes. 2015-11-23 08:50:20 +02:00
Benjamin Peterson 71f8dd7402 rm duplicate entry 2015-11-22 19:05:29 -08:00
Benjamin Peterson b37d9b4604 merge 2.7.11 release branch 2015-11-22 19:05:14 -08:00
Benjamin Peterson 5323ed3424 Issue #25624: ZipFile now always writes a ZIP_STORED header for directory entries. Patch by Dingyuan Wang. 2015-11-22 19:04:56 -08:00
Serhiy Storchaka 37c02acb6f Issue #25624: ZipFile now always writes a ZIP_STORED header for directory
entries.  Patch by Dingyuan Wang.
2015-11-22 14:56:22 +02:00
Serhiy Storchaka a0ae9ff006 Issue #19687: Fixed memory leak on failed Element slice assignment. 2015-11-22 12:31:11 +02:00
Benjamin Peterson 4d04361bd5 news section for 2.7.12 2015-11-21 18:39:07 -08:00
Benjamin Peterson 85592c9c80 post rc1 updates 2015-11-21 18:38:18 -08:00
Benjamin Peterson 6a93913d7a Added tag v2.7.11rc1 for changeset 82dd9545bd93 2015-11-21 13:38:43 -08:00
Benjamin Peterson c6f13db94a bump to 2.7.11rc1 2015-11-21 13:38:35 -08:00
Benjamin Peterson 241282bac6 update pydoc-topics 2015-11-21 13:35:41 -08:00
Terry Jan Reedy e4679e40f5 Update idlelib/NEWS.txt. 2015-11-21 13:31:00 -05:00
Terry Jan Reedy a3ce2e5a05 Misc/NEWS entries for IDLE. 2015-11-21 13:18:50 -05:00
Serhiy Storchaka 1a31cba464 Issue #25686: test_shutil no longer uses the distutils package for running
external archivers.
2015-11-21 14:11:57 +02:00
Terry Jan Reedy 76ced99721 Issue 15348: Stop debugger engine (normally in user process)
before closing debugger window in IDLE process.
This prevents one-per-line RuntimeErrors.
2015-11-21 00:04:58 -05:00
Terry Jan Reedy 89bdf373c4 Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.
2015-11-20 19:36:38 -05:00
Serhiy Storchaka 6156560e4b Issue #25678: Copy buffer objects to null-terminated strings.
Avoid buffer overreads when int(), long(), float(), and compile()
are passed buffer objects.  Similar code is removed from the
complex() constructor, where it was not reachable.

Patch backported from issue #24802 by Eryk Sun.
2015-11-20 21:56:21 +02:00
Terry Jan Reedy 815ab14030 Make it slightly clearer that IDLE close message is referring to user program,
not to IDLE itself.
2015-11-20 12:21:40 -05:00
Nick Coghlan 2a6c2c9baa Close #10128: don't rerun __main__.py in multiprocessing
- backports issue #10845's mitigation of incompatibilities between
  the multiprocessing module and directory and zipfile execution
- Multiprocessing on Windows will now automatically skip rerunning top
  level __main__.py modules in spawned processes, rather than failing
  with AssertionError
2015-11-19 12:59:39 +10:00
Martin Panter 402803b642 Issue #23200: Document that max_length=0 is not supported 2015-11-18 00:59:17 +00:00
Martin Panter 793ae0d0ae Issue #20468: Remove incorrect information about maxrss and page size
Extract of patch by Ronald Oussoren.
2015-11-17 22:13:47 +00:00
Martin Panter a5d1cf3221 Issue #25615: Document unsorted behaviour of glob; patch by Dave Jones 2015-11-16 23:46:22 +00:00
Terry Jan Reedy f7999fc23f Issue #24750: whitespace 2015-11-16 07:36:12 -05:00
Terry Jan Reedy 3d0962222c Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.
2015-11-16 07:32:19 -05:00
Benjamin Peterson 93ed946dd9 rm trailing ws 2015-11-14 15:12:38 -08:00
Benjamin Peterson c591936789 fix possible memory lea k in _get_aia_uri (closes #25578) 2015-11-14 15:12:18 -08:00
Serhiy Storchaka 5d7d26c403 Issue #25388: Fixed tokenizer hang when processing undecodable source code
with a null byte.
2015-11-14 15:14:29 +02:00
Benjamin Peterson b1c1e673cb fix build with older openssl (#25569) 2015-11-14 00:09:22 -08:00
Martin Panter 5118f7b9af Issue #25017: Document that htmllib is superseded by module HTMLParser 2015-11-14 00:30:46 +00:00