Commit Graph

22046 Commits

Author SHA1 Message Date
Andrew Svetlov 6d50a5447a Merge issue #14570: Document json sort_keys parameter properly.
Patch by Chris Rebert.
2012-10-28 14:11:00 +02:00
Andrew Svetlov 2ec53be2e2 Issue #14570: Document json sort_keys parameter properly.
Patch by Chris Rebert.
2012-10-28 14:10:30 +02:00
Mark Dickinson 61254b9391 Issue #14700: merge tests from 3.3. 2012-10-28 10:23:08 +00:00
Mark Dickinson 2a83f16e5e Issue #14700: merge tests from 3.2. 2012-10-28 10:22:22 +00:00
Mark Dickinson fb90c0934c Issue #14700: Fix buggy overflow checks for large precision and width in new-style and old-style formatting. 2012-10-28 10:18:03 +00:00
Georg Brandl 7fe16b36ab merge with 3.3 2012-10-28 10:51:52 +01:00
Georg Brandl 5b9561d1f1 merge with 3.2 2012-10-28 10:51:46 +01:00
Georg Brandl 579d5cd643 changeset: 80007:49e4541f2aef
parent: 80003:be83cbf4a789
parent: 80006:32df036e6b75
user: Georg Brandl <georg@python.org>
date: Sun Oct 28 10:50:11 2012 +0100
summary: merge with 3.3
2012-10-28 10:51:35 +01:00
R David Murray 7c38ec2de0 merge #12890: skip tests which fail on windows until fixed or rewritten.
We may rewrite these using mock per issue 15749.
2012-10-27 17:39:57 -04:00
R David Murray 74076cb85e #12890: skip tests which fail on windows until fixed or rewritten.
We may rewrite these using mock per issue 15749.
2012-10-27 17:39:25 -04:00
R David Murray 7041b995cd merge #15889: make regrtest --start succeed in more cases.
Patch by Chris Jerdonek.
2012-10-27 17:09:37 -04:00
R David Murray 4d9f31846a merge #15889: make regrtest --start succeed in more cases.
Patch by Chris Jerdonek.
2012-10-27 17:08:37 -04:00
R David Murray c3bf78a212 #15889: make regrtest --start succeed in more cases.
Patch by Chris Jerdonek.
2012-10-27 17:07:05 -04:00
R David Murray dcd34a6419 merge #12890: don't emit <p> tags in text mode when logdir specified.
Patch by Jeff McNeil.
2012-10-27 14:57:22 -04:00
R David Murray c4b8e05092 merge #12890: don't emit <p> tags in text mode when logdir specified.
Patch by Jeff McNeil.
2012-10-27 14:55:25 -04:00
R David Murray 252cd0e4e0 #12890: don't emit <p> tags in text mode when logdir specified.
Patch by Jeff McNeil.
2012-10-27 14:42:47 -04:00
R David Murray 9617ce99a9 merge #15043: Improve test_gdb support of gdb >= 7.4.
Instead of requiring the tester to manually add the path to the python-gdb.py
file in the checkout to their .gdbinit file, add it automatically when
invoking gdb in the test.
2012-10-27 13:36:59 -04:00
R David Murray f358eaf362 merge #15043: Improve test_gdb support of gdb >= 7.4.
Instead of requiring the tester to manually add the path to the python-gdb.py
file in the checkout to their .gdbinit file, add it automatically when
invoking gdb in the test.
2012-10-27 13:26:14 -04:00
R David Murray f9333026f7 #15043: Improve test_gdb support of gdb >= 7.4.
Instead of requiring the tester to manually add the path to the python-gdb.py
file in the checkout to their .gdbinit file, add it automatically when
invoking gdb in the test.
2012-10-27 13:22:41 -04:00
Hynek Schlawack 969684f2ad Merge 3.3 2012-10-27 12:56:30 +02:00
Hynek Schlawack 254af2644a #16307: Fix multiprocessing.Pool.map_async not calling its callbacks
Patch by Janne Karila.
2012-10-27 12:53:02 +02:00
Senthil Kumaran cc2f0421c7 Issue #16250: Fix URLError invocation with proper args 2012-10-27 02:48:21 -07:00
Senthil Kumaran cad7b31467 Issue #16250: Fix URLError invocation with proper args. 2012-10-27 02:26:46 -07:00
Philip Jenvey 16bb5450d6 merge with 3.3 2012-10-26 17:05:55 -07:00
Philip Jenvey 5f9459fbed merge with 3.2 2012-10-26 17:05:09 -07:00
Philip Jenvey 45c41494bf bounds check for bad data (thanks amaury) 2012-10-26 17:01:53 -07:00
Giampaolo Rodola' f9de90a935 remove obsolete hasattr() check for socket.sendall 2012-10-26 18:32:24 +02:00
Vinay Sajip 998b105c68 Closes #16116: Merged fix from 3.3. 2012-10-23 20:27:43 +01:00
Vinay Sajip e87acc1f38 Issue #16116: Now uses corrected include and library paths when building C extensions in a venv. 2012-10-23 20:26:14 +01:00
Senthil Kumaran bf644c5571 Fix the windows buildbot permission error - close the fd of tempfile beffore unlinking 2012-10-23 11:07:02 -07:00
Senthil Kumaran 3194d7cfce Fix issue16300: addressing the buildbot failures on windows 2012-10-23 09:40:53 -07:00
Ezio Melotti 32e46089a9 #16245: merge with 3.3. 2012-10-23 15:54:24 +02:00
Ezio Melotti e6e96eea51 #16245: Fix the value of a few entities in html.entities.html5. 2012-10-23 15:51:27 +02:00
Ezio Melotti 4904e5a38b Merge html.entities.html5 reordering with 3.3. 2012-10-23 14:47:42 +02:00
Ezio Melotti 518dbfd7b5 Reorder html.entities.html5 entities to make updates easier. Patch by Iuliia Proskurnia. 2012-10-23 14:45:58 +02:00
Senthil Kumaran c3633b6a78 skip the file localhost test on windows. Fix it on branch and modify the test 2012-10-22 21:50:19 -07:00
Senthil Kumaran 3a81580719 Fix the ResourceWarning in test_urllib.py due changes made for #16301. Patch by Berker Peksag 2012-10-22 17:06:43 -07:00
Ned Deily a212114a96 Issue #15853: merge 3.3 -> default 2012-10-22 15:20:13 -07:00
Ned Deily b6d24d9746 Issue #15853: merge 3.2 -> 3.3 2012-10-22 15:18:46 -07:00
Ned Deily fdf0f274e6 Issue #15853: Prevent IDLE crash on OS X when opening Preferences menu
with certain versions of Tk 8.5.  Initial patch by Kevin Walzer.
2012-10-22 15:14:31 -07:00
Senthil Kumaran 40d8078f41 Issue #16301: Fix the localhost verification in urllib/request.py for file://. Modify tests to use localhost for local temp files, which could make Windows Buildbot (#16300) happy 2012-10-22 09:43:04 -07:00
Senthil Kumaran 3ebef36eea Issue #16250: Fix the invocations of URLError which had misplaced filename attribute for exception 2012-10-21 18:31:25 -07:00
Senthil Kumaran f577686fd3 Issue #10836: Fix exception raised when file not found in urlretrieve 2012-10-21 13:30:02 -07:00
Nadeem Vawda 5f8f0d6777 Issue #14398: Fix size truncation and overflow bugs in bz2 module. 2012-10-21 21:13:27 +02:00
Nadeem Vawda bd26b5463e Issue #12692: Fix resource leak in urllib.request. 2012-10-21 17:37:43 +02:00
Antoine Pitrou da201fa248 Try to fix issue #16264 (test_logging failure on some buildbots). 2012-10-21 17:18:27 +02:00
Nadeem Vawda 186370b433 Issue #16034 follow-up: Apply optimizations to the lzma module. 2012-10-21 16:57:32 +02:00
Antoine Pitrou d3a3e640b6 Issue #16220: wsgiref now always calls close() on an iterable response.
Patch by Brent Tubbs.
2012-10-21 14:15:06 +02:00
Antoine Pitrou 550841253f Issue #16220: wsgiref now always calls close() on an iterable response.
Patch by Brent Tubbs.
2012-10-21 14:14:34 +02:00
Antoine Pitrou 66510fedb4 Fix whacky spacking in test_wsgiref 2012-10-21 14:13:32 +02:00
Antoine Pitrou ae247a5ff6 Issue #16220: wsgiref now always calls close() on an iterable response.
Patch by Brent Tubbs.
2012-10-21 14:09:05 +02:00
Ned Deily 257c1323f7 Issue #10405: merge from 3.3 2012-10-20 13:28:16 -07:00
Ned Deily d2cc1bb057 Issue #10405: merge from 3.2 2012-10-20 13:27:32 -07:00
Ned Deily 2778d0d147 Issue #10405: Document IDLE context menus in Standard Library document
and IDLE Help file.  (Thanks to Nick ODell and Todd Rovito for suggestions.)
Update Debug menu options in docs to match current code plus various other
minor IDLE doc and help edits.
2012-10-20 13:25:34 -07:00
Mark Dickinson 5ee2404d1e Fix concurrent.futures docstring typo: "Request Q" -> "Result Q". 2012-10-20 13:16:49 +01:00
Nick Coghlan 62b4136277 Fix broken test and replace redundant generator with a tuple 2012-10-20 00:03:46 +10:00
Nick Coghlan c71b4c7198 Issue #6074: Actually delete the source file in the test as intended 2012-10-19 23:38:36 +10:00
Nick Coghlan 324c9faeb1 Merge from 3.3 2012-10-19 23:37:28 +10:00
Nick Coghlan 11d752e374 Remove unused import 2012-10-19 23:37:16 +10:00
Nick Coghlan d4f5ad6c6e Merge fix from #6074 from 3.3 2012-10-19 23:36:15 +10:00
Nick Coghlan eb8d627bbd Issue #6074: Apply an appropriate fix for importlib based imports 2012-10-19 23:32:00 +10:00
Nick Coghlan 34937ce249 Issue #6074: Forward port Windows read-only source file fix from 2.7 2012-10-19 22:38:14 +10:00
Giampaolo Rodola' 2d51f687e1 Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager. 2012-10-19 13:40:28 +02:00
Giampaolo Rodola' b0cc91290c Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager. 2012-10-19 13:34:32 +02:00
Giampaolo Rodola' 89e92854b6 Fix issue #16270: urllib may hang when used for retrieving files via FTP by using a context manager. 2012-10-19 13:25:17 +02:00
Ned Deily 5d590d8705 Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
2012-10-18 18:19:11 -07:00
Ned Deily bfbf3f139d Issue #16226: Fix IDLE Path Browser crash.
(Patch by Roger Serwy)
2012-10-18 18:16:44 -07:00
Trent Nelson c78649873f Merge issue #15298. 2012-10-17 18:05:27 -04:00
Trent Nelson ecbe2a9185 Issue #15298: refactor previous fix from 66959d419369. 2012-10-17 18:03:24 -04:00
Giampaolo Rodola' 284529dcf4 test_logging.py: where needed use unittest's assertGreater, assertLesser, assertIs rather than assertTrue (also in order to debug issue 16264) 2012-10-17 13:24:27 +02:00
Trent Nelson b4e4c92592 Issue #16257: make test_create_connection() handle ENETUNREACH. 2012-10-17 06:16:02 -04:00
Trent Nelson 016884cbaa Issue #16257: make test_create_connection() handle ENETUNREACH. 2012-10-17 06:15:40 -04:00
Trent Nelson 45bb613e25 Issue #16257: make test_create_connection() handle ENETUNREACH. 2012-10-17 06:15:15 -04:00
Trent Nelson b21099a4ca Merge issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py. 2012-10-17 04:24:44 -04:00
Trent Nelson ee528cccde Issue #15298: fix an OS X bootstrap issue with _sysconfigdata.py.
Reported by: Ned Deily.
2012-10-17 04:23:50 -04:00
Eric Snow 42da889fec merge for issue #16160: Subclass support now works for types.SimpleNamespace. 2012-10-16 22:45:49 -07:00
Eric Snow 547298c94c Close #16160: Subclass support now works for types.SimpleNamespace. Thanks to RDM for noticing. 2012-10-16 22:35:38 -07:00
Antoine Pitrou 8261f838ff Merge for issue #15744: add tests for the writelines() method of file objects. 2012-10-16 23:06:17 +02:00
Antoine Pitrou 0c7081aff4 Merge for issue #15744: add tests for the writelines() method of file objects. 2012-10-16 23:05:01 +02:00
Antoine Pitrou 3ed2cb5520 Also add tests for TextIOWrapper.writelines() (issue #15744). 2012-10-16 23:02:27 +02:00
Antoine Pitrou 131a489903 Add tests for the writelines() method of file objects.
Original patch by Felipe Cruz.
2012-10-16 22:57:11 +02:00
Antoine Pitrou cfc22b4a9b Issue #15958: bytes.join and bytearray.join now accept arbitrary buffer objects. 2012-10-16 21:07:23 +02:00
Trent Nelson b16269e375 Merge issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by: Richard Oudkerk (sbt).
2012-10-16 08:17:11 -04:00
Trent Nelson c101bf32c4 Issue #15298: ensure _sysconfigdata is generated in build directory,
not source directory.

Patch by Richard Oudkerk (sbt).
2012-10-16 08:13:12 -04:00
Trent Nelson 744faddae8 Merge issue #15833: don't raise an exception if importlib can't write
byte-compiled files.

This fixes a regression introduced by 3.3.

Patch by Charles-François Natali.
2012-10-16 08:03:21 -04:00
Trent Nelson d783c8ed00 Issue #15833: don't raise an exception if importlib can't write byte-compiled
files.

This fixes a regression introduced by 3.3.  Patch by Charles-François Natali.
2012-10-16 07:47:34 -04:00
Vinay Sajip 3ba726ce04 Closes #16244: Merged change from 3.3. 2012-10-16 10:33:30 +01:00
Vinay Sajip e7e7af4558 Issue #16244: Merged change from 3.2. 2012-10-16 10:32:13 +01:00
Vinay Sajip ee892b9226 Issue #16244: Remove file mode overrides. 2012-10-16 10:28:31 +01:00
Giampaolo Rodola' 35eeb30adf logging's SocketHandler: get rid of some legacy code and use the newer socket.create_connection() utility function 2012-10-15 16:57:37 +02:00
Nadeem Vawda 6d70870812 Clean up some warnings in test suite output. 2012-10-14 01:42:32 +02:00
Benjamin Peterson 174baa39f6 merge heads 2012-10-13 11:58:23 -04:00
Benjamin Peterson d541d3fee4 When not optimized function stack sizes are much larger and may cause this test to fail. 2012-10-13 11:46:44 -04:00
Nadeem Vawda 801985e4b7 lzma module: Rewrap docstrings at 72 columns, as per PEP 8. 2012-10-13 04:26:49 +02:00
Benjamin Peterson 143d034ecd merge 3.2 2012-10-12 12:04:32 -04:00
Benjamin Peterson 7a9953edfb skip if __doc__ is gone 2012-10-12 11:44:19 -04:00
Benjamin Peterson a5c4090394 skip if __doc__ is gone 2012-10-12 11:44:19 -04:00
Benjamin Peterson 951a9e381b fix to work if __doc__ is removed 2012-10-12 11:44:10 -04:00
Benjamin Peterson fa5f75a7ce fix to work if __doc__ is removed 2012-10-12 11:44:10 -04:00
Brett Cannon 6072e0bf42 Remove uses of % with str.format. 2012-10-12 10:00:34 -04:00