Commit Graph

11044 Commits

Author SHA1 Message Date
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
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
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
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 c6f13db94a bump to 2.7.11rc1 2015-11-21 13:38:35 -08:00
Terry Jan Reedy a3ce2e5a05 Misc/NEWS entries for IDLE. 2015-11-21 13:18:50 -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
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
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
Martin Panter ef2b2f437e Issue #25590: Make rlcompleter only call getattr() once per attribute
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__).  This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
2015-11-13 22:47:00 +00:00
Serhiy Storchaka fedcf9474e Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now
rejects builtin types with not defined __new__.
2015-11-12 11:59:03 +02:00
Benjamin Peterson 10aaca9941 always set OP_NO_SSLv3 by default (closes #25530) 2015-11-11 22:38:41 -08:00
Benjamin Peterson 59d451d68f fix memory leak in _get_crl_dp (closes #25569)
Patch started by Stéphane Wirtel.
2015-11-11 22:07:38 -08:00
Serhiy Storchaka c54b8ceb91 Issue #7759: Fixed the mhlib module on filesystems that doesn't support
link counting for directories.
2015-11-11 17:33:12 +02:00
Serhiy Storchaka d0ee226396 Added missed periods at the ends of sentences in Misc/NEWS. 2015-11-10 00:31:41 +02:00
Victor Stinner e192d0bbb9 Issue #7267: format(int, 'c') now raises OverflowError when the argument is not
in range(0, 256).
2015-11-09 12:21:09 +01:00
Serhiy Storchaka da87e45add Issue #892902: Fixed pickling recursive objects. 2015-11-07 11:15:32 +02:00
Martin Panter 43415ba571 Issue #18010: Fix pydoc GUI search to handle package exceptions 2015-11-07 05:41:47 +00:00
doko@ubuntu.com c157347db2 Issue #12612: Add some Valgrind suppressions for 64-bit machines. 2015-11-05 20:41:57 +01:00
Serhiy Storchaka c72e66a048 Issue #25523: Backported a-to-an corrections. 2015-11-02 15:06:09 +02:00
Benjamin Peterson 09ba984364 always use os.urandom for the uuid4 algorithm (closes #25515) 2015-10-29 20:38:04 -07:00
Serhiy Storchaka fbe04b68af Issue #21827: Fixed textwrap.dedent() for the case when largest common
whitespace is a substring of smallest leading whitespace.
Based on patch by Robert Li.
2015-10-28 21:39:36 +02:00
Victor Stinner 15a43ed030 Issue #25461: Rephrase os.walk() doc
Patch written by Bernt Røskar Brenna.
2015-10-23 12:42:39 +02:00
Gregory P. Smith 7427a79e12 Issue #21709: Fix the logging module to not depend upon __file__ being set
properly to get the filename of its caller from the stack.  This allows it
to work if run in a frozen or embedded environment where the module's
.__file__ attribute does not match its code object's .co_filename.

This same much simpler always correct approach has already been deployed and
used widely in Python 3.4 per the issue referenced above.
2015-10-22 13:09:50 -07:00
Martin Panter 4ed35fc4f3 Issue #25161: Add full stops in documentation; patch by Takase Arihiro 2015-10-10 10:52:35 +00:00
Benjamin Peterson 77d12ecaad prevent unacceptable bases from becoming bases through multiple inheritance (#24806) 2015-10-06 19:36:54 -07:00
Benjamin Peterson 51cd53e152 reinitialize an Event's Condition with a regular lock (closes #25319) 2015-10-05 21:56:22 -07:00
Terry Jan Reedy 1b6333a05c Issue #24820: Update IDLE NEWS items. 2015-10-04 01:14:45 -04:00
Martin Panter 74c76c8f06 Issue #24657: Prevent CGIRequestHandler from collapsing the URL query
Initial patch from Xiang Zhang. Also fix out-of-date _url_collapse_path() doc
string.
2015-10-03 05:55:46 +00:00
Martin Panter cff22eb2bf Issue #25232: Fix CGIRequestHandler's splitting of URL query
Patch from Xiang Zhang.
2015-10-03 05:38:07 +00:00
Serhiy Storchaka e12f632186 Issue #24848: Fixed bugs in UTF-7 decoding of misformed data:
1. Non-ASCII bytes were accepted after shift sequence.
2. A low surrogate could be emitted in case of error in high surrogate.
2015-10-02 13:14:53 +03:00
Victor Stinner a87633e596 Issue #25003: os.urandom() doesn't use getentropy() on Solaris because
getentropy() is blocking, whereas os.urandom() should not block. getentropy()
is supported since Solaris 11.3.
2015-10-01 09:57:26 +02:00
Serhiy Storchaka f522bbc9c2 Issue #22958: Constructor and update method of weakref.WeakValueDictionary
now accept the self keyword argument.
2015-09-29 23:51:27 +03:00
Serhiy Storchaka cab4566c5a Issue #22609: Constructor and the update method of collections.UserDict now
accept the self keyword argument.
2015-09-29 23:33:03 +03:00
Terry Jan Reedy 6d49160fb6 Remove indent in news item. Error when building 3.x docs. 2015-09-29 01:00:25 -04:00
Terry Jan Reedy da10017de3 Add recent IDLE NEWS items. Move Build sectios down. 2015-09-28 23:38:46 -04:00
Serhiy Storchaka a8041ae565 Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.
2015-09-27 22:34:59 +03:00
Raymond Hettinger d2a4073db2 Issue #25135: Avoid possible reentrancy issues in deque_clear. 2015-09-26 00:52:57 -07:00
Steve Dower 044cde52f8 Issue #19143: platform module now reads Windows version from kernel32.dll to avoid compatibility shims. 2015-09-22 17:25:30 -07:00
Terry Jan Reedy 13b21f8889 Issue #16893: Add idlelib.help.copy_strip() to copy-rstrip Doc/.../idle.html.
Change destination to help.html.  Adjust NEWS entries.
2015-09-21 22:36:36 -04:00
Terry Jan Reedy 4dd7887710 Issue #24861: add Idle news items and correct previous errors. 2015-09-21 19:28:18 -04:00
Terry Jan Reedy 0eb8f01904 Add NEWS items for Idle. 2015-09-20 23:21:17 -04:00
Brett Cannon ab54ca7c4f Give proper credit for issue #24915 2015-09-18 15:11:26 -07:00