]> granicus.if.org Git - python/log
python
8 years agoFixed a markup in docs.
Serhiy Storchaka [Sun, 11 Sep 2016 13:47:59 +0000 (16:47 +0300)]
Fixed a markup in docs.

8 years agoIssue 24454: Improve the usability of the re match object named group API
Eric V. Smith [Sun, 11 Sep 2016 12:55:43 +0000 (08:55 -0400)]
Issue 24454: Improve the usability of the re match object named group API

8 years agoUse HTTP in testPythonOrg
Berker Peksag [Sun, 11 Sep 2016 12:46:47 +0000 (15:46 +0300)]
Use HTTP in testPythonOrg

8 years agoIssue #20100: Merge from 3.5
Berker Peksag [Sun, 11 Sep 2016 12:46:07 +0000 (15:46 +0300)]
Issue #20100: Merge from 3.5

8 years agoIssue #20100: Clarify that passing flags to epoll() has no effect
Berker Peksag [Sun, 11 Sep 2016 12:45:32 +0000 (15:45 +0300)]
Issue #20100: Clarify that passing flags to epoll() has no effect

8 years agoIssue #28036: Remove unused pysqlite_flush_statement_cache function
Berker Peksag [Sun, 11 Sep 2016 12:37:30 +0000 (15:37 +0300)]
Issue #28036: Remove unused pysqlite_flush_statement_cache function

8 years agoUnskip testPythonOrg in test_robotparser
Berker Peksag [Sun, 11 Sep 2016 12:27:07 +0000 (15:27 +0300)]
Unskip testPythonOrg in test_robotparser

We should probably use pythontest.net for this.

8 years agoFixed refactoring bug in dd046963bd42 (issue27129).
Serhiy Storchaka [Sun, 11 Sep 2016 12:19:12 +0000 (15:19 +0300)]
Fixed refactoring bug in dd046963bd42 (issue27129).

8 years agoWrap testPasswordProtectedSite with @reap_threads
Berker Peksag [Sun, 11 Sep 2016 12:17:53 +0000 (15:17 +0300)]
Wrap testPasswordProtectedSite with @reap_threads

8 years agoClosed #26533: Merged update from 3.5.
Vinay Sajip [Sun, 11 Sep 2016 12:15:57 +0000 (13:15 +0100)]
Closed #26533: Merged update from 3.5.

8 years agoClosed #26533: expanded on behaviour of logging.config.listen().
Vinay Sajip [Sun, 11 Sep 2016 12:15:06 +0000 (13:15 +0100)]
Closed #26533: expanded on behaviour of logging.config.listen().

8 years agoMerged upstream changes.
Vinay Sajip [Sun, 11 Sep 2016 11:53:34 +0000 (12:53 +0100)]
Merged upstream changes.

8 years agoIssue #25497: Rewrite test_robotparser to use a class based design
Berker Peksag [Sun, 11 Sep 2016 11:53:16 +0000 (14:53 +0300)]
Issue #25497: Rewrite test_robotparser to use a class based design

8 years agoCloses #25671: Merged fix from 3.5.
Vinay Sajip [Sun, 11 Sep 2016 11:52:53 +0000 (12:52 +0100)]
Closes #25671: Merged fix from 3.5.

8 years agoFixes #25671: Updated prompt handling in activate.fish.
Vinay Sajip [Sun, 11 Sep 2016 11:52:08 +0000 (12:52 +0100)]
Fixes #25671: Updated prompt handling in activate.fish.

8 years agoUse uint16_t instead of short in audioop.
Serhiy Storchaka [Sun, 11 Sep 2016 11:48:16 +0000 (14:48 +0300)]
Use uint16_t instead of short in audioop.

8 years agoUse sequence repetition instead of bytes constructor with integer argument.
Serhiy Storchaka [Sun, 11 Sep 2016 11:41:02 +0000 (14:41 +0300)]
Use sequence repetition instead of bytes constructor with integer argument.

8 years agoIssue #27129: Replaced wordcode related magic constants with macros.
Serhiy Storchaka [Sun, 11 Sep 2016 10:48:15 +0000 (13:48 +0300)]
Issue #27129: Replaced wordcode related magic constants with macros.

8 years agoIssue #27952: Merge fixcid.py from 3.5
Martin Panter [Sun, 11 Sep 2016 10:06:38 +0000 (10:06 +0000)]
Issue #27952: Merge fixcid.py from 3.5

8 years agoIssue #27991: Merge from 3.5
Berker Peksag [Sun, 11 Sep 2016 10:02:56 +0000 (13:02 +0300)]
Issue #27991: Merge from 3.5

8 years agoIssue #27991: Remove incorrect sentence about store_true
Berker Peksag [Sun, 11 Sep 2016 10:02:27 +0000 (13:02 +0300)]
Issue #27991: Remove incorrect sentence about store_true

Patch by py.user.

8 years agoIssue #10740: sqlite3 no longer implicitly commit an open transaction before DDL...
Berker Peksag [Sun, 11 Sep 2016 09:57:15 +0000 (12:57 +0300)]
Issue #10740: sqlite3 no longer implicitly commit an open transaction before DDL statements

This commit contains the following commits from ghaering/pysqlite:

* https://github.com/ghaering/pysqlite/commit/f254c534948c41c0ceb8cbabf0d4a2f547754739
* https://github.com/ghaering/pysqlite/commit/796b3afe38cfdac5d7d5ec260826b0a596554631
* https://github.com/ghaering/pysqlite/commit/cae87ee68613697a5f4947b4a0941f59a28da1b6
* https://github.com/ghaering/pysqlite/commit/3567b31bb5e5b226ba006213a9c69dde3f155faf

With the following additions:

* Fixed a refcount error
* Fixed a compiler warning
* Made the string comparison a little more robust
* Added a whatsnew entry

8 years agoIssue #22493: Inline flags now should be used only at the start of the
Serhiy Storchaka [Sun, 11 Sep 2016 09:50:02 +0000 (12:50 +0300)]
Issue #22493: Inline flags now should be used only at the start of the
regular expression.  Deprecation warning is emitted if uses them in the
middle of the regular expression.

8 years agoIssue #27952: Get fixcid.py working with the re module
Martin Panter [Sun, 11 Sep 2016 09:32:26 +0000 (09:32 +0000)]
Issue #27952: Get fixcid.py working with the re module

8 years agoIssue #26885: xmlrpc now supports unmarshalling additional data types used
Serhiy Storchaka [Sun, 11 Sep 2016 08:23:38 +0000 (11:23 +0300)]
Issue #26885: xmlrpc now supports unmarshalling additional data types used
by Apache XML-RPC implementation for numerics and None.

8 years agoIssue #26900: Excluded underscored names and other private API from limited API.
Serhiy Storchaka [Sun, 11 Sep 2016 08:03:14 +0000 (11:03 +0300)]
Issue #26900: Excluded underscored names and other private API from limited API.

8 years agoissue23591: add auto() for auto-generating Enum member values
Ethan Furman [Sun, 11 Sep 2016 06:36:59 +0000 (23:36 -0700)]
issue23591: add auto() for auto-generating Enum member values

8 years agoIssue #23722: Initialize __class__ from type.__new__()
Nick Coghlan [Sun, 11 Sep 2016 04:45:49 +0000 (14:45 +1000)]
Issue #23722: Initialize __class__ from type.__new__()

The __class__ cell used by zero-argument super() is now initialized
from type.__new__ rather than __build_class__, so class methods
relying on that will now work correctly when called from metaclass
methods during class creation.

Patch by Martin Teichmann.

8 years agoRemove the debug print that i accidentally left in.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 11 Sep 2016 03:39:50 +0000 (20:39 -0700)]
Remove the debug print that i accidentally left in.

8 years agoRemove the debug print that i accidentally left in.
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sun, 11 Sep 2016 03:39:36 +0000 (20:39 -0700)]
Remove the debug print that i accidentally left in.

8 years agoIssue #26141: Update docs for typing.py. Ivan Levkivskyi. (null merge 3.5->3.6)
Guido van Rossum [Sun, 11 Sep 2016 02:05:32 +0000 (19:05 -0700)]
Issue #26141: Update docs for typing.py. Ivan Levkivskyi. (null merge 3.5->3.6)

8 years agoIssue #26141: Update docs for typing.py. Ivan Levkivskyi. (Backport from the 3.6...
Guido van Rossum [Sun, 11 Sep 2016 02:03:22 +0000 (19:03 -0700)]
Issue #26141: Update docs for typing.py. Ivan Levkivskyi. (Backport from the 3.6 version)

8 years agoIssue #26141: Update docs for typing.py. Ivan Levkivskyi.
Guido van Rossum [Sun, 11 Sep 2016 01:54:14 +0000 (18:54 -0700)]
Issue #26141: Update docs for typing.py. Ivan Levkivskyi.

8 years agoIssue #28073: Improve wording around None. Michael Lee. (3.5->3.6)
Guido van Rossum [Sun, 11 Sep 2016 01:49:34 +0000 (18:49 -0700)]
Issue #28073: Improve wording around None. Michael Lee. (3.5->3.6)

8 years agoIssue #28073: Improve wording around None. Michael Lee.
Guido van Rossum [Sun, 11 Sep 2016 01:49:14 +0000 (18:49 -0700)]
Issue #28073: Improve wording around None. Michael Lee.

8 years agoBacked out changeset 8460a729e1de
Benjamin Peterson [Sun, 11 Sep 2016 00:53:13 +0000 (17:53 -0700)]
Backed out changeset 8460a729e1de

8 years agoforce gcc to use c99 inline semantics
Benjamin Peterson [Sun, 11 Sep 2016 00:45:33 +0000 (17:45 -0700)]
force gcc to use c99 inline semantics

8 years agofix link to instrumentation
Benjamin Peterson [Sun, 11 Sep 2016 00:38:51 +0000 (17:38 -0700)]
fix link to instrumentation

8 years agoadd the usual extern C silliness to pydtrace.h
Benjamin Peterson [Sun, 11 Sep 2016 00:34:15 +0000 (17:34 -0700)]
add the usual extern C silliness to pydtrace.h

8 years agoreST is not markdown
Benjamin Peterson [Sun, 11 Sep 2016 00:24:25 +0000 (17:24 -0700)]
reST is not markdown

8 years agoBacked out changeset 3934e070c9db
Benjamin Peterson [Sun, 11 Sep 2016 00:04:36 +0000 (17:04 -0700)]
Backed out changeset 3934e070c9db

8 years agoNull merge
Serhiy Storchaka [Sat, 10 Sep 2016 22:41:01 +0000 (01:41 +0300)]
Null merge

8 years agoBackported tests for issue #28070.
Serhiy Storchaka [Sat, 10 Sep 2016 22:39:51 +0000 (01:39 +0300)]
Backported tests for issue #28070.

8 years agoIssue #28070: Fixed parsing inline verbose flag in regular expressions.
Serhiy Storchaka [Sat, 10 Sep 2016 22:39:01 +0000 (01:39 +0300)]
Issue #28070: Fixed parsing inline verbose flag in regular expressions.

8 years agoIssue #19500: Add client-side SSL session resumption to the ssl module.
Christian Heimes [Sat, 10 Sep 2016 21:44:53 +0000 (23:44 +0200)]
Issue #19500: Add client-side SSL session resumption to the ssl module.

8 years agoIssue #28022: Deprecate ssl-related arguments in favor of SSLContext.
Christian Heimes [Sat, 10 Sep 2016 21:23:33 +0000 (23:23 +0200)]
Issue #28022: Deprecate ssl-related arguments in favor of SSLContext.

The deprecation include manual creation of SSLSocket and certfile/keyfile
(or similar) in ftplib, httplib, imaplib, smtplib, poplib and urllib.

ssl.wrap_socket() is not marked as deprecated yet.

8 years ago#28067: Fixed another typo.
Alexander Belopolsky [Sat, 10 Sep 2016 20:51:17 +0000 (16:51 -0400)]
#28067: Fixed another typo.

8 years agoIssue 28043: SSLContext has improved default settings
Christian Heimes [Sat, 10 Sep 2016 20:43:48 +0000 (22:43 +0200)]
Issue 28043: SSLContext has improved default settings

The options OP_NO_COMPRESSION, OP_CIPHER_SERVER_PREFERENCE, OP_SINGLE_DH_USE, OP_SINGLE_ECDH_USE, OP_NO_SSLv2 (except for PROTOCOL_SSLv2), and OP_NO_SSLv3 (except for PROTOCOL_SSLv3) are set by default. The initial cipher suite list contains only HIGH ciphers, no NULL ciphers and MD5 ciphers (except for PROTOCOL_SSLv2).

8 years agoIDLE newx items. merge from 3.5
Terry Jan Reedy [Sat, 10 Sep 2016 20:28:01 +0000 (16:28 -0400)]
IDLE newx items. merge from 3.5

8 years agoIDLE newx items.
Terry Jan Reedy [Sat, 10 Sep 2016 20:24:54 +0000 (16:24 -0400)]
IDLE newx items.

8 years ago#28067: Fixed a typo.
Alexander Belopolsky [Sat, 10 Sep 2016 20:08:26 +0000 (16:08 -0400)]
#28067: Fixed a typo.

8 years agoCloses #28067: Do not call localtime (gmtime) in datetime module.
Alexander Belopolsky [Sat, 10 Sep 2016 19:58:31 +0000 (15:58 -0400)]
Closes #28067: Do not call localtime (gmtime) in datetime module.

8 years agoCloses #28059: Fixes test_platform to set PYTHONPATH for .pyd files
Steve Dower [Sat, 10 Sep 2016 19:25:07 +0000 (12:25 -0700)]
Closes #28059: Fixes test_platform to set PYTHONPATH for .pyd files

8 years agoIssue #25221: merge from 3.5.
Mark Dickinson [Sat, 10 Sep 2016 19:20:08 +0000 (20:20 +0100)]
Issue #25221: merge from 3.5.

8 years agoCloses #28059: Fixes test_platform to set PYTHONPATH for .pyd files
Steve Dower [Sat, 10 Sep 2016 19:19:42 +0000 (12:19 -0700)]
Closes #28059: Fixes test_platform to set PYTHONPATH for .pyd files

8 years agoIssue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is compiled...
Mark Dickinson [Sat, 10 Sep 2016 19:17:36 +0000 (20:17 +0100)]
Issue #25221: Fix corrupted result from PyLong_FromLong(0) when Python is compiled with NSMALLPOSINTS = 0.

8 years agoMerge from 3.5
Steve Dower [Sat, 10 Sep 2016 18:53:34 +0000 (11:53 -0700)]
Merge from 3.5

8 years agoIssue #27932: Backs out change
Steve Dower [Sat, 10 Sep 2016 18:52:18 +0000 (11:52 -0700)]
Issue #27932: Backs out change

8 years agoFixed compiler warnings in compact dict implementation on 32-bit platforms.
Serhiy Storchaka [Sat, 10 Sep 2016 18:34:43 +0000 (21:34 +0300)]
Fixed compiler warnings in compact dict implementation on 32-bit platforms.

8 years agoIssue #24693: Changed some RuntimeError's in the zipfile module to more
Serhiy Storchaka [Sat, 10 Sep 2016 18:28:07 +0000 (21:28 +0300)]
Issue #24693: Changed some RuntimeError's in the zipfile module to more
appropriate types. Improved some error messages and debugging output.

8 years agoIssue #28046: Fix get_sysconfigdata_name().
Xavier de Gaye [Sat, 10 Sep 2016 14:19:45 +0000 (16:19 +0200)]
Issue #28046: Fix get_sysconfigdata_name().

8 years agoBacked out changeset 491bbba73bca
Zachary Ware [Sat, 10 Sep 2016 13:55:15 +0000 (08:55 -0500)]
Backed out changeset 491bbba73bca

This change didn't have the intended effect.

8 years agoOne more spelling fix
Martin Panter [Sat, 10 Sep 2016 10:45:28 +0000 (10:45 +0000)]
One more spelling fix

8 years agoMerge spelling fixes from 3.5
Martin Panter [Sat, 10 Sep 2016 10:44:12 +0000 (10:44 +0000)]
Merge spelling fixes from 3.5

8 years agoCorrect spelling in documentation and code comment
Martin Panter [Sat, 10 Sep 2016 10:38:28 +0000 (10:38 +0000)]
Correct spelling in documentation and code comment

8 years agotest_platform: Save/restore os.environ on Windows
Victor Stinner [Sat, 10 Sep 2016 10:24:47 +0000 (06:24 -0400)]
test_platform: Save/restore os.environ on Windows

8 years agoIssue #17909: Accept binary input in json.loads
Nick Coghlan [Sat, 10 Sep 2016 10:16:18 +0000 (20:16 +1000)]
Issue #17909: Accept binary input in json.loads

json.loads (and hence json.load) now support binary input
encoded as UTF-8, UTF-16 or UTF-32.

Patch by Serhiy Storchaka.

8 years agoIssue #27137: align Python & C implementations of functools.partial
Nick Coghlan [Sat, 10 Sep 2016 10:00:02 +0000 (20:00 +1000)]
Issue #27137: align Python & C implementations of functools.partial

The pure Python fallback implementation of functools.partial
now matches the behaviour of its accelerated C counterpart for
subclassing, pickling and text representation purposes.

Patch by Emanuel Barry and Serhiy Storchaka.

8 years agoMerge 3.5 (regrtest)
Victor Stinner [Sat, 10 Sep 2016 08:27:56 +0000 (04:27 -0400)]
Merge 3.5 (regrtest)

8 years agoregrtest: accept options after test names
Victor Stinner [Sat, 10 Sep 2016 08:27:28 +0000 (04:27 -0400)]
regrtest: accept options after test names

8 years agotest_eintr: Fix ResourceWarning warnings
Victor Stinner [Sat, 10 Sep 2016 08:19:48 +0000 (04:19 -0400)]
test_eintr: Fix ResourceWarning warnings

8 years agoShow regrtest env changed warn on Windows buildbot
Victor Stinner [Sat, 10 Sep 2016 08:07:38 +0000 (04:07 -0400)]
Show regrtest env changed warn on Windows buildbot

Issue #27829: don't pass --quiet option to regrtest to see
"Warning -- xxx was modified by ..." warnings.

8 years agoIssue #28019: itertools.count() no longer rounds non-integer step in range
Serhiy Storchaka [Sat, 10 Sep 2016 06:53:51 +0000 (09:53 +0300)]
Issue #28019: itertools.count() no longer rounds non-integer step in range
between 1.0 and 2.0 to 1.

8 years agoIssue #28019: itertools.count() no longer rounds non-integer step in range
Serhiy Storchaka [Sat, 10 Sep 2016 06:49:24 +0000 (09:49 +0300)]
Issue #28019: itertools.count() no longer rounds non-integer step in range
between 1.0 and 2.0 to 1.

8 years agoFix Python version in pdb.rst
Berker Peksag [Sat, 10 Sep 2016 06:28:03 +0000 (09:28 +0300)]
Fix Python version in pdb.rst

8 years agoIssue #18401: Fix test_pdb on Windows
Victor Stinner [Sat, 10 Sep 2016 06:22:09 +0000 (23:22 -0700)]
Issue #18401: Fix test_pdb on Windows

* Use "with Popen" to cleanup properly the process
* Use support.temp_cwd() to properly change the working directory
* Use environ.pop() to cleanup the code

8 years agoFix check_force_ascii()
Victor Stinner [Sat, 10 Sep 2016 06:11:52 +0000 (23:11 -0700)]
Fix check_force_ascii()

Issue #27938: Normalize aliases of the ASCII encoding, because
_Py_normalize_encoding() now correctly normalize encoding names.

8 years agoIssue #18401: Fix test_pdb if $HOME is not set
Victor Stinner [Sat, 10 Sep 2016 05:56:54 +0000 (22:56 -0700)]
Issue #18401: Fix test_pdb if $HOME is not set

HOME is not set on Windows for example.

Use also textwrap.dedent() for the script.

8 years agoIssue #18401: pdb tests don't read ~/.pdbrc anymore
Łukasz Langa [Sat, 10 Sep 2016 05:21:17 +0000 (22:21 -0700)]
Issue #18401: pdb tests don't read ~/.pdbrc anymore

Patch by Martin Matusiak and Sam Kimbrel.

8 years agoTry to fix sizeof unit tests on dict
Victor Stinner [Sat, 10 Sep 2016 04:51:19 +0000 (21:51 -0700)]
Try to fix sizeof unit tests on dict

Issue #28056 and issue #26058.

8 years agoDon't run garbage collection on interpreter exit if it was explicitly disabled
Łukasz Langa [Sat, 10 Sep 2016 04:47:46 +0000 (21:47 -0700)]
Don't run garbage collection on interpreter exit if it was explicitly disabled
by the user.

8 years agoUse raw string for regexp (3.5->3.6)
Guido van Rossum [Sat, 10 Sep 2016 04:39:36 +0000 (21:39 -0700)]
Use raw string for regexp (3.5->3.6)

8 years agoUse raw string for regexp
Guido van Rossum [Sat, 10 Sep 2016 04:39:10 +0000 (21:39 -0700)]
Use raw string for regexp

8 years ago#20476: Deal with the message_factory circular import differently.
R David Murray [Sat, 10 Sep 2016 04:22:25 +0000 (00:22 -0400)]
#20476: Deal with the message_factory circular import differently.

It turns out we can't depend on email.message getting imported every place
message_factory is needed, so to avoid a circular import we need to special
case Policy.message_factory=None in the parser instead of using monkey
patching.  I had a feeling that was a bad idea when I did it.

8 years agoIssue #27810: Fix getargs.c compilation on Windows
Victor Stinner [Sat, 10 Sep 2016 03:56:52 +0000 (20:56 -0700)]
Issue #27810: Fix getargs.c compilation on Windows

8 years agofix export of size_t parse stack function
Benjamin Peterson [Sat, 10 Sep 2016 03:45:06 +0000 (20:45 -0700)]
fix export of size_t parse stack function

8 years agodictobject.c: explain why stringlib is used
Victor Stinner [Sat, 10 Sep 2016 03:22:59 +0000 (20:22 -0700)]
dictobject.c: explain why stringlib is used

8 years agoIssue #27810: Rerun Argument Clinic on all modules
Victor Stinner [Sat, 10 Sep 2016 03:00:13 +0000 (20:00 -0700)]
Issue #27810: Rerun Argument Clinic on all modules

8 years agoIssue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)
Steve Dower [Sat, 10 Sep 2016 01:38:20 +0000 (18:38 -0700)]
Issue #27566: Fix clean target in freeze makefile (patch by Lisa Roach)

8 years agoIssue #27705: Update message in validate_ucrtbase.py
Steve Dower [Sat, 10 Sep 2016 01:21:15 +0000 (18:21 -0700)]
Issue #27705: Update message in validate_ucrtbase.py

8 years agoIssue #25969: Update the lib2to3 grammar to handle the unpacking
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) [Sat, 10 Sep 2016 01:18:52 +0000 (18:18 -0700)]
Issue #25969: Update the lib2to3 grammar to handle the unpacking
generalizations added in 3.5.

8 years agoremove fix_callable - callable() was readded many releases ago.
Gregory P. Smith [Sat, 10 Sep 2016 01:14:33 +0000 (18:14 -0700)]
remove fix_callable - callable() was readded many releases ago.

8 years agoIssue #27932: Fixes memory leak in platform.win32_ver()
Steve Dower [Sat, 10 Sep 2016 01:01:25 +0000 (18:01 -0700)]
Issue #27932: Fixes memory leak in platform.win32_ver()

8 years agoEmit METH_FASTCALL code in Argument Clinic
Victor Stinner [Sat, 10 Sep 2016 00:40:38 +0000 (17:40 -0700)]
Emit METH_FASTCALL code in Argument Clinic

Issue #27810:

* Modify vgetargskeywordsfast() to work on a C array of PyObject* rather than
  working on a tuple directly.
* Add _PyArg_ParseStack()
* Argument Clinic now emits code using the new METH_FASTCALL calling convention

8 years agoAdd METH_FASTCALL calling convention
Victor Stinner [Sat, 10 Sep 2016 00:40:22 +0000 (17:40 -0700)]
Add METH_FASTCALL calling convention

Issue #27810: Add a new calling convention for C functions:

    PyObject* func(PyObject *self, PyObject **args,
                   Py_ssize_t nargs, PyObject *kwnames);

Where args is a C array of positional arguments followed by values of keyword
arguments. nargs is the number of positional arguments, kwnames are keys of
keyword arguments. kwnames can be NULL.

8 years agoFix SystemError in compact dict
Victor Stinner [Sat, 10 Sep 2016 02:28:36 +0000 (19:28 -0700)]
Fix SystemError in compact dict

Issue #28040: Fix _PyDict_DelItem_KnownHash() and _PyDict_Pop(): convert
splitted table to combined table to be able to delete the item.

Write an unit test for the issue.

Patch by INADA Naoki.

8 years agomake invalid_comma_and_underscore a real prototype
Benjamin Peterson [Sat, 10 Sep 2016 03:14:05 +0000 (20:14 -0700)]
make invalid_comma_and_underscore a real prototype

8 years agoFurther improved ',' and '_' specification in format mini-language.
Eric V. Smith [Sat, 10 Sep 2016 03:13:01 +0000 (23:13 -0400)]
Further improved ',' and '_' specification in format mini-language.

8 years agoImproved ',' and '_' specification in format mini-language.
Eric V. Smith [Sat, 10 Sep 2016 03:12:02 +0000 (23:12 -0400)]
Improved ',' and '_' specification in format mini-language.

8 years agoIssue 27080: PEP 515: add '_' formatting option.
Eric V. Smith [Sat, 10 Sep 2016 03:06:47 +0000 (23:06 -0400)]
Issue 27080: PEP 515: add '_' formatting option.