]> granicus.if.org Git - python/log
python
11 years agoproperly lookup the __round__ special method (closes #17722)
Benjamin Peterson [Sat, 13 Apr 2013 21:19:01 +0000 (17:19 -0400)]
properly lookup the __round__ special method (closes #17722)

11 years agoFix misindent. This would test half less possibilities.
Antoine Pitrou [Sat, 13 Apr 2013 20:46:33 +0000 (22:46 +0200)]
Fix misindent.  This would test half less possibilities.

11 years agoIssue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal.
Antoine Pitrou [Sat, 13 Apr 2013 20:41:09 +0000 (22:41 +0200)]
Issue #15480: Remove the deprecated and unused TYPE_INT64 code from marshal.
Initial patch by Daniel Riti.

11 years agoIssue #16061: Speed up str.replace() for replacing 1-character strings.
Serhiy Storchaka [Sat, 13 Apr 2013 19:45:04 +0000 (22:45 +0300)]
Issue #16061: Speed up str.replace() for replacing 1-character strings.

11 years ago#17719: fix incorrect version number in deprecation doc.
R David Murray [Sat, 13 Apr 2013 19:29:22 +0000 (15:29 -0400)]
#17719: fix incorrect version number in deprecation doc.

Patch by Kent Johnson.

11 years ago#2118: Make SMTPException a subclass of IOError.
R David Murray [Sat, 13 Apr 2013 18:49:48 +0000 (14:49 -0400)]
#2118: Make SMTPException a subclass of IOError.

Initial patch by Ned Jackson Lovely.

11 years agoMerge #2118: clarify smtplib exception documentation.
R David Murray [Sat, 13 Apr 2013 18:42:36 +0000 (14:42 -0400)]
Merge #2118: clarify smtplib exception documentation.

11 years agoReflow paragraph.
R David Murray [Sat, 13 Apr 2013 18:40:51 +0000 (14:40 -0400)]
Reflow paragraph.

11 years ago#2118: clarify smtplib exception documentation.
R David Murray [Sat, 13 Apr 2013 18:40:33 +0000 (14:40 -0400)]
#2118: clarify smtplib exception documentation.

11 years agoIssue #17016: Get rid of possible pointer wraparounds and integer overflows
Serhiy Storchaka [Sat, 13 Apr 2013 18:16:40 +0000 (21:16 +0300)]
Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.

11 years agoIssue #17016: Get rid of possible pointer wraparounds and integer overflows
Serhiy Storchaka [Sat, 13 Apr 2013 18:15:47 +0000 (21:15 +0300)]
Issue #17016: Get rid of possible pointer wraparounds and integer overflows
in the re module.  Patch by Nickolai Zeldovich.

11 years ago#17571: merge with 3.3.
Ezio Melotti [Sat, 13 Apr 2013 17:12:53 +0000 (20:12 +0300)]
#17571: merge with 3.3.

11 years ago#17571: remove broken links in datetime.py docstring.
Ezio Melotti [Sat, 13 Apr 2013 17:12:38 +0000 (20:12 +0300)]
#17571: remove broken links in datetime.py docstring.

11 years ago#17686: merge with 3.3.
Ezio Melotti [Sat, 13 Apr 2013 17:07:58 +0000 (20:07 +0300)]
#17686: merge with 3.3.

11 years ago#17686: fix broken link in Doc/using/unix.rst. Patch by Dan Riti.
Ezio Melotti [Sat, 13 Apr 2013 17:07:42 +0000 (20:07 +0300)]
#17686: fix broken link in Doc/using/unix.rst.  Patch by Dan Riti.

11 years agoIssue #17715: Merge fix from 3.3.
Mark Dickinson [Sat, 13 Apr 2013 16:46:04 +0000 (17:46 +0100)]
Issue #17715: Merge fix from 3.3.

11 years agoIssue #17715: Add missing NULL Check to PyNumber_Long.
Mark Dickinson [Sat, 13 Apr 2013 16:44:44 +0000 (17:44 +0100)]
Issue #17715: Add missing NULL Check to PyNumber_Long.

11 years agoIssue #17713: Test temporarily skipped while failure investigated.
Vinay Sajip [Sat, 13 Apr 2013 16:35:14 +0000 (17:35 +0100)]
Issue #17713: Test temporarily skipped while failure investigated.

11 years agoMerge heads.
Mark Dickinson [Sat, 13 Apr 2013 15:09:52 +0000 (16:09 +0100)]
Merge heads.

11 years agoFix incorrect indentation on 'versionadded' for weakref.ref.__callback__.
Mark Dickinson [Sat, 13 Apr 2013 15:09:18 +0000 (16:09 +0100)]
Fix incorrect indentation on 'versionadded' for weakref.ref.__callback__.

11 years agoRevert changes for #13355 by request from Raymond Hettinger
Andrew Svetlov [Sat, 13 Apr 2013 15:04:19 +0000 (18:04 +0300)]
Revert changes for #13355 by request from Raymond Hettinger

11 years agoRevert changes for #13355 by request from Raymond Hettinger
Andrew Svetlov [Sat, 13 Apr 2013 15:00:04 +0000 (18:00 +0300)]
Revert changes for #13355 by request from Raymond Hettinger

11 years agoIssue #17643: Add __callback__ attribute to weakref.ref.
Mark Dickinson [Sat, 13 Apr 2013 14:45:44 +0000 (15:45 +0100)]
Issue #17643: Add __callback__ attribute to weakref.ref.

11 years agoIssue #16447: Merge fix from 3.3.
Mark Dickinson [Sat, 13 Apr 2013 14:30:16 +0000 (15:30 +0100)]
Issue #16447: Merge fix from 3.3.

11 years agoIssue #16447: Fix potential segfault when setting __name__ on a class.
Mark Dickinson [Sat, 13 Apr 2013 14:26:58 +0000 (15:26 +0100)]
Issue #16447: Fix potential segfault when setting __name__ on a class.

11 years agoFix whitespaces
Andrew Svetlov [Fri, 12 Apr 2013 20:30:59 +0000 (23:30 +0300)]
Fix whitespaces

11 years agoFix whitespaces
Andrew Svetlov [Fri, 12 Apr 2013 20:30:41 +0000 (23:30 +0300)]
Fix whitespaces

11 years agoIssue #13355: Raise ValueError on random.triangular call with invalid params.
Andrew Svetlov [Fri, 12 Apr 2013 20:27:37 +0000 (23:27 +0300)]
Issue #13355: Raise ValueError on random.triangular call with invalid params.

Initial patch by Yuriy Senko.

11 years agoIssue #13355: Raise ValueError on random.triangular call with invalid params.
Andrew Svetlov [Fri, 12 Apr 2013 20:21:01 +0000 (23:21 +0300)]
Issue #13355: Raise ValueError on random.triangular call with invalid params.

Initial patch by Yuriy Senko.

11 years agoIssue #16658: add missing return to HTTPConnection.send().
Andrew Svetlov [Fri, 12 Apr 2013 19:50:42 +0000 (22:50 +0300)]
Issue #16658: add missing return to HTTPConnection.send().

Patch by Jeff Knupp

11 years agoIssue #16658: add missing return to HTTPConnection.send().
Andrew Svetlov [Fri, 12 Apr 2013 19:49:19 +0000 (22:49 +0300)]
Issue #16658: add missing return to HTTPConnection.send().

Patch by Jeff Knupp

11 years agoattempt to fix bb failure as per http://bugs.python.org/issue17675#msg186595
Giampaolo Rodola' [Fri, 12 Apr 2013 16:28:15 +0000 (18:28 +0200)]
attempt to fix bb failure as per http://bugs.python.org/issue17675#msg186595

11 years ago#17653: merge with 3.3.
Ezio Melotti [Fri, 12 Apr 2013 16:19:45 +0000 (19:19 +0300)]
#17653: merge with 3.3.

11 years ago#17653: fix typo in socketserver docs. Patch by Tshepang Lekhonkhobe.
Ezio Melotti [Fri, 12 Apr 2013 16:19:21 +0000 (19:19 +0300)]
#17653: fix typo in socketserver docs.  Patch by Tshepang Lekhonkhobe.

11 years agoClosed #9556: Allowed specifying a time-of-day for a TimedRotatingFileHandler to...
Vinay Sajip [Fri, 12 Apr 2013 16:04:23 +0000 (17:04 +0100)]
Closed #9556: Allowed specifying a time-of-day for a TimedRotatingFileHandler to rotate.

11 years agoNull merge.
Ezio Melotti [Fri, 12 Apr 2013 13:25:41 +0000 (16:25 +0300)]
Null merge.

11 years agoMerge heads.
Ezio Melotti [Fri, 12 Apr 2013 13:24:12 +0000 (16:24 +0300)]
Merge heads.

11 years agoMerge heads.
Ezio Melotti [Fri, 12 Apr 2013 13:23:24 +0000 (16:23 +0300)]
Merge heads.

11 years ago#17688: fix declaration for richcmp example in the docs.
Andrew Svetlov [Fri, 12 Apr 2013 13:09:00 +0000 (16:09 +0300)]
#17688: fix declaration for richcmp example in the docs.

Thanks to Daniel Mullner

11 years ago#17688: fix declaration for richcmp example in the docs.
Andrew Svetlov [Fri, 12 Apr 2013 13:08:40 +0000 (16:08 +0300)]
#17688: fix declaration for richcmp example in the docs.

Thanks to Daniel Mullner

11 years ago#6696: merge with 3.3.
Ezio Melotti [Fri, 12 Apr 2013 12:44:37 +0000 (15:44 +0300)]
#6696: merge with 3.3.

11 years ago#6696: add documentation for the Profile objects, and improve profile/cProfile docs...
Ezio Melotti [Fri, 12 Apr 2013 12:42:06 +0000 (15:42 +0300)]
#6696: add documentation for the Profile objects, and improve profile/cProfile docs.  Patch by Tom Pinckney.

11 years ago#17692: merge with 3.3.
Ezio Melotti [Fri, 12 Apr 2013 11:14:22 +0000 (14:14 +0300)]
#17692: merge with 3.3.

11 years ago#17692: test_sqlite now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Fri, 12 Apr 2013 11:13:47 +0000 (14:13 +0300)]
#17692: test_sqlite now works with unittest test discovery.  Patch by Zachary Ware.

11 years ago#17585: merge with 3.3.
Roger Serwy [Fri, 12 Apr 2013 00:18:22 +0000 (19:18 -0500)]
#17585: merge with 3.3.

11 years ago#17585: Fixed IDLE regression. Now closes when using exit() or quit().
Roger Serwy [Fri, 12 Apr 2013 00:16:44 +0000 (19:16 -0500)]
#17585: Fixed IDLE regression. Now closes when using exit() or quit().

11 years ago#17699: Fix the new getpass test failures on windows.
R David Murray [Thu, 11 Apr 2013 21:45:32 +0000 (17:45 -0400)]
#17699: Fix the new getpass test failures on windows.

Patch by Zachary Ware.

11 years agoIssue #13056: Reenable test_multibytecodec.Test_StreamWriter tests
Victor Stinner [Thu, 11 Apr 2013 20:41:11 +0000 (22:41 +0200)]
Issue #13056: Reenable test_multibytecodec.Test_StreamWriter tests

11 years agoClose #17693: Rewrite CJK decoders to use the _PyUnicodeWriter API instead of
Victor Stinner [Thu, 11 Apr 2013 20:09:04 +0000 (22:09 +0200)]
Close #17693: Rewrite CJK decoders to use the _PyUnicodeWriter API instead of
the legacy Py_UNICODE API.

Add also a new _PyUnicodeWriter_WriteChar() function.

11 years agopython-gdb.py: Replace invalid Unicode character with U+FFFD to be able to
Victor Stinner [Thu, 11 Apr 2013 19:37:45 +0000 (21:37 +0200)]
python-gdb.py: Replace invalid Unicode character with U+FFFD to be able to
display invalid strings. Such strings can be found while Python is creating a
new string, in a text decoder for example, when Python is compiled in debug
mode.

11 years agoFix supernumerary 's' in sys._debugmallocstats() output.
Antoine Pitrou [Thu, 11 Apr 2013 19:02:20 +0000 (21:02 +0200)]
Fix supernumerary 's' in sys._debugmallocstats() output.

11 years agoFix supernumerary 's' in sys._debugmallocstats() output.
Antoine Pitrou [Thu, 11 Apr 2013 19:01:40 +0000 (21:01 +0200)]
Fix supernumerary 's' in sys._debugmallocstats() output.

11 years agoFix a crash when setting a servername callback on a SSL server socket and the client...
Antoine Pitrou [Thu, 11 Apr 2013 18:48:42 +0000 (20:48 +0200)]
Fix a crash when setting a servername callback on a SSL server socket and the client doesn't send a server name.
Patch by Kazuhiro Yoshida.
(originally issue #8109)

11 years ago#17690: merge with 3.3.
Ezio Melotti [Thu, 11 Apr 2013 17:30:48 +0000 (20:30 +0300)]
#17690: merge with 3.3.

11 years ago#17690: test_time now works with unittest test discovery. Patch by Zachary Ware.
Ezio Melotti [Thu, 11 Apr 2013 17:29:42 +0000 (20:29 +0300)]
#17690: test_time now works with unittest test discovery.  Patch by Zachary Ware.

11 years agoFix invalid markup.
Georg Brandl [Thu, 11 Apr 2013 14:10:13 +0000 (16:10 +0200)]
Fix invalid markup.

11 years agoMerge #14971: Use class method name, not function.__name__, during unittest discovery.
R David Murray [Thu, 11 Apr 2013 12:58:11 +0000 (08:58 -0400)]
Merge #14971: Use class method name, not function.__name__, during unittest discovery.

11 years ago#14971: Use class method name, not function.__name__, during unittest discovery.
R David Murray [Thu, 11 Apr 2013 12:55:45 +0000 (08:55 -0400)]
#14971: Use class method name, not function.__name__, during unittest discovery.

11 years agonull merge
Senthil Kumaran [Thu, 11 Apr 2013 03:56:32 +0000 (20:56 -0700)]
null merge

11 years agonormalize whitespace
Senthil Kumaran [Thu, 11 Apr 2013 03:55:58 +0000 (20:55 -0700)]
normalize whitespace

11 years agonormalize whitespace. caught by hook
Senthil Kumaran [Thu, 11 Apr 2013 03:54:23 +0000 (20:54 -0700)]
normalize whitespace. caught by hook

11 years agomerge from 3.3
Senthil Kumaran [Thu, 11 Apr 2013 03:53:12 +0000 (20:53 -0700)]
merge from 3.3

#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
contribution by Thomas Fenzl & Maksim Kozyarchuk

11 years ago#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
Senthil Kumaran [Thu, 11 Apr 2013 03:51:19 +0000 (20:51 -0700)]
#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
contribution by Thomas Fenzl & Maksim Kozyarchuk

11 years agomerge 3.3 (#17669)
Benjamin Peterson [Wed, 10 Apr 2013 21:01:38 +0000 (17:01 -0400)]
merge 3.3 (#17669)

11 years agodon't run frame if it has no stack (closes #17669)
Benjamin Peterson [Wed, 10 Apr 2013 21:00:56 +0000 (17:00 -0400)]
don't run frame if it has no stack (closes #17669)

11 years agoMerge heads.
Ezio Melotti [Wed, 10 Apr 2013 16:35:31 +0000 (19:35 +0300)]
Merge heads.

11 years ago#12820: merge with 3.3.
Ezio Melotti [Wed, 10 Apr 2013 16:34:05 +0000 (19:34 +0300)]
#12820: merge with 3.3.

11 years ago#17487: wave.getparams now returns a namedtuple.
R David Murray [Wed, 10 Apr 2013 16:31:43 +0000 (12:31 -0400)]
#17487: wave.getparams now returns a namedtuple.

Patch by Claudiu Popa.

11 years ago#12820: add tests for the xml.dom.minicompat module. Patch by John Chandler and...
Ezio Melotti [Wed, 10 Apr 2013 16:30:11 +0000 (19:30 +0300)]
#12820: add tests for the xml.dom.minicompat module.  Patch by John Chandler and Phil Connell.

11 years ago#17635: merge with 3.3.
Ezio Melotti [Wed, 10 Apr 2013 15:01:22 +0000 (18:01 +0300)]
#17635: merge with 3.3.

11 years ago#17635: fix wrong function name in multiprocessing docs.
Ezio Melotti [Wed, 10 Apr 2013 14:59:20 +0000 (17:59 +0300)]
#17635: fix wrong function name in multiprocessing docs.

11 years agoFix issue #17675: make socket repr() provide local and remote addresses (if any).
Giampaolo Rodola' [Wed, 10 Apr 2013 13:49:47 +0000 (15:49 +0200)]
Fix issue #17675: make socket repr() provide local and remote addresses (if any).

11 years agoClose #14439: Python now prints the traceback on runpy failure at startup.
Victor Stinner [Tue, 9 Apr 2013 22:27:23 +0000 (00:27 +0200)]
Close #14439: Python now prints the traceback on runpy failure at startup.

11 years agoIssue #17615: On Windows (VS2010), Performances of wmemcmp() to compare Unicode
Victor Stinner [Tue, 9 Apr 2013 21:53:26 +0000 (23:53 +0200)]
Issue #17615: On Windows (VS2010), Performances of wmemcmp() to compare Unicode
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.

11 years agomerge
Brett Cannon [Tue, 9 Apr 2013 21:03:27 +0000 (17:03 -0400)]
merge

11 years agoWhat's new entry for issue #17093
Brett Cannon [Tue, 9 Apr 2013 21:03:10 +0000 (17:03 -0400)]
What's new entry for issue #17093

11 years agoIssue #17093,17566,17567: Methods from classes in importlib.abc now raise/return
Brett Cannon [Tue, 9 Apr 2013 20:59:39 +0000 (16:59 -0400)]
Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/return
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.

11 years agoreplace(): only call PyUnicode_DATA(u) once
Victor Stinner [Tue, 9 Apr 2013 20:52:48 +0000 (22:52 +0200)]
replace(): only call PyUnicode_DATA(u) once

11 years agoWrite super-fast version of str.strip(), str.lstrip() and str.rstrip() for pure ASCII
Victor Stinner [Tue, 9 Apr 2013 20:39:24 +0000 (22:39 +0200)]
Write super-fast version of str.strip(), str.lstrip() and str.rstrip() for pure ASCII

11 years agoDon't calls macros in PyUnicode_WRITE() parameters
Victor Stinner [Tue, 9 Apr 2013 20:38:52 +0000 (22:38 +0200)]
Don't calls macros in PyUnicode_WRITE() parameters

PyUnicode_WRITE() expands some parameters twice or more.

11 years agoFix do_strip(): don't call PyUnicode_READ() in Py_UNICODE_ISSPACE() to not call
Victor Stinner [Tue, 9 Apr 2013 20:21:08 +0000 (22:21 +0200)]
Fix do_strip(): don't call PyUnicode_READ() in Py_UNICODE_ISSPACE() to not call
it twice

11 years agoFix _PyUnicode_XStrip()
Victor Stinner [Tue, 9 Apr 2013 20:19:21 +0000 (22:19 +0200)]
Fix _PyUnicode_XStrip()

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().

11 years agoOptimize PyUnicode_DecodeCharmap()
Victor Stinner [Tue, 9 Apr 2013 20:13:33 +0000 (22:13 +0200)]
Optimize PyUnicode_DecodeCharmap()

Avoid expensive PyUnicode_READ() and PyUnicode_WRITE(), manipulate pointers
instead.

11 years agoOptimize make_bloom_mask(), used by str.strip(), str.lstrip() and str.rstrip()
Victor Stinner [Tue, 9 Apr 2013 19:53:54 +0000 (21:53 +0200)]
Optimize make_bloom_mask(), used by str.strip(), str.lstrip() and str.rstrip()

Write specialized functions per Unicode kind to avoid the expensive
PyUnicode_READ() macro.

11 years agoUse PyUnicode_READ() instead of PyUnicode_READ_CHAR()
Victor Stinner [Tue, 9 Apr 2013 19:48:24 +0000 (21:48 +0200)]
Use PyUnicode_READ() instead of PyUnicode_READ_CHAR()

"PyUnicode_READ_CHAR() is less efficient than PyUnicode_READ() because it calls
PyUnicode_KIND() and might call it twice." according to its documentation.

11 years agoAdd fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings:
Victor Stinner [Tue, 9 Apr 2013 19:53:09 +0000 (21:53 +0200)]
Add fast-path in PyUnicode_DecodeCharmap() for pure 8 bit encodings:
cp037, cp500 and iso8859_1 codecs

11 years agomerge heads
Giampaolo Rodola' [Tue, 9 Apr 2013 15:23:27 +0000 (17:23 +0200)]
merge heads

11 years agoDo not raise exception on close() on account of socket attribute still being None:
Giampaolo Rodola' [Tue, 9 Apr 2013 15:21:25 +0000 (17:21 +0200)]
Do not raise exception on close() on account of socket attribute still being 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'
>>>

11 years ago#17678: Remove the use of a deprecated method http/cookiejar.py. Changing the
Senthil Kumaran [Tue, 9 Apr 2013 14:11:07 +0000 (07:11 -0700)]
#17678: Remove the use of a deprecated method http/cookiejar.py. Changing the
usage of get_origin_req_host() to origin_req_host.

Patch by Wei-Cheng Pan

11 years ago#17678: Fix DeprecationWarning in the http/cookiejar.py by changing the usage
Senthil Kumaran [Tue, 9 Apr 2013 14:07:59 +0000 (07:07 -0700)]
#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

11 years agonull merge
Senthil Kumaran [Tue, 9 Apr 2013 13:01:17 +0000 (06:01 -0700)]
null merge

11 years ago#17648 - convert test_urllib2.py doctests to unittests
Senthil Kumaran [Tue, 9 Apr 2013 13:00:16 +0000 (06:00 -0700)]
#17648 - convert test_urllib2.py doctests to unittests

11 years ago#17648 - Clean up test_urllib2.py. Converted doctests to unittest for
Senthil Kumaran [Tue, 9 Apr 2013 05:24:17 +0000 (22:24 -0700)]
#17648 - Clean up test_urllib2.py. Converted doctests to unittest for
expansion.

11 years ago#17657: merge with 3.3.
Roger Serwy [Tue, 9 Apr 2013 01:59:11 +0000 (20:59 -0500)]
#17657: merge with 3.3.

11 years ago#17657: Show full Tk version in IDLE's about dialog.
Roger Serwy [Tue, 9 Apr 2013 01:57:13 +0000 (20:57 -0500)]
#17657: Show full Tk version in IDLE's about dialog.
Patch by Todd Rovito.

11 years agoIssue #17615: Comparing two Unicode strings now uses wmemcmp() when possible
Victor Stinner [Mon, 8 Apr 2013 20:43:44 +0000 (22:43 +0200)]
Issue #17615: Comparing two Unicode strings now uses wmemcmp() when possible

wmemcmp() is twice faster than a dummy loop (342 usec vs 744 usec) on Fedora
18/x86_64, GCC 4.7.2.

11 years agoIssue #17615: Add tests comparing Unicode strings of different kinds
Victor Stinner [Mon, 8 Apr 2013 20:34:43 +0000 (22:34 +0200)]
Issue #17615: Add tests comparing Unicode strings of different kinds

Kinds: ascii, latin, bmp, astral.

11 years agoIssue #17615: Expand expensive PyUnicode_READ() macro in unicode_compare():
Victor Stinner [Mon, 8 Apr 2013 19:50:54 +0000 (21:50 +0200)]
Issue #17615: Expand expensive PyUnicode_READ() macro in unicode_compare():
write specialized functions for each combination of Unicode kinds.

11 years agoClose #17666: Fix reading gzip files with an extra field.
Serhiy Storchaka [Mon, 8 Apr 2013 19:37:15 +0000 (22:37 +0300)]
Close #17666: Fix reading gzip files with an extra field.

11 years agoClose #17666: Fix reading gzip files with an extra field.
Serhiy Storchaka [Mon, 8 Apr 2013 19:35:02 +0000 (22:35 +0300)]
Close #17666: Fix reading gzip files with an extra field.