Commit graph

78646 commits

Author SHA1 Message Date
Georg Brandl
015427e659 merge with 3.3 2013-04-14 11:55:44 +02:00
Georg Brandl
5e2954e083 Clarify that the function *definition* creates the function and the binding in the module globals. 2013-04-14 11:47:46 +02: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
cc7571727f Style cleanups for pickle.py and _pickle. 2013-04-14 02:25:10 -07:00
Georg Brandl
f36f20f850 merge with 3.3 2013-04-14 11:16:46 +02:00
Georg Brandl
991fc5736e Closes #13638: document PyErr_SetFromErrnoWithFilenameObject,
PyErr_SetFromWindowsErrWithFilenameObject, and
PyErr_SetExcFromWindowsErrWithFilenameObject.

Note that PyErr_SetExcFromWindowsErrWithFilenameObjectAndSomeOtherParametersSoThatTheNameGetsSoLongThatNobodyIsEverGonnaUseThisStrangeFunctionForAnything is still undocumented.
2013-04-14 11:12:16 +02:00
Alexandre Vassalotti
6d9e14593e Merge 3.3 2013-04-14 02:11:16 -07:00
Alexandre Vassalotti
5c4874f7a2 Merge heads. 2013-04-14 02:10:14 -07:00
Georg Brandl
1e6a3a2fe9 merge with 3.3 2013-04-14 10:59:17 +02:00
Georg Brandl
a204636b91 bind('') does not do the same as bind('localhost') 2013-04-14 10:59:04 +02:00
Georg Brandl
f221377d8b merge with 3.3 2013-04-14 10:50:13 +02:00
Georg Brandl
5f4b4ac73e Update code examples using collections.abc classes. 2013-04-14 10:50:05 +02:00
Georg Brandl
9def20566a merge with 3.3 2013-04-14 10:31:24 +02:00
Georg Brandl
7b8c1324d7 Closes #17726: small clarification in design FAQ. 2013-04-14 10:31:06 +02:00
Alexandre Vassalotti
00d83f2d05 Clean up error messages raised by save_reduce in _pickle. 2013-04-14 01:28:01 -07:00
Georg Brandl
94a9a2da32 merge with 3.3 2013-04-14 10:19:31 +02:00
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