Commit Graph

88525 Commits

Author SHA1 Message Date
Victor Stinner 0561c53d78 Issue #23605: Refactor os.walk() tests to also run them on os.fwalk() 2015-03-12 10:28:24 +01:00
Serhiy Storchaka b669bfc2be Issue #22928: Disabled HTTP header injections in http.client.
Original patch by Demian Brecht.
2015-03-12 11:15:15 +02:00
Serhiy Storchaka a112a8ae47 Issue #22928: Disabled HTTP header injections in http.client.
Original patch by Demian Brecht.
2015-03-12 11:13:36 +02:00
Victor Stinner 411bf641d3 Issue #23605: os.walk() doesn't need to call entry.is_symlink() if followlinks
is True
2015-03-12 09:12:48 +01:00
Serhiy Storchaka 91427733ea Issue #23192: Fixed generator lambdas. Patch by Bruno Cauet. 2015-03-11 18:22:29 +02:00
Serhiy Storchaka c775ad615a Issue #23192: Fixed generator lambdas. Patch by Bruno Cauet. 2015-03-11 18:20:35 +02:00
Ethan Furman 354ecf1ef2 Close issue23486: performance boost for enum member lookup 2015-03-11 08:43:12 -07:00
Serhiy Storchaka ca8b64461d Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded with
imp.reload().  Patch by Thomas Kluyver.
2015-03-11 17:31:33 +02:00
Serhiy Storchaka cf4a2f29ad Issue #23615: Modules bz2, tarfile and tokenize now can be reloaded with
imp.reload().  Patch by Thomas Kluyver.
2015-03-11 17:18:03 +02:00
Ethan Furman 62e977f1b6 Close issue23467: add %r compatibility to bytes and bytearray 2015-03-11 08:17:00 -07:00
Steve Dower 6dd20c2d52 Removes unused format string insertion in launcher.c. 2015-03-10 19:40:37 -07:00
Steve Dower 13be8c2691 Removes unused format string insertion in launcher.c. 2015-03-10 19:38:25 -07:00
Antoine Pitrou 63afdaa110 Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects. 2015-03-10 22:35:24 +01:00
Antoine Pitrou a654510150 Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects. 2015-03-10 22:32:00 +01:00
Steve Dower 12541dc22e Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls 2015-03-10 13:20:21 -07:00
Steve Dower ebb8c2d528 Issue #22028: Ensure mimetypes will not open registry keys with embedded nulls 2015-03-10 13:17:21 -07:00
Steve Dower 3d3aaa1eab Adds note about installed debug binaries. 2015-03-10 13:15:40 -07:00
Steve Dower 959ee7c200 Issue #23606: Disable ctypes.util.find_library("c") on Windows so tests are skipped while we figure out how best to approach the CRT change 2015-03-10 09:56:38 -07:00
Victor Stinner e3e56fea2a Merge 3.4 (asyncio) 2015-03-10 16:32:50 +01:00
Victor Stinner 7a82afee70 asyncio: Fix repr(BaseSubprocessTransport) if it didn't start yet
Replace "running" with "not started" and don't show the pid if the subprocess
didn't start yet.
2015-03-10 16:32:29 +01:00
Victor Stinner fb581d9154 Merge 3.4 (asyncio doc) 2015-03-10 16:29:31 +01:00
Victor Stinner 84c717dd9e asyncio doc: changes on the Queue API missed Python 3.4.3 release 2015-03-10 16:27:54 +01:00
Berker Peksag 55f1949225 Issue #23432: Remove duplicate content from SystemExit docs.
Also, document SystemExit.code attribute explicitly.
2015-03-10 14:47:41 +02:00
Berker Peksag 77a6b20a35 Issue #23432: Remove duplicate content from SystemExit docs.
Also, document SystemExit.code attribute explicitly.
2015-03-10 14:47:15 +02:00
Victor Stinner 80f6bb4cd8 Merge 3.4 (os doc) 2015-03-10 13:31:58 +01:00
Victor Stinner 47c41b4e4d Issue #23605: os.walk() doc now mentions shutil.rmtree() in the last example 2015-03-10 13:31:47 +01:00
Victor Stinner 37f2034802 Issue #22524: Rephrase scandir addition in What's New in Python 3.5
Patch written by Ben Hoyt.
2015-03-10 13:29:41 +01:00
Victor Stinner 524a5ba111 Issue #23605: os.walk() now calls os.scandir() instead of os.listdir().
The usage of os.scandir() reduces the number of calls to os.stat().
Initial patch written by Ben Hoyt.
2015-03-10 13:20:34 +01:00
Victor Stinner 283f3f8ab3 Issue #23571: Oops, fix #ifdef assert()
assert() are noop when NDEBUG is defined. We want the opposite.
2015-03-09 15:55:37 +01:00
Steve Dower 8011382285 Issue #23619: Ensure C variable is initialized before using it.
The garbage in _crtInstalledToken was causing the IsCrtInstalled() function to return TRUE without actually checking anything. We now initialize the variable first.
2015-03-09 10:05:50 -07:00
Benjamin Peterson 5d2d63ed7d merge 3.4 2015-03-09 10:37:59 -04:00
Benjamin Peterson 101447b3fe fix up import style 2015-03-09 10:37:50 -04:00
Larry Hastings 551719be4a Merge. 2015-03-09 02:40:13 -07:00
Larry Hastings cfac654165 Post-release changes for 3.5.0a2. 2015-03-09 02:39:47 -07:00
Ned Deily 52eb536c99 Issue #23617: Correct plurals typo noted by Kentrell Johnson. 2015-03-09 01:55:35 -07:00
Ned Deily 8be2142377 Issue #23617: Correct plurals typo noted by Kentrell Johnson. 2015-03-09 01:55:02 -07:00
Steve Dower c49de35585 Issue #23612: Fixes upgrade code and version for Windows installer. 2015-03-08 15:29:39 -07:00
Steve Dower 1872f93fd1 Minor updates to Windows installer upload script. 2015-03-08 12:59:00 -07:00
Antoine Pitrou 5bd7bf5bab Issue #22980: Under Linux, C extensions now include bitness in the file name,
to make it easy to test 32-bit and 64-bit builds in the same working tree.
2015-03-08 20:43:10 +01:00
Benjamin Peterson af098a221a merge 3.4 (#23608) 2015-03-08 09:42:40 -04:00
Benjamin Peterson c8358273ae indicate correct version (closes #23608) 2015-03-08 09:42:25 -04:00
Larry Hastings 491dec6ac9 Merge. 2015-03-08 00:57:04 -08:00
Larry Hastings 5a963a54ad Added tag v3.5.0a2 for changeset 0337bd7ebcb6 2015-03-08 00:24:48 -08:00
Larry Hastings 6003ac5267 Release bump for 3.5.0a2. 2015-03-08 00:24:34 -08:00
Serhiy Storchaka cfb5b87860 Issue #21619: Cleaned up test_broken_pipe_cleanup.
Patch by Martin Panter.
2015-03-08 09:17:28 +02:00
Serhiy Storchaka f87afb0381 Issue #21619: Cleaned up test_broken_pipe_cleanup.
Patch by Martin Panter.
2015-03-08 09:16:40 +02:00
Steve Dower d5a0be6fc0 Suppress assert dialogs in test_os 2015-03-07 21:25:54 -08:00
Steve Dower 79938f22ef Suppress assert dialogs in test_cmd_line. 2015-03-07 20:32:16 -08:00
Steve Dower 8acde7dcce Issue #23524: Change back to using Windows errors for _Py_fstat instead of the errno shim. 2015-03-07 18:14:07 -08:00
Victor Stinner 35a97c0bed Issue #22524: Fix os.scandir() for platforms which don't have a d_type field in
the dirent structure (ex: OpenIndiana).
2015-03-08 02:59:09 +01:00