Nick Coghlan
c4e0d982f3
Close issue #16163 : handle submodules in pkgutil.iter_importers
2013-04-14 22:30:42 +10:00
Alexandre Vassalotti
8157459d6b
Merge heads.
2013-04-14 03:31:40 -07:00
Alexandre Vassalotti
8db89ca56c
Issue #16550 : Update the opcode descriptions of pickletools to use unsigned
...
integers where appropriate. Initial patch by Serhiy Storchaka.
2013-04-14 03:30:35 -07:00
Georg Brandl
1aca953a40
Fix example ignoring ".svn" directories in compileall.
2013-04-14 12:02:43 +02:00
Georg Brandl
1e1134a314
The Integral class does not contain implementations for the bit-shifting operations. (See #3056.)
2013-04-14 11:58:54 +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
1d472b74cb
Closes #14462 : allow any valid Python identifier in sre group names, as documented.
2013-04-14 11:40:00 +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
5c4874f7a2
Merge heads.
2013-04-14 02:10:14 -07:00
Georg Brandl
a204636b91
bind('') does not do the same as bind('localhost')
2013-04-14 10:59:04 +02:00
Georg Brandl
5f4b4ac73e
Update code examples using collections.abc classes.
2013-04-14 10:50:05 +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
e09596862a
Update using/mac documentation which was still on 2.5.
2013-04-14 10:17:35 +02:00
Georg Brandl
dec3b3f704
Clarify point in name mangling doc.
2013-04-14 10:13:42 +02: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
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
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
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
f756f947f9
#17571 : remove broken links in datetime.py docstring.
2013-04-13 20:12:38 +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
c9734484ca
Issue #17715 : Add missing NULL Check to PyNumber_Long.
2013-04-13 17:44:44 +01:00
Andrew Svetlov
b4fd468f12
Revert changes for #13355 by request from Raymond Hettinger
2013-04-13 18:00:04 +03: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
eff6444751
Fix whitespaces
2013-04-12 23:30:41 +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
7b2c8bb833
Issue #16658 : add missing return to HTTPConnection.send().
...
Patch by Jeff Knupp
2013-04-12 22:49:19 +03:00
Ezio Melotti
a3b255f275
#17653 : fix typo in socketserver docs. Patch by Tshepang Lekhonkhobe.
2013-04-12 19:19:21 +03:00
Ezio Melotti
6ebdb61b67
Merge heads.
2013-04-12 16:23:24 +03:00
Andrew Svetlov
59d6d2dbeb
#17688 : fix declaration for richcmp example in the docs.
...
Thanks to Daniel Mullner
2013-04-12 16:08:40 +03:00
Ezio Melotti
075d87cf05
#6696 : add documentation for the Profile objects, and improve profile/cProfile docs. Patch by Tom Pinckney.
2013-04-12 15:42:06 +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
Roger Serwy
1eafd1076e
#17585 : Fixed IDLE regression. Now closes when using exit() or quit().
2013-04-11 19:16:44 -05:00
Antoine Pitrou
36b045f4db
Fix supernumerary 's' in sys._debugmallocstats() output.
2013-04-11 21:01:40 +02: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
R David Murray
5e2f593145
#14971 : Use class method name, not function.__name__, during unittest discovery.
2013-04-11 08:55:45 -04:00
Senthil Kumaran
f49581c2a1
normalize whitespace
2013-04-10 20:55:58 -07:00
Senthil Kumaran
277e9090b0
#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
...
contribution by Thomas Fenzl & Maksim Kozyarchuk
2013-04-10 20:51:19 -07:00
Benjamin Peterson
c9314d9e08
don't run frame if it has no stack ( closes #17669 )
2013-04-10 17:00:56 -04:00
Ezio Melotti
cd514cf175
#12820 : add tests for the xml.dom.minicompat module. Patch by John Chandler and Phil Connell.
2013-04-10 19:30:11 +03:00
Ezio Melotti
c09959ae0f
#17635 : fix wrong function name in multiprocessing docs.
2013-04-10 17:59:20 +03:00
Senthil Kumaran
d9fbf36bbd
#17678 : Fix DeprecationWarning in the http/cookiejar.py by changing the usage
...
of get_origin_req_host() to origin_req_host.
Patch by Wei-Cheng Pan
2013-04-09 07:07:59 -07:00
Senthil Kumaran
d281c73536
#17648 - convert test_urllib2.py doctests to unittests
2013-04-09 06:00:16 -07:00
Roger Serwy
0803a39561
#17657 : Show full Tk version in IDLE's about dialog.
...
Patch by Todd Rovito.
2013-04-08 20:57:13 -05:00
Serhiy Storchaka
7e69f0085e
Close #17666 : Fix reading gzip files with an extra field.
2013-04-08 22:35:02 +03:00
Andrew Svetlov
b0f9fa7a03
Add NEWS entry for #17502 : Process DEFAULT values in mock side_effect that returns iterator.
2013-04-08 12:59:30 +03:00
Roger Serwy
7733be8f26
#17613 : Prevent traceback when removing syntax colorizer in IDLE.
2013-04-07 12:41:16 -05:00
Roger Serwy
6b2918ae75
#1207589 : Backwards-compatibility patch for right-click menu in IDLE.
2013-04-07 12:15:52 -05:00
Andrew Svetlov
8b2cd75bdd
Process DEFAULT values in mock side_effect that returns iterator.
...
Patch by Michael Ford.
2013-04-07 16:42:24 +03:00