Commit Graph

81336 Commits

Author SHA1 Message Date
Georg Brandl 1a51b558a5 Simplify markup. 2013-10-21 09:07:31 +02:00
Georg Brandl eb2aeecc2f Reformat statistics.rst and remove unnecessary headings for each function. 2013-10-21 08:57:26 +02:00
Georg Brandl a606542e95 #19274: use captured_stdout() in the test suite; add NEWS entry. 2013-10-21 08:29:29 +02:00
Ethan Furman b0c84cdaac Issue #19030: final pieces for proper location of various class attributes located in the metaclass.
Okay, hopefully the very last patch for this issue.  :/

I realized when playing with Enum that the metaclass attributes weren't always displayed properly.

New patch properly locates DynamicClassAttributes, virtual class attributes (returned by __getattr__ and friends), and metaclass class attributes (if they are also in the metaclass __dir__ method).

Also had to change one line in pydoc to get this to work.

Added tests in test_inspect and test_pydoc to cover these situations.
2013-10-20 22:37:39 -07:00
Raymond Hettinger c93dbe2f9b Issue #19271: By Python3.4, the Python 2.4 backport links are no longer of much interest. 2013-10-20 20:42:07 -07:00
Guido van Rossum 2063aafc6e Update faulthandler docs. 2013-10-20 19:15:19 -07:00
Christian Tismer 59202e5fc7 add a filterfunc to zip file.PyZipFile.writepy, issue 19274 2013-10-21 03:59:23 +02:00
Ezio Melotti 47f1b762fd #19319: merge with 3.3. 2013-10-21 04:42:12 +03:00
Ezio Melotti e45975080b #19319: fix ctypes docs: sizeof is an operator in C, not a function. 2013-10-21 04:41:40 +03:00
Guido van Rossum 7be5d7d0e0 Issue 19306: Add extra hints to faulthandler stack dumps that they are upside down. 2013-10-20 18:21:02 -07:00
Ezio Melotti 5c16c2eb45 #8964: merge with 3.3. 2013-10-21 03:05:46 +03:00
Ezio Melotti f076f53386 #8964: fix platform._sys_version to handle IronPython 2.6+. 2013-10-21 03:03:32 +03:00
Ezio Melotti 632f1bfd39 #19238, #19289: merge with 3.3. 2013-10-21 02:53:30 +03:00
Ezio Melotti c318442571 #19238, #19289: fix description of the align and fill values of the format specification. 2013-10-21 02:53:07 +03:00
Ezio Melotti 566a2be95c #18958: Improve error message for json.load(s) while passing a string that starts with a UTF-8 BOM. 2013-10-21 02:10:55 +03:00
Ezio Melotti a0e768ccc2 #19307: Improve error message for json.load(s) while passing objects of the wrong type. 2013-10-21 01:52:33 +03:00
Benjamin Peterson 4ea16e56eb remove backticks 2013-10-20 17:52:54 -04:00
Benjamin Peterson 44c3065b62 fix declaration of StatisticsError 2013-10-20 17:52:09 -04:00
Benjamin Peterson 6b4f7803f8 cleanup the construction of __qualname__ (closes #19301 again) 2013-10-20 17:50:28 -04:00
Antoine Pitrou a7a150c7c6 Close #19297: fix resource warnings in test_asyncio. Patch by Vajrasky Kok. 2013-10-20 23:26:23 +02:00
Charles-François Natali 5121debebf Issue #19310: asyncio: fix child processes reaping logic. 2013-10-20 23:23:44 +02:00
Andrew Kuchling e5a3154c63 Grammar fix 2013-10-20 15:53:08 -04:00
Antoine Pitrou 7d61800489 Skip one asyncio test when IPv6 isn't supported (Windows buildbots) 2013-10-20 21:45:29 +02:00
Antoine Pitrou cb1fe98f76 Make various asyncio test files individually runnable 2013-10-20 21:02:53 +02:00
Charles-François Natali bcd76827f4 Issue #19309: asyncio: make waitpid() wait for all child processes, not only
those in the same process group.
2013-10-20 20:31:43 +02:00
Serhiy Storchaka f3e21ba5af Make test_audioop discoverable by unittest. 2013-10-20 17:25:34 +03:00
Serhiy Storchaka 6e9e4fe97c Make test_audioop discoverable by unittest. 2013-10-20 17:24:42 +03:00
Serhiy Storchaka 2acc456c33 Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline().  Original patch by Michał
Jastrzębski and Giampaolo Rodola.
2013-10-20 17:02:10 +03:00
Serhiy Storchaka c30b178cbc Issue #16038: CVE-2013-1752: ftplib: Limit amount of data read by
limiting the call to readline().  Original patch by Michał
Jastrzębski and Giampaolo Rodola.
2013-10-20 16:58:27 +03:00
Nick Coghlan 6de9200e57 Close #19313: remove no longer needed Py_XINCREF
Eliminates a refleak introduced in commit b4a325275fb0
2013-10-20 22:43:53 +10:00
Serhiy Storchaka 36af10c1f7 Issue #17087: Improved the repr for regular expression match objects. 2013-10-20 13:13:31 +03:00
Serhiy Storchaka d5fd8df22f Add yet some 24-bit tests. 2013-10-20 12:49:04 +03:00
Serhiy Storchaka ce82eb2e13 Issue #12866: Fix bias() for 24-bit. Add more tests. 2013-10-20 09:42:26 +03:00
Guido van Rossum d49c47bfb0 Break out of loop on EOF in asyncio echo test programs. 2013-10-19 21:26:34 -07:00
Nick Coghlan 0acceb7697 What's New updates prior to alpha 2013-10-20 13:22:21 +10:00
Nick Coghlan 4dae27a08d Tweak 'provisional' in glossary 2013-10-20 13:22:04 +10:00
Antoine Pitrou 92945c574b Un-backout e3ec6b17260c - the test fix was actually also necessary 2013-10-20 02:16:40 +02:00
Antoine Pitrou c1b78419e6 Backout e3ec6b17260c after Guido's fix 2013-10-20 02:09:08 +02:00
Guido van Rossum 32e46850a1 (Hopefully) proper fix for gentoo buildbot failure due to lacking AF_INET6 support.
This should supersede revision e3ec6b17260c (but please test before removing that).
2013-10-19 17:04:25 -07:00
Antoine Pitrou d20afad7d4 Issue #19305: try to fix sporadic test_asyncio failure on FreeBSD 10.0 2013-10-20 01:51:25 +02:00
Antoine Pitrou 0d9eefda34 Try to fix test_asyncio dual stack test when creating an IPv6 socket fails 2013-10-20 01:10:52 +02:00
Antoine Pitrou 4ca7355901 Issue #19299: fix refleak test failures in test_asyncio 2013-10-20 00:54:10 +02:00
Benjamin Peterson 34d33a595b removal u_qualname, since compiler_scope_qualname is only ever called once 2013-10-19 16:15:58 -04:00
Benjamin Peterson a8a38b8e4f strengthen condition and add assertion 2013-10-19 16:14:39 -04:00
Christian Heimes ebe83f9875 fix compile issue on windows. path is now a struct ptr 2013-10-19 22:36:17 +02:00
Antoine Pitrou e55013febe Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.
Patch by David Edelsohn.
2013-10-19 22:06:26 +02:00
Antoine Pitrou 0abb21884c Issue #18235: Fix the sysconfig variables LDSHARED and BLDSHARED under AIX.
Patch by David Edelsohn.
2013-10-19 22:05:05 +02:00
Benjamin Peterson 3d9e481ece give explicitly global functions and classes a global __qualname__ (closes #19301) 2013-10-19 16:01:13 -04:00
Ned Deily 3586673703 Issue #19304: Fix typos noted by Claudiu Popa. 2013-10-19 12:10:01 -07:00
Larry Hastings f5e987bbe6 Issue #18606: Add the new "statistics" module (PEP 450). Contributed
by Steven D'Aprano.
2013-10-19 11:50:09 -07:00