Commit graph

16710 commits

Author SHA1 Message Date
Antoine Pitrou
af94051a93 Issue #17710: Fix pickle raising a SystemError on bogus input. 2013-04-15 21:55:14 +02:00
Antoine Pitrou
3034efdd29 Issue #17710: Fix pickle raising a SystemError on bogus input. 2013-04-15 21:51:09 +02:00
Nick Coghlan
d25e7de4a1 Merge fix for #17731 from 3.3 2013-04-15 22:57:57 +10:00
Nick Coghlan
f1465f0535 Close #17731: Clean up properly in test_import 2013-04-15 22:56:51 +10:00
Vinay Sajip
66940a11f8 Issue #17713: Added failure diagnostics to test. 2013-04-15 11:59:35 +01:00
R David Murray
26dfaac9ac #17341: Include name in re error message about invalid group name.
Patch by Jason Michalski.
2013-04-14 13:00:54 -04:00
R David Murray
bf71f7d654 Merge #17341: Include name in re error message about invalid group name.
Patch by Jason Michalski.
2013-04-14 13:03:14 -04:00
Brett Cannon
255fb3e9f3 add a newline 2013-04-14 12:51:36 -04:00
Brett Cannon
edfd6ae79c Issue #17244: Don't mask exceptions raised during the creation of
bytecode files in py_compile.

Thanks to Arfrever Frehtes Taifersar Arahesis for the bug report.
2013-04-14 12:48:15 -04:00
Victor Stinner
672559fc4f (Merge 3.3) Issue #17702: use assertRaises() for the unit test 2013-04-14 16:43:38 +02:00
Victor Stinner
839e5eafcb Issue #17702: use assertRaises() for the unit test 2013-04-14 16:43:03 +02:00
Victor Stinner
43aa0d07e2 (Merge 3.3) Close #17702: os.environ now raises KeyError with the original
environment variable name (str on UNIX), instead of using the encoded name
(bytes on UNIX).
2013-04-14 16:38:35 +02:00
Victor Stinner
6d10139d70 Close #17702: os.environ now raises KeyError with the original environment
variable name (str on UNIX), instead of using the encoded name (bytes on UNIX).
2013-04-14 16:35:04 +02:00
Nick Coghlan
685bd4a37a Merge fix for #16163 from 3.3 2013-04-14 23:01:11 +10:00
Nick Coghlan
c4e0d982f3 Close issue #16163: handle submodules in pkgutil.iter_importers 2013-04-14 22:30:42 +10:00
Vinay Sajip
8b4c7198db Issue #17713: additional tweak to test. 2013-04-14 12:25:25 +01:00
Vinay Sajip
d86ac96fcf Closes #17713: Fixed bug in test_compute_rollover_weekly_attime. 2013-04-14 12:20:46 +01:00
Georg Brandl
b979f10002 merge with 3.3 2013-04-14 11:40:27 +02:00
Georg Brandl
1d472b74cb Closes #14462: allow any valid Python identifier in sre group names, as documented. 2013-04-14 11:40:00 +02:00
Alexandre Vassalotti
bdc3eb7623 Merge 3.3 2013-04-14 00:58:28 -07:00
Alexandre Vassalotti
6eea818423 Fix pickling test in test_memoryio.
The test was closing the orginal object instead the copy. This didn't result
in visible failures because the loop range was incorrect as well.
2013-04-14 00:56:39 -07:00
Benjamin Peterson
71557596b2 remove pointless change 2013-04-13 17:20:36 -04:00
Benjamin Peterson
214a7d2674 properly lookup the __round__ special method (closes #17722) 2013-04-13 17:19:01 -04:00
Antoine Pitrou
c1ab0bd788 Fix misindent. This would test half less possibilities. 2013-04-13 22:46:33 +02:00
Antoine Pitrou
e9bbe8b87b Issue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal.
Initial patch by Daniel Riti.
2013-04-13 22:41:09 +02:00
Mark Dickinson
93196eb44f Issue #17715: Merge fix from 3.3. 2013-04-13 17:46:04 +01:00
Mark Dickinson
c9734484ca Issue #17715: Add missing NULL Check to PyNumber_Long. 2013-04-13 17:44:44 +01:00
Vinay Sajip
171bb26b32 Issue #17713: Test temporarily skipped while failure investigated. 2013-04-13 17:35:14 +01:00
Andrew Svetlov
44e33f39bf Revert changes for #13355 by request from Raymond Hettinger 2013-04-13 18:04:19 +03:00
Andrew Svetlov
b4fd468f12 Revert changes for #13355 by request from Raymond Hettinger 2013-04-13 18:00:04 +03:00
Mark Dickinson
556e94b8fe Issue #17643: Add __callback__ attribute to weakref.ref. 2013-04-13 15:45:44 +01:00
Mark Dickinson
548677bb8c Issue #16447: Merge fix from 3.3. 2013-04-13 15:30:16 +01:00
Mark Dickinson
64aafeb4de Issue #16447: Fix potential segfault when setting __name__ on a class. 2013-04-13 15:26:58 +01:00
Andrew Svetlov
4e7d3ab405 Fix whitespaces 2013-04-12 23:30:59 +03:00
Andrew Svetlov
eff6444751 Fix whitespaces 2013-04-12 23:30:41 +03:00
Andrew Svetlov
730001163f Issue #13355: Raise ValueError on random.triangular call with invalid params.
Initial patch by Yuriy Senko.
2013-04-12 23:27:37 +03:00
Andrew Svetlov
a2dfc35a13 Issue #13355: Raise ValueError on random.triangular call with invalid params.
Initial patch by Yuriy Senko.
2013-04-12 23:21:01 +03:00
Andrew Svetlov
3042b5ebf4 Issue #16658: add missing return to HTTPConnection.send().
Patch by Jeff Knupp
2013-04-12 22:50:42 +03:00
Andrew Svetlov
7b2c8bb833 Issue #16658: add missing return to HTTPConnection.send().
Patch by Jeff Knupp
2013-04-12 22:49:19 +03:00
Giampaolo Rodola'
7ca4936113 attempt to fix bb failure as per http://bugs.python.org/issue17675#msg186595 2013-04-12 18:28:15 +02:00
Vinay Sajip
a713079ed8 Closed #9556: Allowed specifying a time-of-day for a TimedRotatingFileHandler to rotate. 2013-04-12 17:04:23 +01:00
Ezio Melotti
7ec97f415c #17692: merge with 3.3. 2013-04-12 14:14:22 +03:00
Ezio Melotti
c2ecac4787 #17692: test_sqlite now works with unittest test discovery. Patch by Zachary Ware. 2013-04-12 14:13:47 +03:00
R David Murray
f1c42538e4 #17699: Fix the new getpass test failures on windows.
Patch by Zachary Ware.
2013-04-11 17:45:32 -04:00
Victor Stinner
eae41af356 Issue #13056: Reenable test_multibytecodec.Test_StreamWriter tests 2013-04-11 22:41:11 +02:00
Antoine Pitrou
50b24d0d7c Fix a crash when setting a servername callback on a SSL server socket and the client doesn't send a server name.
Patch by Kazuhiro Yoshida.
(originally issue #8109)
2013-04-11 20:48:42 +02:00
Ezio Melotti
85b2afb1b1 #17690: merge with 3.3. 2013-04-11 20:30:48 +03:00
Ezio Melotti
3836d70ed5 #17690: test_time now works with unittest test discovery. Patch by Zachary Ware. 2013-04-11 20:29:42 +03:00
Senthil Kumaran
f49581c2a1 normalize whitespace 2013-04-10 20:55:58 -07:00
Senthil Kumaran
c7e0980259 normalize whitespace. caught by hook 2013-04-10 20:54:23 -07:00