]> granicus.if.org Git - python/log
python
8 years agoIssue #28023: Fix python-gdb.py didn't support new dict implementation
INADA Naoki [Tue, 22 Nov 2016 10:40:58 +0000 (19:40 +0900)]
Issue #28023: Fix python-gdb.py didn't support new dict implementation

8 years agoStart 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following b3....
Ned Deily [Tue, 22 Nov 2016 06:21:04 +0000 (01:21 -0500)]
Start 3.6.0rc1. (Note, patch level was incorrectly set to 3.6.0b4+ following b3. It is now b4+ again.)

8 years agoAdded tag v3.6.0b4 for changeset 18496abdb3d5
Ned Deily [Tue, 22 Nov 2016 04:31:39 +0000 (23:31 -0500)]
Added tag v3.6.0b4 for changeset 18496abdb3d5

8 years agoVersion bump for 3.6.0b4 v3.6.0b4
Ned Deily [Tue, 22 Nov 2016 04:30:55 +0000 (23:30 -0500)]
Version bump for 3.6.0b4

8 years agoUpdate pydoc topics for 3.6.0b4
Ned Deily [Tue, 22 Nov 2016 04:24:38 +0000 (23:24 -0500)]
Update pydoc topics for 3.6.0b4

8 years agoIssue #27100: With statement reports missing __enter__ before __exit__. (Contribute...
Raymond Hettinger [Tue, 22 Nov 2016 01:24:23 +0000 (17:24 -0800)]
Issue #27100:  With statement reports missing __enter__ before __exit__.  (Contributed by Jonathan Ellington.)

8 years agoIssue #26163: Disable periodically failing test which was overly demanding of the...
Raymond Hettinger [Tue, 22 Nov 2016 00:59:04 +0000 (16:59 -0800)]
Issue #26163:  Disable periodically failing test which was overly demanding of the frozenset hash function effectiveness

8 years agoIssue #5830: Add test for ee476248a74a. (Contributed by Serhiy Storchaka.)
Raymond Hettinger [Tue, 22 Nov 2016 00:48:10 +0000 (16:48 -0800)]
Issue #5830:  Add test for ee476248a74a.  (Contributed by Serhiy Storchaka.)

8 years agoIssue #27825: Improve for statistics data arguments. (Contributed by Mariatta Wijaya.)
Raymond Hettinger [Tue, 22 Nov 2016 00:31:02 +0000 (16:31 -0800)]
Issue #27825: Improve for statistics data arguments. (Contributed by Mariatta Wijaya.)

8 years agoIssue #28587: Improve list examples in the tutorial
Raymond Hettinger [Tue, 22 Nov 2016 00:29:50 +0000 (16:29 -0800)]
Issue #28587: Improve list examples in the tutorial

8 years agoIssue #28743: Reduce memory consumption for random module tests
Raymond Hettinger [Mon, 21 Nov 2016 23:32:08 +0000 (15:32 -0800)]
Issue #28743:  Reduce memory consumption for random module tests

8 years agoFix grammar
Raymond Hettinger [Mon, 21 Nov 2016 23:13:18 +0000 (15:13 -0800)]
Fix grammar

8 years agoIssue 28587: list.index documentation missing start and stop arguments. (Contributed...
Raymond Hettinger [Mon, 21 Nov 2016 23:12:54 +0000 (15:12 -0800)]
Issue 28587:  list.index documentation missing start and stop arguments. (Contributed by Mariatta Wijaya.)

8 years agoMerge 3.5 (issue #28652)
Yury Selivanov [Mon, 21 Nov 2016 22:47:41 +0000 (17:47 -0500)]
Merge 3.5 (issue #28652)

8 years agoIssue #28652: Partially rollback previous changes
Yury Selivanov [Mon, 21 Nov 2016 22:47:27 +0000 (17:47 -0500)]
Issue #28652: Partially rollback previous changes

Allow AF_UNIX in create_server & create_connection

8 years agoIssue 28475: Improve error message for random.sample() with k < 0. (Contributed...
Raymond Hettinger [Mon, 21 Nov 2016 22:34:33 +0000 (14:34 -0800)]
Issue 28475:  Improve error message for random.sample() with k < 0. (Contributed by Francisco Couzo).

8 years agoIssue #28752: Restored the __reduce__() methods of datetime objects.
Serhiy Storchaka [Mon, 21 Nov 2016 22:29:42 +0000 (00:29 +0200)]
Issue #28752: Restored the __reduce__() methods of datetime objects.

8 years agoIssue 28751: Fix comments in code.h. (Contributed by Ned Batchelder).
Raymond Hettinger [Mon, 21 Nov 2016 22:24:32 +0000 (14:24 -0800)]
Issue 28751: Fix comments in code.h.  (Contributed by Ned Batchelder).

8 years agoAdd analysis section to motivate the single server queue example
Raymond Hettinger [Mon, 21 Nov 2016 22:13:07 +0000 (14:13 -0800)]
Add analysis section to motivate the single server queue example

8 years agoMisc readability and organization improvements for the random docs
Raymond Hettinger [Mon, 21 Nov 2016 20:33:50 +0000 (12:33 -0800)]
Misc readability and organization improvements for the random docs

8 years agoAdd a seealso section for further reference and skill building
Raymond Hettinger [Mon, 21 Nov 2016 18:52:04 +0000 (10:52 -0800)]
Add a seealso section for further reference and skill building

8 years agoSimplify code in an example
Raymond Hettinger [Mon, 21 Nov 2016 18:16:01 +0000 (10:16 -0800)]
Simplify code in an example

8 years agoclose issue28172: Change all example enum member names to uppercase, per Guido; patch...
Ethan Furman [Mon, 21 Nov 2016 17:22:05 +0000 (09:22 -0800)]
close issue28172: Change all example enum member names to uppercase, per Guido; patch by Chris Angelico.

8 years agoissue28082: actually include NEWS entry
Ethan Furman [Mon, 21 Nov 2016 16:39:32 +0000 (08:39 -0800)]
issue28082: actually include NEWS entry

8 years agocloses issue28082: doc update and NEWS entry
Ethan Furman [Mon, 21 Nov 2016 16:29:31 +0000 (08:29 -0800)]
closes issue28082: doc update and NEWS entry

8 years agocloses issue23591: add NEWS entry
Ethan Furman [Mon, 21 Nov 2016 16:28:56 +0000 (08:28 -0800)]
closes issue23591: add NEWS entry

8 years agoIssue #28688: Null merge 3.5
Victor Stinner [Mon, 21 Nov 2016 15:45:19 +0000 (16:45 +0100)]
Issue #28688: Null merge 3.5

The Python 3.5 change must not be applied to Python 3.6.

8 years agoIssue #28688: Remove warnings.filters check from regrtest
Victor Stinner [Mon, 21 Nov 2016 15:44:01 +0000 (16:44 +0100)]
Issue #28688: Remove warnings.filters check from regrtest

Reloading the warnings module duplicates filters in warnings.filters. Fixing
the issue is tricky. It was decided to simply remove the check from Python 3.5,
since the bug only impacts Python unit tests, not real applications.

The check is kept in Python 3.6 and newer.

8 years agoImplement rich comparison for _sre.SRE_Pattern
Victor Stinner [Mon, 21 Nov 2016 15:35:08 +0000 (16:35 +0100)]
Implement rich comparison for _sre.SRE_Pattern

Issue #28727: Regular expression patterns, _sre.SRE_Pattern objects created by
re.compile(), become comparable (only x==y and x!=y operators). This change
should fix the issue #18383: don't duplicate warning filters when the warnings
module is reloaded (thing usually only done in unit tests).

8 years agoFix up grammar, markup, etc in 3.6 What’s New
Martin Panter [Mon, 21 Nov 2016 13:38:59 +0000 (13:38 +0000)]
Fix up grammar, markup, etc in 3.6 What’s New

8 years agoMerge doc fixup from 3.5
Martin Panter [Mon, 21 Nov 2016 13:40:40 +0000 (13:40 +0000)]
Merge doc fixup from 3.5

8 years agoFix indentation
Martin Panter [Mon, 21 Nov 2016 13:36:36 +0000 (13:36 +0000)]
Fix indentation

8 years agoIssue #28532: Show sys.version when -V option is supplied twice
INADA Naoki [Mon, 21 Nov 2016 11:57:14 +0000 (20:57 +0900)]
Issue #28532: Show sys.version when -V option is supplied twice

8 years agoExtend and improve the examples for the random module
Raymond Hettinger [Mon, 21 Nov 2016 09:59:39 +0000 (01:59 -0800)]
Extend and improve the examples for the random module

8 years agoIssue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString().
Serhiy Storchaka [Mon, 21 Nov 2016 09:46:51 +0000 (11:46 +0200)]
Issue #28760: Clean up and fix comments in PyUnicode_AsUnicodeEscapeString().
Patch by Xiang Zhang.

8 years agoFixed the documentation of the structure PyMethodDef.
Serhiy Storchaka [Mon, 21 Nov 2016 09:38:14 +0000 (11:38 +0200)]
Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".

8 years agoFixed the documentation of the structure PyMethodDef.
Serhiy Storchaka [Mon, 21 Nov 2016 09:37:18 +0000 (11:37 +0200)]
Fixed the documentation of the structure PyMethodDef.
The fields ml_name and ml_doc are of type "const char *" rather of "char *".

8 years agoreplace --with-optimizations references with --enable-optimizations in docs.
Gregory P. Smith [Mon, 21 Nov 2016 08:12:40 +0000 (00:12 -0800)]
replace --with-optimizations references with --enable-optimizations in docs.

8 years agoreplace --with-optimizations references with --enable-optimizations in docs.
Gregory P. Smith [Mon, 21 Nov 2016 08:11:47 +0000 (00:11 -0800)]
replace --with-optimizations references with --enable-optimizations in docs.

8 years agoAnother en → em dash fix for 3.6
Martin Panter [Mon, 21 Nov 2016 04:10:45 +0000 (04:10 +0000)]
Another en → em dash fix for 3.6

8 years agoMerge doc fixups from 3.5
Martin Panter [Mon, 21 Nov 2016 04:22:22 +0000 (04:22 +0000)]
Merge doc fixups from 3.5

8 years agoIssue #28556: upstream improvements to docstrings and error messages by Ivan Levkivsk...
Guido van Rossum [Mon, 21 Nov 2016 02:01:33 +0000 (18:01 -0800)]
Issue #28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331) (3.5->3.6)

8 years agoIssue #28556: upstream improvements to docstrings and error messages by Ivan Levkivsk...
Guido van Rossum [Mon, 21 Nov 2016 02:01:29 +0000 (18:01 -0800)]
Issue #28556: upstream improvements to docstrings and error messages by Ivan Levkivskyi (#331)

8 years agoIssue #20572: The subprocess.Popen.wait method's undocumented endtime
Gregory P. Smith [Mon, 21 Nov 2016 00:25:14 +0000 (16:25 -0800)]
Issue #20572: The subprocess.Popen.wait method's undocumented endtime
parameter now raises a DeprecationWarning.  It was deprecated in 3.4.
It was never documented prior to that.

8 years agoChange double hyphens (en dashes) to em (longer) dashes
Martin Panter [Mon, 21 Nov 2016 00:15:20 +0000 (00:15 +0000)]
Change double hyphens (en dashes) to em (longer) dashes

8 years agoFix typos in documentation
Martin Panter [Sun, 20 Nov 2016 08:37:21 +0000 (08:37 +0000)]
Fix typos in documentation

8 years agoIssue #25659: Merge ctypes fix from 3.5
Martin Panter [Sun, 20 Nov 2016 22:07:29 +0000 (22:07 +0000)]
Issue #25659: Merge ctypes fix from 3.5

8 years agoIssue #10656: Merge AIX build fix from 3.5
Martin Panter [Sun, 20 Nov 2016 22:06:44 +0000 (22:06 +0000)]
Issue #10656: Merge AIX build fix from 3.5

8 years agomove the enable-optimizations mention to the correct Build section.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:16:41 +0000 (21:16 +0000)]
move the enable-optimizations mention to the correct Build section.

8 years agoRename the new --with-optimiations flag to --enable-optimizations.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:13:16 +0000 (21:13 +0000)]
Rename the new --with-optimiations flag to --enable-optimizations.

8 years agoRename the new --with-optimiations flag to --enable-optimizations.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 20 Nov 2016 21:07:42 +0000 (21:07 +0000)]
Rename the new --with-optimiations flag to --enable-optimizations.

8 years agoIssue #28666: Fix removing readonly directories on Windows.
Serhiy Storchaka [Sun, 20 Nov 2016 18:36:51 +0000 (20:36 +0200)]
Issue #28666: Fix removing readonly directories on Windows.

8 years agoIssue #28666: Fix removing readonly directories on Windows.
Serhiy Storchaka [Sun, 20 Nov 2016 18:04:54 +0000 (20:04 +0200)]
Issue #28666: Fix removing readonly directories on Windows.

8 years agoIssue #28666: Now test.support.rmtree is able to remove unwritable or
Serhiy Storchaka [Sun, 20 Nov 2016 15:42:58 +0000 (17:42 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories on Windows too.

8 years agoIssue #28666: Now test.support.rmtree is able to remove unwritable or
Serhiy Storchaka [Sun, 20 Nov 2016 15:42:32 +0000 (17:42 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories on Windows too.

8 years agoIssue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Serhiy Storchaka [Sun, 20 Nov 2016 15:21:04 +0000 (17:21 +0200)]
Issue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Patch by Xiang Zhang.

8 years agoIssue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Serhiy Storchaka [Sun, 20 Nov 2016 15:20:19 +0000 (17:20 +0200)]
Issue #28750: Fixed docs of of unicode-escape an raw-unicode-escape C API.
Patch by Xiang Zhang.

8 years agoIssue #28666: Now test.support.rmtree is able to remove unwritable or
Serhiy Storchaka [Sun, 20 Nov 2016 14:19:20 +0000 (16:19 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.

8 years agoIssue #28666: Now test.support.rmtree is able to remove unwritable or
Serhiy Storchaka [Sun, 20 Nov 2016 14:16:06 +0000 (16:16 +0200)]
Issue #28666: Now test.support.rmtree is able to remove unwritable or
unreadable directories.

8 years agoIssue #19569: Suggested more appropriate replacements for deprecated Unicode
Serhiy Storchaka [Sun, 20 Nov 2016 10:14:08 +0000 (12:14 +0200)]
Issue #19569: Suggested more appropriate replacements for deprecated Unicode
C API functions.

8 years agoIssue #19569: Suggested more appropriate replacements for deprecated Unicode
Serhiy Storchaka [Sun, 20 Nov 2016 10:13:44 +0000 (12:13 +0200)]
Issue #19569: Suggested more appropriate replacements for deprecated Unicode
C API functions.

8 years agoIssue #25659: Change assert to TypeError in from_buffer/_copy()
Martin Panter [Sun, 20 Nov 2016 07:58:35 +0000 (07:58 +0000)]
Issue #25659: Change assert to TypeError in from_buffer/_copy()

Based on suggestion by Eryk Sun.

8 years agoIssue #10656: Fix out-of-tree building on AIX
Martin Panter [Sun, 20 Nov 2016 07:56:37 +0000 (07:56 +0000)]
Issue #10656: Fix out-of-tree building on AIX

The ld_so_aix script and python.exp file are created in the build directory.
Patch by Tristan Carel and Michael Haubenwallner.

8 years agoReplaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
Serhiy Storchaka [Sun, 20 Nov 2016 07:13:07 +0000 (09:13 +0200)]
Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.

8 years agoIssue #28715: Added error checks for PyUnicode_AsUTF8().
Serhiy Storchaka [Sun, 20 Nov 2016 06:48:07 +0000 (08:48 +0200)]
Issue #28715: Added error checks for PyUnicode_AsUTF8().

8 years agoIssue #28715: Added error checks for PyUnicode_AsUTF8().
Serhiy Storchaka [Sun, 20 Nov 2016 06:47:21 +0000 (08:47 +0200)]
Issue #28715: Added error checks for PyUnicode_AsUTF8().

8 years agoIssue #27998: Documented bytes paths support on Windows.
Serhiy Storchaka [Sun, 20 Nov 2016 06:23:07 +0000 (08:23 +0200)]
Issue #27998: Documented bytes paths support on Windows.

8 years agoFixes empty tuple case.
Steve Dower [Sun, 20 Nov 2016 05:14:27 +0000 (21:14 -0800)]
Fixes empty tuple case.

8 years agoIssue #28732: Adds new errors to spawnv emulation for platforms that only have fork...
Steve Dower [Sun, 20 Nov 2016 04:11:56 +0000 (20:11 -0800)]
Issue #28732: Adds new errors to spawnv emulation for platforms that only have fork and execv

8 years agoIssue #28732: Raise ValueError when argv[0] is empty
Steve Dower [Sun, 20 Nov 2016 03:17:26 +0000 (19:17 -0800)]
Issue #28732: Raise ValueError when argv[0] is empty

8 years agoIssue #28732: Raise ValueError when argv[0] is empty.
Steve Dower [Sun, 20 Nov 2016 03:03:54 +0000 (19:03 -0800)]
Issue #28732: Raise ValueError when argv[0] is empty.

8 years agoIssue #28732: Raise ValueError when os.spawn*() is passed an empty tuple of arguments
Steve Dower [Sun, 20 Nov 2016 02:53:19 +0000 (18:53 -0800)]
Issue #28732: Raise ValueError when os.spawn*() is passed an empty tuple of arguments

8 years agoMerge from 3.5 and fix a few other functions missing IPH handling.
Steve Dower [Sun, 20 Nov 2016 02:41:16 +0000 (18:41 -0800)]
Merge from 3.5 and fix a few other functions missing IPH handling.

8 years agoIssue #28732: Fix crash in os.spawnv() with no elements in args
Steve Dower [Sun, 20 Nov 2016 02:33:39 +0000 (18:33 -0800)]
Issue #28732: Fix crash in os.spawnv() with no elements in args
Prevents crashes in some other posixmodule.c functions

8 years agoIssue #28556: two more small upstream changes by Ivan Levkivskyi (#329, #330) (3...
Guido van Rossum [Sat, 19 Nov 2016 18:32:43 +0000 (10:32 -0800)]
Issue #28556: two more small upstream changes by Ivan Levkivskyi (#329, #330) (3.5->3.6)

8 years agoIssue #28556: two more small upstream changes by Ivan Levkivskyi (#329, #330)
Guido van Rossum [Sat, 19 Nov 2016 18:32:41 +0000 (10:32 -0800)]
Issue #28556: two more small upstream changes by Ivan Levkivskyi (#329, #330)

8 years agoIssue #28746: Fix the set_inheritable() file descriptor method on platforms
Xavier de Gaye [Sat, 19 Nov 2016 15:19:29 +0000 (16:19 +0100)]
Issue #28746: Fix the set_inheritable() file descriptor method on platforms
that do not have the ioctl FIOCLEX and FIONCLEX commands

8 years agoIssue #28705: greatly simplify the FAQ entry on transpiling.
Brett Cannon [Fri, 18 Nov 2016 18:41:28 +0000 (10:41 -0800)]
Issue #28705: greatly simplify the FAQ entry on transpiling.

This also eliminats a dead link to Weave in the process.

8 years agoIgnore newly added suspicious line
Zachary Ware [Fri, 18 Nov 2016 05:30:27 +0000 (23:30 -0600)]
Ignore newly added suspicious line

8 years agoSmall edits to the docs for sample() and shuffle().
Raymond Hettinger [Thu, 17 Nov 2016 09:49:54 +0000 (01:49 -0800)]
Small edits to the docs for sample() and shuffle().

8 years agoFurther refinements to the examples and recipes for the random module
Raymond Hettinger [Thu, 17 Nov 2016 08:45:35 +0000 (00:45 -0800)]
Further refinements to the examples and recipes for the random module

8 years agoIssue #26926: Skip some test_io tests on platforms without large file support
Xavier de Gaye [Thu, 17 Nov 2016 08:20:28 +0000 (09:20 +0100)]
Issue #26926: Skip some test_io tests on platforms without large file support

8 years agoIssue 26931: Skip the test_distutils tests using a compiler executable
Xavier de Gaye [Thu, 17 Nov 2016 08:00:19 +0000 (09:00 +0100)]
Issue 26931: Skip the test_distutils tests using a compiler executable
that is not found

8 years agoAdd another example to the recipes section of the random docs
Raymond Hettinger [Thu, 17 Nov 2016 06:56:11 +0000 (22:56 -0800)]
Add another example to the recipes section of the random docs

8 years agoMinor touch-ups to the random module examples
Raymond Hettinger [Thu, 17 Nov 2016 05:34:17 +0000 (21:34 -0800)]
Minor touch-ups to the random module examples

8 years agoMerge from 3.5
Steve Dower [Thu, 17 Nov 2016 00:35:40 +0000 (16:35 -0800)]
Merge from 3.5

8 years agoFixes incorrect path in nuget package build.
Steve Dower [Thu, 17 Nov 2016 00:32:22 +0000 (16:32 -0800)]
Fixes incorrect path in nuget package build.

8 years agoIssue #28720: Add collections.abc.AsyncGenerator.
Yury Selivanov [Wed, 16 Nov 2016 23:25:04 +0000 (18:25 -0500)]
Issue #28720: Add collections.abc.AsyncGenerator.

8 years agoIssue #28721: Fix asynchronous generators aclose() and athrow()
Yury Selivanov [Wed, 16 Nov 2016 23:16:17 +0000 (18:16 -0500)]
Issue #28721: Fix asynchronous generators aclose() and athrow()

8 years agoIssue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now
Serhiy Storchaka [Wed, 16 Nov 2016 18:02:44 +0000 (20:02 +0200)]
Issue #28701: _PyUnicode_EqualToASCIIId and _PyUnicode_EqualToASCIIString now
require ASCII right argument and assert this condition in debug build.

8 years agoCloses #28713 uses OSError in the tutorial
Kushal Das [Wed, 16 Nov 2016 15:43:43 +0000 (21:13 +0530)]
Closes #28713 uses OSError in the tutorial

8 years agoFixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).
Serhiy Storchaka [Wed, 16 Nov 2016 14:12:56 +0000 (16:12 +0200)]
Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).

8 years agoFixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).
Serhiy Storchaka [Wed, 16 Nov 2016 14:12:34 +0000 (16:12 +0200)]
Fixed an off-by-one error in _PyUnicode_EqualToASCIIString (issue #28701).

8 years agoIssue #21449: Removed private function _PyUnicode_CompareWithId.
Serhiy Storchaka [Wed, 16 Nov 2016 13:56:27 +0000 (15:56 +0200)]
Issue #21449: Removed private function _PyUnicode_CompareWithId.

8 years agoIssue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
Serhiy Storchaka [Wed, 16 Nov 2016 13:41:11 +0000 (15:41 +0200)]
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.

The latter function is more readable, faster and doesn't raise exceptions.

Based on patch by Xiang Zhang.

8 years agoIssue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.
Serhiy Storchaka [Wed, 16 Nov 2016 13:40:39 +0000 (15:40 +0200)]
Issue #28701: Replace _PyUnicode_CompareWithId with _PyUnicode_EqualToASCIIId.

The latter function is more readable, faster and doesn't raise exceptions.

Based on patch by Xiang Zhang.

8 years agoIssue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIISt...
Serhiy Storchaka [Wed, 16 Nov 2016 08:19:20 +0000 (10:19 +0200)]
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.

The latter function is more readable, faster and doesn't raise exceptions.

8 years agoIssue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIISt...
Serhiy Storchaka [Wed, 16 Nov 2016 08:17:58 +0000 (10:17 +0200)]
Issue #28701: Replace PyUnicode_CompareWithASCIIString with _PyUnicode_EqualToASCIIString.

The latter function is more readable, faster and doesn't raise exceptions.

8 years agoIssue #26935: Fix broken Android dup2() in test_os
Xavier de Gaye [Wed, 16 Nov 2016 07:05:27 +0000 (08:05 +0100)]
Issue #26935: Fix broken Android dup2() in test_os

8 years agoIssue #26920: Fix not getting the locale's charset upon initializing the interpreter,
Xavier de Gaye [Wed, 16 Nov 2016 06:24:20 +0000 (07:24 +0100)]
Issue #26920: Fix not getting the locale's charset upon initializing the interpreter,
on platforms that do not have langinfo