summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix supernumerary 's' in sys._debugmallocstats() output.Antoine Pitrou2013-04-111-1/+1
|\
| * Fix supernumerary 's' in sys._debugmallocstats() output.Antoine Pitrou2013-04-111-1/+1
| |
* | Fix a crash when setting a servername callback on a SSL server socket and ↵Antoine Pitrou2013-04-114-13/+30
| | | | | | | | | | | | | | the client doesn't send a server name. Patch by Kazuhiro Yoshida. (originally issue #8109)
* | #17690: merge with 3.3.Ezio Melotti2013-04-112-15/+7
|\ \ | |/
| * #17690: test_time now works with unittest test discovery. Patch by Zachary ↵Ezio Melotti2013-04-112-15/+7
| | | | | | | | Ware.
* | Fix invalid markup.Georg Brandl2013-04-111-2/+2
| |
* | Merge #14971: Use class method name, not function.__name__, during unittest ↵R David Murray2013-04-113-1/+20
|\ \ | |/ | | | | discovery.
| * #14971: Use class method name, not function.__name__, during unittest discovery.R David Murray2013-04-113-1/+20
| |
* | null mergeSenthil Kumaran2013-04-110-0/+0
|\ \ | |/
| * normalize whitespaceSenthil Kumaran2013-04-111-2/+2
| |
* | normalize whitespace. caught by hookSenthil Kumaran2013-04-111-2/+2
| |
* | merge from 3.3Senthil Kumaran2013-04-111-18/+58
|\ \ | |/ | | | | | | #5609 - test_urllib coverage for url2pathname and pathname2url. Patch contribution by Thomas Fenzl & Maksim Kozyarchuk
| * #5609 - test_urllib coverage for url2pathname and pathname2url. PatchSenthil Kumaran2013-04-111-17/+56
| | | | | | | | contribution by Thomas Fenzl & Maksim Kozyarchuk
* | merge 3.3 (#17669)Benjamin Peterson2013-04-102-1/+3
|\ \ | |/
| * don't run frame if it has no stack (closes #17669)Benjamin Peterson2013-04-102-1/+3
| |
* | Merge heads.Ezio Melotti2013-04-104-0/+109
|\ \
| * \ #12820: merge with 3.3.Ezio Melotti2013-04-104-0/+109
| |\ \ | | |/
| | * #12820: add tests for the xml.dom.minicompat module. Patch by John Chandler ↵Ezio Melotti2013-04-104-0/+109
| | | | | | | | | | | | and Phil Connell.
* | | #17487: wave.getparams now returns a namedtuple.R David Murray2013-04-105-8/+38
|/ / | | | | | | Patch by Claudiu Popa.
* | #17635: merge with 3.3.Ezio Melotti2013-04-101-1/+1
|\ \ | |/
| * #17635: fix wrong function name in multiprocessing docs.Ezio Melotti2013-04-101-1/+1
| |
* | Fix issue #17675: make socket repr() provide local and remote addresses (if ↵Giampaolo Rodola'2013-04-103-9/+40
| | | | | | | | any).
* | Close #14439: Python now prints the traceback on runpy failure at startup.Victor Stinner2013-04-092-2/+8
| |
* | Issue #17615: On Windows (VS2010), Performances of wmemcmp() to compare UnicodeVictor Stinner2013-04-092-12/+0
| | | | | | | | | | | | | | | | strings are not convincing. For UCS2 (16-bit wchar_t type), use a dummy loop instead of wmemcmp(). The dummy loop is as fast, or a little bit faster. wchar_t is only 16-bit long on Windows. wmemcmp() is still used for 32-bit wchar_t.
* | mergeBrett Cannon2013-04-094-50/+162
|\ \
| * | replace(): only call PyUnicode_DATA(u) onceVictor Stinner2013-04-091-3/+4
| | |
| * | Write super-fast version of str.strip(), str.lstrip() and str.rstrip() for ↵Victor Stinner2013-04-091-19/+45
| | | | | | | | | | | | pure ASCII
| * | Don't calls macros in PyUnicode_WRITE() parametersVictor Stinner2013-04-091-2/+10
| | | | | | | | | | | | PyUnicode_WRITE() expands some parameters twice or more.
| * | Fix do_strip(): don't call PyUnicode_READ() in Py_UNICODE_ISSPACE() to not callVictor Stinner2013-04-091-3/+10
| | | | | | | | | | | | it twice
| * | Fix _PyUnicode_XStrip()Victor Stinner2013-04-091-10/+18
| | | | | | | | | | | | | | | | | | Inline the BLOOM_MEMBER() to only call PyUnicode_READ() only once (per loop iteration). Store also the length of the seperator in a variable to avoid calls to PyUnicode_GET_LENGTH().
| * | Optimize PyUnicode_DecodeCharmap()Victor Stinner2013-04-091-7/+9
| | | | | | | | | | | | | | | Avoid expensive PyUnicode_READ() and PyUnicode_WRITE(), manipulate pointers instead.
| * | Optimize make_bloom_mask(), used by str.strip(), str.lstrip() and str.rstrip()Victor Stinner2013-04-091-5/+27
| | | | | | | | | | | | | | | Write specialized functions per Unicode kind to avoid the expensive PyUnicode_READ() macro.
| * | Use PyUnicode_READ() instead of PyUnicode_READ_CHAR()Victor Stinner2013-04-091-6/+22
| | | | | | | | | | | | | | | "PyUnicode_READ_CHAR() is less efficient than PyUnicode_READ() because it calls PyUnicode_KIND() and might call it twice." according to its documentation.
| * | Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings:Victor Stinner2013-04-094-4/+26
| | | | | | | | | | | | cp037, cp500 and iso8859_1 codecs
* | | What's new entry for issue #17093Brett Cannon2013-04-091-1/+5
| | |
* | | Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/returnBrett Cannon2013-04-097-2234/+2317
|/ / | | | | | | | | | | | | | | | | | | the default exception/value when called instead of raising/returning NotimplementedError/NotImplemented (except where appropriate). This should allow for the ABCs to act as the bottom/end of the MRO with expected default results. As part of this work, also make importlib.abc.Loader.module_repr() optional instead of an abstractmethod.
* | merge headsGiampaolo Rodola'2013-04-092-1/+4
|\ \
| * \ #17678: Remove the use of a deprecated method http/cookiejar.py. Changing theSenthil Kumaran2013-04-092-1/+4
| |\ \ | | |/ | | | | | | | | | | | | usage of get_origin_req_host() to origin_req_host. Patch by Wei-Cheng Pan
| | * #17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usageSenthil Kumaran2013-04-092-1/+4
| | | | | | | | | | | | | | | | | | of get_origin_req_host() to origin_req_host. Patch by Wei-Cheng Pan
| * | null mergeSenthil Kumaran2013-04-090-0/+0
| |\ \ | | |/
| | * #17648 - convert test_urllib2.py doctests to unittestsSenthil Kumaran2013-04-091-210/+186
| | |
* | | Do not raise exception on close() on account of socket attribute still being ↵Giampaolo Rodola'2013-04-091-5/+6
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | None: >>> import asyncore >>> d = asyncore.dispatcher() >>> d.close() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.4/asyncore.py", line 401, in close self.socket.close() AttributeError: 'NoneType' object has no attribute 'close' >>>
* | #17648 - Clean up test_urllib2.py. Converted doctests to unittest forSenthil Kumaran2013-04-091-215/+185
| | | | | | | | expansion.
* | #17657: merge with 3.3.Roger Serwy2013-04-092-6/+4
|\ \ | |/
| * #17657: Show full Tk version in IDLE's about dialog.Roger Serwy2013-04-092-6/+4
| | | | | | | | Patch by Todd Rovito.
* | Issue #17615: Comparing two Unicode strings now uses wmemcmp() when possibleVictor Stinner2013-04-085-5/+30
| | | | | | | | | | wmemcmp() is twice faster than a dummy loop (342 usec vs 744 usec) on Fedora 18/x86_64, GCC 4.7.2.
* | Issue #17615: Add tests comparing Unicode strings of different kindsVictor Stinner2013-04-081-0/+85
| | | | | | | | Kinds: ascii, latin, bmp, astral.
* | Issue #17615: Expand expensive PyUnicode_READ() macro in unicode_compare():Victor Stinner2013-04-081-17/+77
| | | | | | | | write specialized functions for each combination of Unicode kinds.
* | Close #17666: Fix reading gzip files with an extra field.Serhiy Storchaka2013-04-083-1/+11
|\ \ | |/
| * Close #17666: Fix reading gzip files with an extra field.Serhiy Storchaka2013-04-083-1/+11
| |