Commit Graph

78679 Commits

Author SHA1 Message Date
Georg Brandl e09596862a Update using/mac documentation which was still on 2.5. 2013-04-14 10:17:35 +02:00
Georg Brandl cf72c5e4ea merge with 3.3 2013-04-14 10:13:50 +02:00
Georg Brandl dec3b3f704 Clarify point in name mangling doc. 2013-04-14 10:13:42 +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
Meador Inge e94950ea3f Merge heads. 2013-04-13 20:59:03 -05:00
Meador Inge 2581bdb86a Issue #16804: Fix 'python -S -m site' failure.
This commit fixes a bug in the 'site' module that was causing an exception
to incorrectly be thrown when running 'python -S -m site'.  The problem was
that 'USER_BASE' and 'USER_SITE' were being accessed before they were properly
initialized.  The code has been changed to use 'getuserbase' and
'getusersitepackages' instead so that the initialization always happens.
2013-04-13 20:51:04 -05:00
Meador Inge 9a7a81195c Issue #16804: Fix 'python -S -m site' failure.
This commit fixes a bug in the 'site' module that was causing an exception
to incorrectly be thrown when running 'python -S -m site'.  The problem was
that 'USER_BASE' and 'USER_SITE' were being accessed before they were properly
initialized.  The code has been changed to use 'getuserbase' and
'getusersitepackages' instead so that the initialization always happens.
2013-04-13 20:29:49 -05:00
Victor Stinner 8a1a6cffd6 Add _PyUnicodeWriter_WriteCharInline() 2013-04-14 02:35:33 +02:00
Victor Stinner d949126995 Issue #17693: CJK encoders now use the new Unicode API (PEP 393) 2013-04-14 02:06:32 +02: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
Serhiy Storchaka e2cef885a2 Issue #16061: Speed up str.replace() for replacing 1-character strings. 2013-04-13 22:45:04 +03:00
R David Murray a707f299cb #17719: fix incorrect version number in deprecation doc.
Patch by Kent Johnson.
2013-04-13 15:29:22 -04:00
R David Murray 8e37d5df95 #2118: Make SMTPException a subclass of IOError.
Initial patch by Ned Jackson Lovely.
2013-04-13 14:49:48 -04:00
R David Murray c1d3daf58b Merge #2118: clarify smtplib exception documentation. 2013-04-13 14:42:36 -04:00
R David Murray 0bfd6acf03 Reflow paragraph. 2013-04-13 14:40:51 -04:00
R David Murray 14ee3cf244 #2118: clarify smtplib exception documentation. 2013-04-13 14:40:33 -04:00
Serhiy Storchaka 6d80046628 Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.
2013-04-13 21:16:40 +03:00
Serhiy Storchaka 4bb17348f5 Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.
2013-04-13 21:15:47 +03:00
Ezio Melotti d24abee463 #17571: merge with 3.3. 2013-04-13 20:12:53 +03:00
Ezio Melotti f756f947f9 #17571: remove broken links in datetime.py docstring. 2013-04-13 20:12:38 +03:00
Ezio Melotti 5c965dafbd #17686: merge with 3.3. 2013-04-13 20:07:58 +03:00
Ezio Melotti ac3da87553 #17686: fix broken link in Doc/using/unix.rst. Patch by Dan Riti. 2013-04-13 20:07:42 +03: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
Mark Dickinson bca5141f2d Merge heads. 2013-04-13 16:09:52 +01:00
Mark Dickinson 9b6fdf8401 Fix incorrect indentation on 'versionadded' for weakref.ref.__callback__. 2013-04-13 16:09:18 +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
Ezio Melotti 3121e32952 #17653: merge with 3.3. 2013-04-12 19:19:45 +03:00
Ezio Melotti a3b255f275 #17653: fix typo in socketserver docs. Patch by Tshepang Lekhonkhobe. 2013-04-12 19:19:21 +03: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 8a9e38e715 Null merge. 2013-04-12 16:25:41 +03:00
Ezio Melotti 15a98cd30c Merge heads. 2013-04-12 16:24:12 +03:00
Ezio Melotti 6ebdb61b67 Merge heads. 2013-04-12 16:23:24 +03:00
Andrew Svetlov 2175b4ff28 #17688: fix declaration for richcmp example in the docs.
Thanks to Daniel Mullner
2013-04-12 16:09:00 +03:00