Commit Graph

77868 Commits

Author SHA1 Message Date
R David Murray ac0cea5fab Merge: #17476: make allmethods actually return all methods.
This fixes a regression relative to Python2.  (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).

This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.

Original patch by Matt Bachmann.
2013-03-19 02:47:44 -04:00
Benjamin Peterson 3a61943b7b bump Python-ast.c 2013-03-18 23:40:53 -07:00
Benjamin Peterson 7654ab9ef0 placate msvc 2013-03-18 23:39:53 -07:00
R David Murray 52dfc74080 #17476: make allmethods actually return all methods.
This fixes a regression relative to Python2.  (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).

This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.

Original patch by Matt Bachmann.
2013-03-19 02:32:35 -04:00
R David Murray 9929bc543a #17476: make allmethods actually return all methods.
This fixes a regression relative to Python2.  (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).

This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.

Original patch by Matt Bachmann.
2013-03-19 02:31:06 -04:00
Benjamin Peterson dc41f552a2 merge heads 2013-03-18 23:28:07 -07:00
Benjamin Peterson b72406b8fa refactor to fix refleaks 2013-03-18 23:24:41 -07:00
Benjamin Peterson 6fba3dbce0 sprinkle const 2013-03-18 23:13:31 -07:00
R David Murray 455f296188 #17464: improve pydoc test coverage.
Patch by Matt Bachmann.
2013-03-19 00:00:33 -04:00
Senthil Kumaran 41518b4af0 #17474 - Remove the various deprecated methods of Request class. 2013-03-18 18:06:00 -07:00
Michael Foord 80cbc9e998 Closes issue 16709. unittest test discovery sorts test files for consistent test ordering 2013-03-18 17:50:12 -07:00
Gregory P. Smith 029273fc90 Fixes issue #17192: Update the ctypes module's libffi to v3.0.13. This
specifically addresses a stack misalignment issue on x86 and issues on
some more recent platforms.
2013-03-18 17:11:20 -07:00
Senthil Kumaran 7f6d79721d #10050 : merge to default 2013-03-18 17:10:45 -07:00
Senthil Kumaran 6227c6952e #10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 ) 2013-03-18 17:09:50 -07:00
Benjamin Peterson 45c9704b73 use the HTTPS for pypi upload 2013-03-18 15:20:56 -07:00
Michael Foord 35266f78b7 Merge 2013-03-18 15:04:33 -07:00
Michael Foord f575230981 Documentation corrections for unittest.mock 2013-03-18 15:04:03 -07:00
R David Murray 1a48b9dd7d #5024: whichhdr now returns the frame count for WAV files.
Patch by Ned Jackson Lovely based on a suggestion by Robert Pyle.
2013-03-18 17:42:42 -04:00
Senthil Kumaran 052ddb01b3 #17460: Remove the strict argument of HTTPConnection and removing the
DeprecationWarning being issued from 3.2 onwards.
2013-03-18 14:11:41 -07:00
Benjamin Peterson aad1d87339 move declaration to top of block 2013-03-18 10:59:41 -07:00
Benjamin Peterson 57048b6f9f add Sven Brauch for his #16795 contribution 2013-03-18 10:52:04 -07:00
Benjamin Peterson cda75be02a unify some ast.argument's attrs; change Attribute column offset (closes #16795)
Patch from Sven Brauch.
2013-03-18 10:48:58 -07:00
Andrew Svetlov c45e041bff Issue #17463: Fix test discovery for test_pdb.py 2013-03-18 10:10:08 -07:00
Andrew Svetlov f0efea0841 Issue #17463: Fix test discovery for test_pdb.py 2013-03-18 10:09:50 -07:00
Giampaolo Rodola' a77d7a52e8 (issue 17452 / ftplib) fix TypeError occurring in case ssl module is not installed 2013-03-18 09:59:15 +01:00
R David Murray 0351928359 Merge #17448: Make test_sax skip if there are no xml parsers.
Patch by Rafael Santos.
2013-03-18 00:21:43 -04:00
R David Murray f3a1b6efe0 Merge #17448: Make test_sax skip if there are no xml parsers.
Patch by Rafael Santos.
2013-03-18 00:20:43 -04:00
R David Murray a846f5ace8 #17448: Make test_sax skip if there are no xml parsers.
Patch by Rafael Santos.
2013-03-18 00:18:12 -04:00
R David Murray fbb1815491 Merge #16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
2013-03-17 21:53:48 -04:00
R David Murray 1f2a49cfc6 Merge #16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
2013-03-17 21:53:23 -04:00
R David Murray dd246171e4 #16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
2013-03-17 21:52:35 -04:00
Brett Cannon 5a948a7eee merge 2013-03-17 15:49:21 -07:00
Brett Cannon 3e2fe05e62 Issue #16880: _imp.load_dynamic() is not defined on a platform that
does not support dynamic loading (e.g. Atari), so make sure that imp
doesn't assume it always exists.

Patch by Christian Heimes.
2013-03-17 15:48:16 -07:00
Terry Jan Reedy 15cddb498e Merge with 3.3 2013-03-17 15:29:19 -04:00
Terry Jan Reedy b271727bad Merge with 3.2 2013-03-17 15:28:52 -04:00
Terry Jan Reedy f3460414d5 Issue #17415: Trim trailing whitespace 2013-03-17 15:28:10 -04:00
Terry Jan Reedy a52c2d6d2f Merge with 3.3 2013-03-17 15:25:12 -04:00
Terry Jan Reedy 3380170ea5 Merge with 3.2 2013-03-17 15:22:00 -04:00
Terry Jan Reedy ec6e132987 Issue #17415: Clarify 'this' referent by moving containing sentence just after
the sentence referred to. Make other minor edits to improve flow.
2013-03-17 15:21:26 -04:00
Benjamin Peterson 2481899acd merge heads 2013-03-16 15:39:42 -07:00
Benjamin Peterson aa14dc3b4e C89 compliance 2013-03-16 15:38:28 -07:00
Serhiy Storchaka cb3ae4b1c9 Issue #16389: Fixed an issue number in previos commit. 2013-03-16 23:00:16 +02:00
Serhiy Storchaka 1eec53d9ba Issue #16389: Fixed an issue number in previos commit. 2013-03-16 22:59:59 +02:00
Serhiy Storchaka a99dfd1ab6 Issue #16389: Fixed an issue number in previos commit. 2013-03-16 22:59:27 +02:00
Serhiy Storchaka f5efe3b796 Issue #16564: Fixed a performance regression relative to Python 3.1 in the
caching of compiled regular expressions.
2013-03-16 22:55:04 +02:00
Serhiy Storchaka 969ff72642 Issue #16564: Fixed a performance regression relative to Python 3.1 in the
caching of compiled regular expressions.
2013-03-16 22:53:48 +02:00
Serhiy Storchaka 0f606a636a Issue #16564: Fixed a performance regression relative to Python 3.1 in the
caching of compiled regular expressions.
2013-03-16 22:52:09 +02:00
Serhiy Storchaka b6fbd46a15 Null merge 2013-03-16 22:50:30 +02:00
Serhiy Storchaka fa320aea9c Null merge 2013-03-16 22:50:13 +02:00
Ezio Melotti 2acd293077 Fix markup/wording. 2013-03-16 22:23:30 +02:00