]>
granicus.if.org Git - python/log
Senthil Kumaran [Thu, 18 Sep 2014 13:37:26 +0000 (21:37 +0800)]
merge from 3.4
Issue #16827: Make Interpreter introduction section of the tutorial more
focussed and move advanced section and customization information to a separate
file called appendix.
Patch credits: Jamayla Wiley, Ya-Ting Huang and James Brewer.
Senthil Kumaran [Thu, 18 Sep 2014 13:30:28 +0000 (21:30 +0800)]
Issue #16827: Make Interpreter introduction section of the tutorial more
focussed and move advanced section and customization information to a separate
file called appendix.
Patch credits: Jamayla Wiley, Ya-Ting Huang and James Brewer.
Berker Peksag [Thu, 18 Sep 2014 03:05:37 +0000 (06:05 +0300)]
Issue #14824: Update Repr.repr_TYPE documentation to use correct name mangling implementation.
Patch by Chris Rebert.
Berker Peksag [Thu, 18 Sep 2014 03:05:14 +0000 (06:05 +0300)]
Issue #14824: Update Repr.repr_TYPE documentation to use correct name mangling implementation.
Patch by Chris Rebert.
Berker Peksag [Thu, 18 Sep 2014 02:23:14 +0000 (05:23 +0300)]
Issue #21706: Add a versionchanged directive to the functional API docs.
Berker Peksag [Thu, 18 Sep 2014 02:11:15 +0000 (05:11 +0300)]
Issue #21391: Use os.path.abspath in the shutil module.
Antoine Pitrou [Thu, 18 Sep 2014 01:06:50 +0000 (03:06 +0200)]
Closes #11471: avoid generating a JUMP_FORWARD instruction at the end of an if-block if there is no else-clause.
Original patch by Eugene Toder.
Antoine Pitrou [Thu, 18 Sep 2014 00:42:05 +0000 (02:42 +0200)]
Issue #4180: The warnings registries are now reset when the filters are modified.
Antoine Pitrou [Thu, 18 Sep 2014 00:40:46 +0000 (02:40 +0200)]
Issue #4180: The warnings registries are now reset when the filters are modified.
Victor Stinner [Wed, 17 Sep 2014 21:24:39 +0000 (23:24 +0200)]
(Merge 3.4) asyncio, Tulip issue 206: In debug mode, keep the callback in the
representation of Handle and TimerHandle after cancel().
Victor Stinner [Wed, 17 Sep 2014 21:24:13 +0000 (23:24 +0200)]
asyncio, Tulip issue 206: In debug mode, keep the callback in the
representation of Handle and TimerHandle after cancel().
Senthil Kumaran [Wed, 17 Sep 2014 08:32:46 +0000 (16:32 +0800)]
Merge from 3.4
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
Senthil Kumaran [Wed, 17 Sep 2014 08:31:47 +0000 (16:31 +0800)]
Merge from 3.3
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
Senthil Kumaran [Wed, 17 Sep 2014 08:29:29 +0000 (16:29 +0800)]
Issue #22419: Limit the length of incoming HTTP request in wsgiref server to 65536 bytes.
Senthil Kumaran [Wed, 17 Sep 2014 05:19:34 +0000 (13:19 +0800)]
Merge from 3.4
Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.
Senthil Kumaran [Wed, 17 Sep 2014 05:19:01 +0000 (13:19 +0800)]
Merge from 3.3
Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.
Senthil Kumaran [Wed, 17 Sep 2014 05:17:58 +0000 (13:17 +0800)]
Issue #22421 - Secure pydoc server run. Bind it to localhost instead of all interfaces.
Ethan Furman [Wed, 17 Sep 2014 03:35:55 +0000 (20:35 -0700)]
Close issue21706: add 'start' parameter to functional API
Ethan Furman [Wed, 17 Sep 2014 02:14:00 +0000 (19:14 -0700)]
Issue21738: clarify usage of __new__ in Enum subclasses
Ethan Furman [Wed, 17 Sep 2014 02:13:31 +0000 (19:13 -0700)]
Issue21738: clarify usage of __new__ in Enum subclasses
Ethan Furman [Wed, 17 Sep 2014 02:02:30 +0000 (19:02 -0700)]
consistently use _name_ and _value_; patch from Kiss Gyorgy
Ethan Furman [Wed, 17 Sep 2014 00:31:23 +0000 (17:31 -0700)]
consistently use _name_ and _value_; patch from Kiss Gyorgy
Antoine Pitrou [Tue, 16 Sep 2014 22:40:13 +0000 (00:40 +0200)]
Replace bad ftp URLs in test_urllib2net
Antoine Pitrou [Tue, 16 Sep 2014 22:39:21 +0000 (00:39 +0200)]
Replace bad ftp URLs in test_urllib2net
Antoine Pitrou [Tue, 16 Sep 2014 22:27:26 +0000 (00:27 +0200)]
Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
Antoine Pitrou [Tue, 16 Sep 2014 22:25:57 +0000 (00:25 +0200)]
Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
Antoine Pitrou [Tue, 16 Sep 2014 22:23:55 +0000 (00:23 +0200)]
Lax cookie parsing in http.cookies could be a security issue when combined
with non-standard cookie handling in some Web browsers.
Reported by Sergey Bobrov.
Kushal Das [Tue, 16 Sep 2014 13:03:37 +0000 (18:33 +0530)]
Closes #21270 : We now override tuple methods in mock.call objects.
Nick Coghlan [Mon, 15 Sep 2014 11:55:16 +0000 (23:55 +1200)]
Merge fix for issue #22166 from 3.4
Nick Coghlan [Mon, 15 Sep 2014 11:50:44 +0000 (23:50 +1200)]
Issue #22166: clear codec caches in test_codecs
Łukasz Langa [Mon, 15 Sep 2014 09:10:01 +0000 (02:10 -0700)]
Closes #18159: ConfigParser getters not available on SectionProxy
Łukasz Langa [Mon, 15 Sep 2014 09:08:41 +0000 (02:08 -0700)]
Closes #18159: ConfigParser getters not available on SectionProxy
Serhiy Storchaka [Mon, 15 Sep 2014 08:33:55 +0000 (11:33 +0300)]
Restored re pickling test.
Serhiy Storchaka [Mon, 15 Sep 2014 08:33:19 +0000 (11:33 +0300)]
Restored re pickling test.
Łukasz Langa [Mon, 15 Sep 2014 06:37:03 +0000 (23:37 -0700)]
Fix full-stop whitespace in configparser docs
Ned Deily [Mon, 15 Sep 2014 02:21:05 +0000 (19:21 -0700)]
Issue #17095: merge from 3.4
Ned Deily [Mon, 15 Sep 2014 02:19:49 +0000 (19:19 -0700)]
Issue #17095: Temporarily revert getpath.c change that added the Modules
directory to sys.path when running from a build directory. That has
proven to be problematic for several standard library modules with
C extension modules whose builds can fail on some platforms.
Vinay Sajip [Sun, 14 Sep 2014 20:29:11 +0000 (21:29 +0100)]
Closes #20537: logging methods now accept an exception instance as well as a Boolean value or exception tuple. Thanks to Yury Selivanov for the patch.
Serhiy Storchaka [Sun, 14 Sep 2014 18:18:31 +0000 (21:18 +0300)]
Issue #22384: An exception in Tkinter callback no longer crashes the program
when it is run with pythonw.exe.
Documented that Tk.report_callback_exception() is purposed to be overriden in
applications.
Serhiy Storchaka [Sun, 14 Sep 2014 18:17:32 +0000 (21:17 +0300)]
Issue #22384: An exception in Tkinter callback no longer crashes the program
when it is run with pythonw.exe.
Documented that Tk.report_callback_exception() is purposed to be overriden in
applications.
Serhiy Storchaka [Sun, 14 Sep 2014 13:21:27 +0000 (16:21 +0300)]
Use more appropriate asserts in re tests.
Serhiy Storchaka [Sun, 14 Sep 2014 13:20:20 +0000 (16:20 +0300)]
Use more appropriate asserts in re tests.
Serhiy Storchaka [Sun, 14 Sep 2014 12:57:01 +0000 (15:57 +0300)]
Fixed re tests incorrectly ported from 2.x to 3.x.
Serhiy Storchaka [Sun, 14 Sep 2014 12:56:27 +0000 (15:56 +0300)]
Fixed re tests incorrectly ported from 2.x to 3.x.
Ned Deily [Sun, 14 Sep 2014 06:40:27 +0000 (23:40 -0700)]
Issue #22168: Prevent turtle AttributeError with non-default Canvas on OS X.
Ned Deily [Sun, 14 Sep 2014 06:39:16 +0000 (23:39 -0700)]
Issue #22168: Prevent turtle AttributeError with non-default Canvas on OS X.
Benjamin Peterson [Sat, 13 Sep 2014 05:45:50 +0000 (01:45 -0400)]
merge 3.4
Benjamin Peterson [Sat, 13 Sep 2014 05:44:34 +0000 (01:44 -0400)]
make hg link secure
Yury Selivanov [Fri, 12 Sep 2014 19:48:02 +0000 (15:48 -0400)]
inspect.Signature: Fix discrepancy between __eq__ and __hash__.
Issue #20334. Thanks to Antony Lee for bug report & initial patch.
Brett Cannon [Fri, 12 Sep 2014 14:39:48 +0000 (10:39 -0400)]
Issue #16104: Allow compileall to do parallel bytecode compilation.
Both compileall.compile_dir() and the CLI for compileall now allow for
specifying how many workers to use (or 0 to use all CPUs).
Thanks to Claudiu Popa for the patch.
Vinay Sajip [Thu, 11 Sep 2014 22:08:48 +0000 (23:08 +0100)]
Closes #22386: merged fix from 3.4.
Vinay Sajip [Thu, 11 Sep 2014 22:06:09 +0000 (23:06 +0100)]
Issue #22386: fixed regression.
Victor Stinner [Thu, 11 Sep 2014 15:50:21 +0000 (17:50 +0200)]
Closes #22336: attemptckalloc() with PyMem_Malloc() in _tkinter
The PyMem_Malloc(size) function has a well defined behaviour: if size is 0, a
pointer different than NULL is returned. PyMem_Malloc() allocations are
tracked by tracemalloc, attemptckalloc() allocations are not tracked.
Serhiy Storchaka [Thu, 11 Sep 2014 11:33:02 +0000 (14:33 +0300)]
Issue #13968: Fixed newly added recursive glob test.
It was failed when run with non-empty current directory.
Serhiy Storchaka [Thu, 11 Sep 2014 10:30:48 +0000 (13:30 +0300)]
Issue #21147: sqlite3 now raises an exception if the request contains a null
character instead of truncate it. Based on patch by Victor Stinner.
Serhiy Storchaka [Thu, 11 Sep 2014 10:29:05 +0000 (13:29 +0300)]
Issue #21147: sqlite3 now raises an exception if the request contains a null
character instead of truncate it. Based on patch by Victor Stinner.
Serhiy Storchaka [Thu, 11 Sep 2014 09:17:37 +0000 (12:17 +0300)]
Issue #13968: The glob module now supports recursive search in
subdirectories using the "**" pattern.
Serhiy Storchaka [Thu, 11 Sep 2014 07:58:02 +0000 (10:58 +0300)]
Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command with
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
Serhiy Storchaka [Thu, 11 Sep 2014 07:57:13 +0000 (10:57 +0300)]
Issue #21951: Fixed a crash in Tkinter on AIX when called Tcl command with
empty string or tuple argument.
On some platforms Tcl memory allocator returns NULL when allocating zero-sized
block of memory.
Serhiy Storchaka [Thu, 11 Sep 2014 07:40:44 +0000 (10:40 +0300)]
Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL
if the memory allocation fails.
Serhiy Storchaka [Thu, 11 Sep 2014 07:38:54 +0000 (10:38 +0300)]
Issue #21951: Use attemptckalloc() instead of ckalloc() in Tkinter.
ckalloc() causes the Tcl interpreter to panic, attemptckalloc() returns NULL
if the memory allocation fails.
Victor Stinner [Wed, 10 Sep 2014 21:32:36 +0000 (23:32 +0200)]
(Merge 3.4) Issue #22338: Fix a crash in the json module on memory allocation
failure.
Victor Stinner [Wed, 10 Sep 2014 21:31:42 +0000 (23:31 +0200)]
Issue #22338: Fix a crash in the json module on memory allocation failure.
Benjamin Peterson [Wed, 10 Sep 2014 21:13:36 +0000 (17:13 -0400)]
merge 3.4 (#22380)
Benjamin Peterson [Wed, 10 Sep 2014 21:13:06 +0000 (17:13 -0400)]
y2k compliance, lol (closes #22380)
Serhiy Storchaka [Wed, 10 Sep 2014 20:45:42 +0000 (23:45 +0300)]
Issue #22369: Change "context manager protocol" to "context management protocol".
Serhiy Storchaka [Wed, 10 Sep 2014 20:43:41 +0000 (23:43 +0300)]
Issue #22369: Change "context manager protocol" to "context management protocol".
Stefan Krah [Wed, 10 Sep 2014 16:00:46 +0000 (18:00 +0200)]
Whitespace.
Stefan Krah [Wed, 10 Sep 2014 15:58:15 +0000 (17:58 +0200)]
Issue #19232: Speed up decimal import. Additionally, since _decimal is
self-contained, this change facilitates maintenance and the Python version
can be easily imported for experimentation.
Stefan Krah [Tue, 9 Sep 2014 17:57:59 +0000 (19:57 +0200)]
Issue #22284: Merge 3.4
Stefan Krah [Tue, 9 Sep 2014 17:56:56 +0000 (19:56 +0200)]
Issue #22284: Update decimal.__all__
Serhiy Storchaka [Tue, 9 Sep 2014 16:07:49 +0000 (19:07 +0300)]
imaplib.IMAP4 now supports the context manager protocol.
Original patch by Tarek Ziadé.
Barry Warsaw [Mon, 8 Sep 2014 21:29:02 +0000 (17:29 -0400)]
A few tweaks for issue16662 based on feedback from Robert Collins.
Barry Warsaw [Mon, 8 Sep 2014 18:21:37 +0000 (14:21 -0400)]
- Issue #16662: load_tests() is now unconditionally run when it is present in
a package's __init__.py. TestLoader.loadTestsFromModule() still accepts
use_load_tests, but it is deprecated and ignored. A new keyword-only
attribute `pattern` is added and documented. Patch given by Robert Collins,
tweaked by Barry Warsaw.
Benjamin Peterson [Sat, 6 Sep 2014 21:24:35 +0000 (17:24 -0400)]
merge 3.4 (#22349)
Benjamin Peterson [Sat, 6 Sep 2014 21:24:12 +0000 (17:24 -0400)]
remove various dead version checks (closes #22349)
Patch from Thomas Kluyver.
Serhiy Storchaka [Sat, 6 Sep 2014 19:49:07 +0000 (22:49 +0300)]
Issue #22226: Added private function _splitdict() in the Tkinter module.
First letter no longer is stripped from the "status" key in
the result of Treeview.heading().
Serhiy Storchaka [Sat, 6 Sep 2014 19:47:58 +0000 (22:47 +0300)]
Issue #22226: Added private function _splitdict() in the Tkinter module.
First letter no longer is stripped from the "status" key in
the result of Treeview.heading().
Serhiy Storchaka [Sat, 6 Sep 2014 19:18:35 +0000 (22:18 +0300)]
Null merge
Serhiy Storchaka [Sat, 6 Sep 2014 19:17:24 +0000 (22:17 +0300)]
Issue #22131: Fixed a bug in handling an error occured during reading from
a pipe in _ipconfig_getnode().
Serhiy Storchaka [Sat, 6 Sep 2014 19:14:04 +0000 (22:14 +0300)]
Issue #22131: Modernized the code of the uuid module.
Optimized bytes and bytes_le properties of UUID and UUID constructor with
bytes_le argument.
Fixed a bug in handling an error occured during reading from a pipe in
_ipconfig_getnode().
Serhiy Storchaka [Sat, 6 Sep 2014 18:43:49 +0000 (21:43 +0300)]
Issue #19524: Fixed resource leak in the HTTP connection when an invalid
response is received. Patch by Martin Panter.
Serhiy Storchaka [Sat, 6 Sep 2014 18:41:39 +0000 (21:41 +0300)]
Issue #19524: Fixed resource leak in the HTTP connection when an invalid
response is received. Patch by Martin Panter.
Serhiy Storchaka [Sat, 6 Sep 2014 17:07:17 +0000 (20:07 +0300)]
Issue #22215: Now ValueError is raised instead of TypeError when str or bytes
argument contains not permitted null character or byte.
Nick Coghlan [Sat, 6 Sep 2014 10:40:00 +0000 (20:40 +1000)]
Merge issue #22295 fix from 3.4
Nick Coghlan [Sat, 6 Sep 2014 10:38:23 +0000 (20:38 +1000)]
Issue #22295: Adopt 'python -m pip' as the preferred invocation
Nick Coghlan [Sat, 6 Sep 2014 09:44:41 +0000 (19:44 +1000)]
Null merge from 3.4 backport
Nick Coghlan [Sat, 6 Sep 2014 09:43:06 +0000 (19:43 +1000)]
Issue #22346: also include asyncio PEP 411 notice in 3.4
Guido van Rossum [Sat, 6 Sep 2014 02:28:40 +0000 (19:28 -0700)]
Add PEP-411-compliant note about asyncio being provisional. Fixes issue #22346.
Ned Deily [Fri, 5 Sep 2014 22:57:54 +0000 (15:57 -0700)]
Keep Mac/build-installer.py in sync across branches (affects 2.7 only).
Ned Deily [Fri, 5 Sep 2014 22:57:05 +0000 (15:57 -0700)]
Keep Mac/build-installer.py in sync across branches (affects 2.7 only).
Serhiy Storchaka [Fri, 5 Sep 2014 20:28:19 +0000 (23:28 +0300)]
Issue #20643: Removed unneeded (and wrong) class directives.
Serhiy Storchaka [Fri, 5 Sep 2014 20:27:36 +0000 (23:27 +0300)]
Issue #20643: Removed unneeded (and wrong) class directives.
Serhiy Storchaka [Fri, 5 Sep 2014 08:01:43 +0000 (11:01 +0300)]
Issue #22221: Add tests for compile() with source encoding cookie.
Serhiy Storchaka [Fri, 5 Sep 2014 08:00:56 +0000 (11:00 +0300)]
Issue #22221: Add tests for compile() with source encoding cookie.
Serhiy Storchaka [Fri, 5 Sep 2014 07:10:23 +0000 (10:10 +0300)]
Silenced some warnings about comparison between signed and unsigned integer
expressions.
Terry Jan Reedy [Fri, 5 Sep 2014 01:00:52 +0000 (21:00 -0400)]
Merge with 3.4
Terry Jan Reedy [Fri, 5 Sep 2014 00:59:41 +0000 (20:59 -0400)]
Issue #21933: Make Control-Mousewhell only change font size and not also scroll.
Original patch by Serhiy Storchaka.
Victor Stinner [Thu, 4 Sep 2014 23:10:29 +0000 (01:10 +0200)]
Issue #22290: PyObject_Call() now fails with an assertion error when called
with an exception set. This new assertion helps to understand if the exception
was already set before calling the function or raised by the function.
Antoine Pitrou [Thu, 4 Sep 2014 19:00:10 +0000 (21:00 +0200)]
Issue #20421: Add a .version() method to SSL sockets exposing the actual protocol version in use.