Commit Graph

87645 Commits

Author SHA1 Message Date
Benjamin Peterson 2292defb3d merge 3.4 (#16561) 2014-11-27 20:41:36 -06:00
Serhiy Storchaka 0a99b2ab61 Issue #21280: Fixed a bug in shutil.make_archive() when create an archive of
current directory in current directory.
2014-11-28 00:49:50 +02:00
Serhiy Storchaka f1fc9fb33d Issue #22314: pydoc now works when the LINES environment variable is set. 2014-11-28 00:11:07 +02:00
Serhiy Storchaka 5916d53032 Issue #22915: SAX parser now supports files opened with file descriptor or
bytes path.
2014-11-27 22:14:30 +02:00
Serhiy Storchaka 715f01b565 Issue #21514: The documentation of the json module now refers to new JSON RFC
7159 instead of obsoleted RFC 4627.
2014-11-27 19:45:31 +02:00
Serhiy Storchaka f51f713f30 Issue #22609: Revert changes in UserDict. They conflicted with existing tests. 2014-11-27 17:46:15 +02:00
Serhiy Storchaka 8943ecfab2 Issue #22609: Constructors and update methods of mapping classes in the
collections module now accept the self keyword argument.
2014-11-27 16:35:26 +02:00
Zachary Ware f25e3bfefa Merge with 3.4 2014-11-26 23:56:10 -06:00
Ethan Furman 9b55089999 Issue22780: reword NotImplemented docs to emphasise should 2014-11-26 21:17:53 -08:00
Benjamin Peterson 0a59d5563e merge 3.4 (#22954) 2014-11-26 23:03:34 -06:00
Zachary Ware 9b4cc6bc6b Merge with 3.4 2014-11-26 22:58:25 -06:00
Ned Deily 8007cbc4d5 Issue 22940: fixes to editline support 2014-11-26 13:02:33 -08:00
Benjamin Peterson 3663b58664 correct assertion 2014-11-26 14:39:54 -06:00
Benjamin Peterson 12abc86903 merge 3.4 2014-11-26 14:36:08 -06:00
Benjamin Peterson d1e22ba7db only support append_history if readline has it 2014-11-26 14:35:12 -06:00
Benjamin Peterson 810aa6db34 fix variable name 2014-11-26 14:20:51 -06:00
Benjamin Peterson 33f8f15bdd add readline.append_history_file (closes #22940)
patch by "bru"
2014-11-26 13:58:16 -06:00
Serhiy Storchaka aacfcccdc3 Issue #19676: Fixed integer overflow issue in "namereplace" error handler. 2014-11-26 12:11:40 +02:00
Benjamin Peterson 8dcaa4b1c6 merge 3.4 2014-11-25 18:05:40 -06:00
Berker Peksag 87f6c2212e Issue #19676: Tweak documentation a bit.
* Updated version info to 3.5
* Fixed a markup error
* Added a versionadded directive to namereplace_errors documentation
2014-11-25 18:59:20 +02:00
Victor Stinner 6a11e5e1ae (Merge 3.4) Closes #22685, asyncio: Set the transport of stdout and stderr
StreamReader objects in the SubprocessStreamProtocol. It allows to pause the
transport to not buffer too much stdout or stderr data.
2014-11-25 17:21:43 +01:00
Serhiy Storchaka 166ebc4e5d Issue #19676: Added the "namereplace" error handler. 2014-11-25 13:57:17 +02:00
Berker Peksag 6cecf68c7b Issue #20351: Add examples for csv.DictReader and csv.DictWriter.
Patch by Charles-Axel Dein.
2014-11-24 23:47:06 +02:00
Berker Peksag da8cef40e5 Issue #22934: Update the comment to mention Programs/_freeze_importlib.c. 2014-11-24 23:26:08 +02:00
Benjamin Peterson a90e92dac8 update versionchanged 2014-11-23 20:38:37 -06:00
Benjamin Peterson 6c22e65773 merge 3.4 (#22788) 2014-11-23 20:38:13 -06:00
Benjamin Peterson 83711e9bdf merge 3.4 2014-11-23 20:17:06 -06:00
Benjamin Peterson ff4d94ef33 merge 3.4 (null) 2014-11-23 20:10:25 -06:00
Benjamin Peterson f9284ae8ed merge 3.4 (#22921) 2014-11-23 17:06:39 -06:00
Benjamin Peterson f1a3240ba8 merge 3.4 2014-11-23 11:43:43 -06:00
Antoine Pitrou d3c53b6048 Update importlib.h 2014-11-23 16:01:20 +01:00
Antoine Pitrou b9079c81dd Issue #22894: TestCase.subTest() would cause the test suite to be stopped when in failfast mode, even in the absence of failures. 2014-11-23 15:56:41 +01:00
Antoine Pitrou 65bfb38247 Null merge 2014-11-23 15:50:21 +01:00
Raymond Hettinger bb6c0aaebf PEP 479: Use the return-keyword instead of raising StopIteration inside a generators. 2014-11-22 22:14:41 -08:00
Raymond Hettinger 828d932a2c PEP 479: Don't let StopIteration bubble out of calls to next() inside a generator. 2014-11-22 21:56:23 -08:00
Ned Deily 1bf472933b Really add downloads page link to OS X installer README screens. 2014-11-22 14:41:21 -08:00
Ned Deily d333ab162c Add downloads page link to OS X installer README screens. 2014-11-22 14:26:33 -08:00
Zachary Ware 513112b229 Issue #22834: cwd can't not exist on Windows, skip the test 2014-11-22 17:03:46 -06:00
Ned Deily f8c3b69986 Add downloads page link to OS X installer README screens. 2014-11-22 14:20:30 -08:00
Zachary Ware c4821d62b4 Closes #22869: Move PyOS_CheckStack back to pythonrun.c 2014-11-21 23:35:12 -06:00
Steve Dower 9b59dd4781 Issue #22869: Remove duplicate stack check from pythonrun.c 2014-11-21 20:33:12 -08:00
Serhiy Storchaka fc9fdedd09 Issue #19720: Suppressed context for some exceptions in importlib. 2014-11-21 21:56:57 +02:00
Serhiy Storchaka 525d5aeaae Issue #17293: socket.gethostbyname() can raise an exception of FreeBSD. 2014-11-21 21:55:39 +02:00
Serhiy Storchaka c4464052d9 Issue #19720: Suppressed context for some exceptions in importlib. 2014-11-21 20:33:57 +02:00
Brett Cannon b6e2556d8f Issue #22834: Have import suppress FileNotFoundError when the current
working directory no longer exists.

Thanks to Martin Panter for the bug report.
2014-11-21 12:19:28 -05:00
Steve Dower 8314690a26 Issue #22869: Add pylifecycle.c/.h files to pythoncore project. 2014-11-20 16:45:36 -08:00
Antoine Pitrou b1e36073cd Issue #22796: HTTP cookie parsing is now stricter, in order to protect against potential injection attacks. 2014-11-21 01:20:57 +01:00
Victor Stinner 35830270e1 (Merge 3.4) asyncio: BaseSelectorEventLoop.close() now closes the self-pipe
before calling the parent close() method. If the event loop is already closed,
the self-pipe is not unregistered from the selector.
2014-11-21 00:23:59 +01:00
Victor Stinner 5e63120f8d asyncio: BaseSelectorEventLoop.close() now closes the self-pipe before calling
the parent close() method. If the event loop is already closed, the self-pipe
is not unregistered from the selector.
2014-11-21 00:23:27 +01:00
Victor Stinner bca6ae67d6 Merge 3.4 (asyncio) 2014-11-20 15:04:31 +01:00