]> granicus.if.org Git - python/log
python
8 years agoMerge with 3.5
Terry Jan Reedy [Thu, 25 Aug 2016 05:22:44 +0000 (01:22 -0400)]
Merge with 3.5

8 years agoIssue #25564: Mention exec and __builtins__ in IDLE-console difference section.
Terry Jan Reedy [Thu, 25 Aug 2016 05:22:30 +0000 (01:22 -0400)]
Issue #25564: Mention exec and __builtins__ in IDLE-console difference section.

8 years agoIssue #27821: Fix bug in idlelib.comfig function and add new tests.
Terry Jan Reedy [Thu, 25 Aug 2016 02:08:01 +0000 (22:08 -0400)]
Issue #27821: Fix bug in idlelib.comfig function and add new tests.

8 years agomethod_call() and slot_tp_new() now uses fast call
Victor Stinner [Wed, 24 Aug 2016 23:04:14 +0000 (01:04 +0200)]
method_call() and slot_tp_new() now uses fast call

Issue #27841: Add _PyObject_Call_Prepend() helper function to prepend an
argument to existing arguments to call a function. This helper uses fast calls.

Modify method_call() and slot_tp_new() to use _PyObject_Call_Prepend().

8 years agoIssue #27830: Fix _PyObject_FastCallKeywords()
Victor Stinner [Wed, 24 Aug 2016 23:00:31 +0000 (01:00 +0200)]
Issue #27830: Fix _PyObject_FastCallKeywords()

Pass stack, not unrelated and uninitialized args!

8 years ago_pickle: remove outdated comment
Victor Stinner [Wed, 24 Aug 2016 22:58:58 +0000 (00:58 +0200)]
_pickle: remove outdated comment

_Pickle_FastCall() is now fast again!

The optimization was introduced in Python 3.2, removed in Python 3.4 and
reintroduced in Python 3.6 (thanks to the new generic fastcall functions).

8 years ago_PyObject_FastCallDict(): avoid _Py_CheckFunctionResult()
Victor Stinner [Wed, 24 Aug 2016 22:39:34 +0000 (00:39 +0200)]
_PyObject_FastCallDict(): avoid _Py_CheckFunctionResult()

_PyObject_FastCallDict() only requires _Py_CheckFunctionResult() for the
slow-path. Other cases already check for the result.

8 years agoAdd _PyObject_FastCallKeywords()
Victor Stinner [Wed, 24 Aug 2016 22:29:32 +0000 (00:29 +0200)]
Add _PyObject_FastCallKeywords()

Issue #27830: Similar to _PyObject_FastCallDict(), but keyword arguments are
also passed in the same C array than positional arguments, rather than being
passed as a Python dict.

8 years agoCloses #27595: Document PEP 495 (Local Time Disambiguation) features.
Alexander Belopolsky [Wed, 24 Aug 2016 22:30:16 +0000 (18:30 -0400)]
Closes #27595: Document PEP 495 (Local Time Disambiguation) features.

8 years agoFix typo in test name
Berker Peksag [Wed, 24 Aug 2016 22:13:34 +0000 (01:13 +0300)]
Fix typo in test name

Noticed by Xiang Zhang.

8 years agoUse Py_ssize_t type for number of arguments
Victor Stinner [Wed, 24 Aug 2016 22:04:09 +0000 (00:04 +0200)]
Use Py_ssize_t type for number of arguments

Issue #27848: use Py_ssize_t rather than C int for the number of function
positional and keyword arguments.

8 years agoMerge with 3.5
Terry Jan Reedy [Wed, 24 Aug 2016 21:53:16 +0000 (17:53 -0400)]
Merge with 3.5

8 years agoFix misspelling
Terry Jan Reedy [Wed, 24 Aug 2016 21:52:57 +0000 (17:52 -0400)]
Fix misspelling

8 years agoMerge from 3.5
Berker Peksag [Wed, 24 Aug 2016 21:50:59 +0000 (00:50 +0300)]
Merge from 3.5

8 years agoFix typo in Cursor.execute().
Berker Peksag [Wed, 24 Aug 2016 21:50:24 +0000 (00:50 +0300)]
Fix typo in Cursor.execute().

8 years agoIssue #6057: Merge from 3.5
Berker Peksag [Wed, 24 Aug 2016 21:45:36 +0000 (00:45 +0300)]
Issue #6057: Merge from 3.5

8 years agoIssue #6057: Document exceptions in sqlite3 module
Berker Peksag [Wed, 24 Aug 2016 21:45:07 +0000 (00:45 +0300)]
Issue #6057: Document exceptions in sqlite3 module

Patch by Jaysinh Shukla and Stéphane Wirtel.

8 years agoCloses #20124: clarified usage of the atTime parameter in TimedRotatingFileHandler...
Vinay Sajip [Wed, 24 Aug 2016 16:49:15 +0000 (17:49 +0100)]
Closes #20124: clarified usage of the atTime parameter in TimedRotatingFileHandler documentation.

8 years agoIssue #12319: Move NEWS under beta 1 heading
Martin Panter [Wed, 24 Aug 2016 07:51:36 +0000 (07:51 +0000)]
Issue #12319: Move NEWS under beta 1 heading

8 years agoIssue #12319: Support for chunked encoding of HTTP request bodies
Martin Panter [Wed, 24 Aug 2016 06:33:33 +0000 (06:33 +0000)]
Issue #12319: Support for chunked encoding of HTTP request bodies

When the body object is a file, its size is no longer determined with
fstat(), since that can report the wrong result (e.g. reading from a pipe).
Instead, determine the size using seek(), or fall back to chunked encoding
for unseekable files.

Also, change the logic for detecting text files to check for TextIOBase
inheritance, rather than inspecting the “mode” attribute, which may not
exist (e.g. BytesIO and StringIO).  The Content-Length for text files is no
longer determined ahead of time, because the original logic could have been
wrong depending on the codec and newline translation settings.

Patch by Demian Brecht and Rolf Krahl, with a few tweaks by me.

8 years agoRemove expected failure from test of _product internal function.
Steven D'Aprano [Wed, 24 Aug 2016 03:54:31 +0000 (13:54 +1000)]
Remove expected failure from test of _product internal function.

8 years agoRemove support for nth root of negative numbers with odd powers.
Steven D'Aprano [Wed, 24 Aug 2016 02:48:12 +0000 (12:48 +1000)]
Remove support for nth root of negative numbers with odd powers.

Although nth roots of negative numbers are real for odd n, the
statistics module doesn't make use of this. Remove support for
negative roots from the private _nth_root function, which
simplifies the test suite.

8 years agoAdd geometric_mean to __all__
Steven D'Aprano [Wed, 24 Aug 2016 02:17:00 +0000 (12:17 +1000)]
Add geometric_mean to __all__

8 years agoUpdate NEWS.
Steven D'Aprano [Wed, 24 Aug 2016 02:14:58 +0000 (12:14 +1000)]
Update NEWS.

8 years ago#26907: add some missing getsockopt constants.
R David Murray [Wed, 24 Aug 2016 01:12:40 +0000 (21:12 -0400)]
#26907: add some missing getsockopt constants.

Patch by Christian Heimes, reviewed by Martin Panter.

8 years agoMerge: #25916: fix a few 'string of bytes' references.
R David Murray [Wed, 24 Aug 2016 00:44:31 +0000 (20:44 -0400)]
Merge: #25916: fix a few 'string of bytes' references.

8 years ago#25916: fix a few 'string of bytes' references.
R David Murray [Wed, 24 Aug 2016 00:43:56 +0000 (20:43 -0400)]
#25916: fix a few 'string of bytes' references.

Patch by SilengGhost.

8 years agoIssue #27809: map_next() uses fast call
Victor Stinner [Tue, 23 Aug 2016 23:45:13 +0000 (01:45 +0200)]
Issue #27809: map_next() uses fast call

Use a small stack allocated in the C stack for up to 5 iterator functions,
otherwise allocates a stack on the heap memory.

8 years agoPyObject_CallMethodObjArgs() now uses fast call
Victor Stinner [Tue, 23 Aug 2016 23:14:54 +0000 (01:14 +0200)]
PyObject_CallMethodObjArgs() now uses fast call

Issue #27809:

* PyObject_CallMethodObjArgs(), _PyObject_CallMethodIdObjArgs() and
  PyObject_CallFunctionObjArgs() now use fast call to avoid the creation of a
  temporary tuple
* Rename objargs_mktuple() to objargs_mkstack()
* objargs_mkstack() now stores objects in a C array using borrowed references,
  instead of storing arguments into a tuple

objargs_mkstack() uses a small buffer allocated on the C stack for 5 arguments
or less, or allocates a buffer in the heap memory.

Note: this change is different than the change 0e4f26083bbb, I fixed the test
to decide if the small stack can be used or not. sizeof(PyObject**) was also
replaced with sizeof(stack[0]) since the sizeof() was wrong (but gave the same
result).

8 years agoBacked out changeset 0e4f26083bbb (PyObject_CallMethodObjArgs)
Victor Stinner [Tue, 23 Aug 2016 22:59:40 +0000 (00:59 +0200)]
Backed out changeset 0e4f26083bbb (PyObject_CallMethodObjArgs)

8 years agoBacked out changeset 70f88b097f60 (map_next)
Victor Stinner [Tue, 23 Aug 2016 22:54:47 +0000 (00:54 +0200)]
Backed out changeset 70f88b097f60 (map_next)

8 years agoPyObject_CallMethodObjArgs() now uses fast call
Victor Stinner [Tue, 23 Aug 2016 22:01:56 +0000 (00:01 +0200)]
PyObject_CallMethodObjArgs() now uses fast call

Issue #27809:

* PyObject_CallMethodObjArgs(), _PyObject_CallMethodIdObjArgs() and
  PyObject_CallFunctionObjArgs() now use fast call to avoid the creation of a
  temporary tuple
* Rename objargs_mktuple() to objargs_mkstack()
* objargs_mkstack() now stores objects in a C array using borrowed references,
  instead of storing arguments into a tuple

objargs_mkstack() uses a small buffer allocated on the C stack for 5 arguments
or less, or allocates a buffer in the heap memory.

8 years agoA new version of typing.py from https://github.com/python/typing.
Guido van Rossum [Tue, 23 Aug 2016 18:01:50 +0000 (11:01 -0700)]
A new version of typing.py from https://github.com/python/typing.

8 years agoIn asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is in self...
Guido van Rossum [Tue, 23 Aug 2016 16:39:03 +0000 (09:39 -0700)]
In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is in self._waiters.

8 years agoIssue #27809: map_next() uses fast call
Victor Stinner [Tue, 23 Aug 2016 15:56:06 +0000 (17:56 +0200)]
Issue #27809: map_next() uses fast call

Use a small stack allocated in the C stack for up to 5 iterator functions,
otherwise allocates a stack on the heap memory.

8 years agoBacked out changeset 1017215f5492
Mark Dickinson [Tue, 23 Aug 2016 19:00:49 +0000 (20:00 +0100)]
Backed out changeset 1017215f5492

8 years agoIssue #27834: Avoid overflow error in ZoneInfo.invert().
Alexander Belopolsky [Tue, 23 Aug 2016 18:44:51 +0000 (14:44 -0400)]
Issue #27834: Avoid overflow error in ZoneInfo.invert().

8 years agoFix markup, add versionadded tags
Zachary Ware [Tue, 23 Aug 2016 18:23:31 +0000 (13:23 -0500)]
Fix markup, add versionadded tags

8 years agoIssue #27787: No longer call deleted test_main().
Terry Jan Reedy [Tue, 23 Aug 2016 18:20:37 +0000 (14:20 -0400)]
Issue #27787: No longer call deleted test_main().

8 years agoA new version of typing.py from https://github.com/python/typing. (Merge 3.5->3.6)
Guido van Rossum [Tue, 23 Aug 2016 18:06:30 +0000 (11:06 -0700)]
A new version of typing.py from https://github.com/python/typing. (Merge 3.5->3.6)

8 years agoIssue 27598: Add Collections to collections.abc.
Guido van Rossum [Tue, 23 Aug 2016 17:47:07 +0000 (10:47 -0700)]
Issue 27598: Add Collections to collections.abc.

Patch by Ivan Levkivskyi, docs by Neil Girdhar.

8 years agoAutomated merge with ssh://hg.python.org/cpython
Steven D'Aprano [Tue, 23 Aug 2016 16:40:31 +0000 (02:40 +1000)]
Automated merge with ssh://hg.python.org/cpython

8 years agoRe-licence statistics.py under the standard Python licence.
Steven D'Aprano [Tue, 23 Aug 2016 16:40:03 +0000 (02:40 +1000)]
Re-licence statistics.py under the standard Python licence.

8 years agoIn asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is in self...
Guido van Rossum [Tue, 23 Aug 2016 16:39:26 +0000 (09:39 -0700)]
In asyncio.locks.Lock.acquire(): Avoid deadlock when a cancelled future is in self._waiters. (Merge 3.5->3.6)

8 years agoAdd documentation for geometric and harmonic means.
Steven D'Aprano [Tue, 23 Aug 2016 16:34:25 +0000 (02:34 +1000)]
Add documentation for geometric and harmonic means.

8 years agoIssue #26040 (part 1): add new testcases to cmath_testcases.txt. Thanks Jeff Allen.
Mark Dickinson [Tue, 23 Aug 2016 16:33:54 +0000 (17:33 +0100)]
Issue #26040 (part 1): add new testcases to cmath_testcases.txt. Thanks Jeff Allen.

8 years agoIssue #27573 make the exit message configurable.
Steven D'Aprano [Tue, 23 Aug 2016 15:42:15 +0000 (01:42 +1000)]
Issue #27573 make the exit message configurable.

8 years agoIssue #27832: Make _normalize parameter to Fraction.__init__ keyword-only.
Mark Dickinson [Tue, 23 Aug 2016 15:16:52 +0000 (16:16 +0100)]
Issue #27832: Make _normalize parameter to Fraction.__init__ keyword-only.

8 years agoIssue #27809: partial_call() uses fast call for positional args
Victor Stinner [Tue, 23 Aug 2016 14:22:35 +0000 (16:22 +0200)]
Issue #27809: partial_call() uses fast call for positional args

8 years agoIssue #27787: Remove test_main() and hard-coded list of test classes
Martin Panter [Tue, 23 Aug 2016 09:01:43 +0000 (09:01 +0000)]
Issue #27787: Remove test_main() and hard-coded list of test classes

The @reap_threads decorator made the test wait (for up to 1 s) until
background threads have finished.  Calling join() with a timeout should be
equivalent.

8 years agoIssue #12713: reverted fix pending further discussion.
Vinay Sajip [Tue, 23 Aug 2016 07:43:16 +0000 (08:43 +0100)]
Issue #12713: reverted fix pending further discussion.

8 years agoIssue #27809: builtin___build_class__() uses fast call
Victor Stinner [Mon, 22 Aug 2016 23:34:35 +0000 (01:34 +0200)]
Issue #27809: builtin___build_class__() uses fast call

8 years agoPyEval_CallObjectWithKeywords() doesn't inc/decref
Victor Stinner [Mon, 22 Aug 2016 22:25:01 +0000 (00:25 +0200)]
PyEval_CallObjectWithKeywords() doesn't inc/decref

Issue #27809: PyEval_CallObjectWithKeywords() doesn't increment temporary the
reference counter of the args tuple (positional arguments). The caller already
holds a strong reference to it.

8 years agoIssue #27809: methodcaller_reduce() uses fast call
Victor Stinner [Mon, 22 Aug 2016 22:23:23 +0000 (00:23 +0200)]
Issue #27809: methodcaller_reduce() uses fast call

8 years agoIssue #27809: _csv: _call_dialect() uses fast call
Victor Stinner [Mon, 22 Aug 2016 22:21:34 +0000 (00:21 +0200)]
Issue #27809: _csv: _call_dialect() uses fast call

8 years agoIssue #27809: tzinfo_reduce() uses fast call
Victor Stinner [Mon, 22 Aug 2016 22:11:04 +0000 (00:11 +0200)]
Issue #27809: tzinfo_reduce() uses fast call

8 years agoIssue #27809: PyErr_SetImportError() uses fast call
Victor Stinner [Mon, 22 Aug 2016 22:04:41 +0000 (00:04 +0200)]
Issue #27809: PyErr_SetImportError() uses fast call

8 years agoAdd _PyErr_CreateException()
Victor Stinner [Mon, 22 Aug 2016 21:59:08 +0000 (23:59 +0200)]
Add _PyErr_CreateException()

Issue #27809: Helper function optimized to create an exception: use fastcall
whenever possible.

8 years agoIssue #27809: Use _PyObject_FastCallDict()
Victor Stinner [Mon, 22 Aug 2016 21:33:13 +0000 (23:33 +0200)]
Issue #27809: Use _PyObject_FastCallDict()

Modify:

* init_subclass()
* builtin___build_class__()

Fix also a bug in init_subclass(): check for super() failure.

8 years agoPyEval_CallObjectWithKeywords() uses fast call with kwargs
Victor Stinner [Mon, 22 Aug 2016 21:26:00 +0000 (23:26 +0200)]
PyEval_CallObjectWithKeywords() uses fast call with kwargs

Issue #27809. _PyObject_FastCallDict() now supports keyword arguments, and so
the args==NULL fast-path can also be used when kwargs is not NULL.

8 years agoIssue #27809: Use _PyObject_FastCallDict()
Victor Stinner [Mon, 22 Aug 2016 21:21:55 +0000 (23:21 +0200)]
Issue #27809: Use _PyObject_FastCallDict()

Modify:

* builtin_sorted()
* classmethoddescr_call()
* methoddescr_call()
* wrapperdescr_call()

8 years agoIssue #27809: Cleanup _PyEval_EvalCodeWithName()
Victor Stinner [Mon, 22 Aug 2016 21:17:30 +0000 (23:17 +0200)]
Issue #27809: Cleanup _PyEval_EvalCodeWithName()

* Rename nm to name
* PEP 7: add { ... } to if/else blocks

8 years ago_PyFunction_FastCallDict() supports keyword args
Victor Stinner [Mon, 22 Aug 2016 21:15:44 +0000 (23:15 +0200)]
_PyFunction_FastCallDict() supports keyword args

Issue #27809:

* Rename _PyFunction_FastCall() to _PyFunction_FastCallDict()
* Rename _PyCFunction_FastCall() to _PyCFunction_FastCallDict()
*  _PyFunction_FastCallDict() now supports keyword arguments

8 years agoRename _PyObject_FastCall() to _PyObject_FastCallDict()
Victor Stinner [Mon, 22 Aug 2016 20:48:54 +0000 (22:48 +0200)]
Rename _PyObject_FastCall() to _PyObject_FastCallDict()

Issue #27809:

* Rename _PyObject_FastCall() function to _PyObject_FastCallDict()
* Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1()
  macros calling _PyObject_FastCallDict()

8 years agoIssue #27587: Merge from 3.5
Berker Peksag [Mon, 22 Aug 2016 15:07:02 +0000 (18:07 +0300)]
Issue #27587: Merge from 3.5

8 years agoIssue #27587: Move null pointer check earlier in _PyState_AddModule()
Berker Peksag [Mon, 22 Aug 2016 15:05:56 +0000 (18:05 +0300)]
Issue #27587: Move null pointer check earlier in _PyState_AddModule()

This was found by PVS-Studio:

V595 The 'def' pointer was utilized before it was verified
against nullptr. Check lines: 286, 292. pystate.c 286

Initial patch by Christian Heimes.

8 years agoIssue #27829: libregrtest.save_env: flush stderr
Victor Stinner [Mon, 22 Aug 2016 12:29:54 +0000 (14:29 +0200)]
Issue #27829: libregrtest.save_env: flush stderr

Use flush=True to try to get a warning which is missing in buildbots.

Use also f-string to make the code shorter.

8 years agoCleanup libregrtest
Victor Stinner [Mon, 22 Aug 2016 12:28:52 +0000 (14:28 +0200)]
Cleanup libregrtest

* main.py: remove unused import
* runtest: simplify runtest_inner() parameters, reuse ns parameter

8 years agoIssue #27792: force int return type for modulo operations involving bools.
Mark Dickinson [Mon, 22 Aug 2016 11:24:46 +0000 (12:24 +0100)]
Issue #27792: force int return type for modulo operations involving bools.

8 years agoOptimize call to Python function without argument
Victor Stinner [Mon, 22 Aug 2016 10:29:42 +0000 (12:29 +0200)]
Optimize call to Python function without argument

Issue #27128. When a Python function is called with no arguments, but all
parameters have a default value: use default values as arguments for the fast
path.

8 years agoIssue #27539: Merge from 3.5.
Mark Dickinson [Mon, 22 Aug 2016 09:56:06 +0000 (10:56 +0100)]
Issue #27539: Merge from 3.5.

8 years agoIssue #27539: Fix unnormalised Fraction.__pow__ result for negative exponent and...
Mark Dickinson [Mon, 22 Aug 2016 09:50:53 +0000 (10:50 +0100)]
Issue #27539: Fix unnormalised Fraction.__pow__ result for negative exponent and base. Thanks Vedran Čačić.

8 years agoRemove main section that was only used during testing and development
Raymond Hettinger [Mon, 22 Aug 2016 03:52:26 +0000 (20:52 -0700)]
Remove main section that was only used during testing and development

8 years agoIssue #27819: Add more detail in What's New in 3.6.
Jason R. Coombs [Sun, 21 Aug 2016 20:09:27 +0000 (16:09 -0400)]
Issue #27819: Add more detail in What's New in 3.6.

8 years agoremove unused list of pgen srcs
Benjamin Peterson [Sun, 21 Aug 2016 19:53:09 +0000 (12:53 -0700)]
remove unused list of pgen srcs

8 years agoIssue #26984: int() now always returns an instance of exact int.
Serhiy Storchaka [Sun, 21 Aug 2016 17:03:08 +0000 (20:03 +0300)]
Issue #26984: int() now always returns an instance of exact int.

8 years agoIssue #21718: Merge from 3.5
Berker Peksag [Sun, 21 Aug 2016 16:41:38 +0000 (19:41 +0300)]
Issue #21718: Merge from 3.5

8 years agoIssue #21718: cursor.description is now available for queries using CTEs
Berker Peksag [Sun, 21 Aug 2016 16:38:47 +0000 (19:38 +0300)]
Issue #21718: cursor.description is now available for queries using CTEs

According to PEP 249, cursor.description must be
available for any SELECT statements, such as those
that use CTEs.

Backported from https://github.com/ghaering/pysqlite/commit/f67fa9c898a4713850e16934046f0fe2cba8c44c

Additional test cases added by me.

8 years agoUntabify Objects/longobject.c.
Mark Dickinson [Sun, 21 Aug 2016 09:33:36 +0000 (10:33 +0100)]
Untabify Objects/longobject.c.

8 years agoIssue #25604: Fix minor bug in integer true division, which could
Mark Dickinson [Sun, 21 Aug 2016 09:23:23 +0000 (10:23 +0100)]
Issue #25604: Fix minor bug in integer true division, which could
have caused off-by-one-ulp results on certain platforms.

8 years agoIssue #27662: add missing Misc/NEWS entry.
Mark Dickinson [Sun, 21 Aug 2016 08:31:44 +0000 (09:31 +0100)]
Issue #27662: add missing Misc/NEWS entry.

8 years agoIssue #27662: don't use PY_SIZE_MAX for overflow checking in List_New. Patch by Xiang...
Mark Dickinson [Sun, 21 Aug 2016 07:55:15 +0000 (08:55 +0100)]
Issue #27662: don't use PY_SIZE_MAX for overflow checking in List_New. Patch by Xiang Zhang.

8 years agoMerge #27782 fix from 3.5
Nick Coghlan [Sun, 21 Aug 2016 07:43:58 +0000 (17:43 +1000)]
Merge #27782 fix from 3.5

8 years agoIssue #27782: Fix m_methods handling in multiphase init
Nick Coghlan [Sun, 21 Aug 2016 07:41:56 +0000 (17:41 +1000)]
Issue #27782: Fix m_methods handling in multiphase init

Multi-phase extension module import now correctly allows the
``m_methods`` field to be used to add module level functions
to instances of non-module types returned from ``Py_create_mod``.

Patch by Xiang Zhang.

8 years agoIssue #27487: Merge runpy warning from 3.5
Martin Panter [Sun, 21 Aug 2016 05:07:35 +0000 (05:07 +0000)]
Issue #27487: Merge runpy warning from 3.5

8 years agoFix typo in IDLE News.
Terry Jan Reedy [Sun, 21 Aug 2016 04:20:35 +0000 (00:20 -0400)]
Fix typo in IDLE News.

8 years agoFix typo in IDLE News.
Terry Jan Reedy [Sun, 21 Aug 2016 04:18:55 +0000 (00:18 -0400)]
Fix typo in IDLE News.

8 years agoIssue #27487: Warn if submodule already imported before runpy execution
Martin Panter [Sun, 21 Aug 2016 04:07:58 +0000 (04:07 +0000)]
Issue #27487: Warn if submodule already imported before runpy execution

Also try to clarify the find_spec() error message.

8 years agoAdd 3.6.0a4 IDLE NEWS and idlelib/NEWS.txt items.
Terry Jan Reedy [Sun, 21 Aug 2016 01:43:00 +0000 (21:43 -0400)]
Add 3.6.0a4 IDLE NEWS and idlelib/NEWS.txt items.

8 years agoAdd 3.5.3 IDLE NEWS and idlelib/NEWS.txt items.
Terry Jan Reedy [Sun, 21 Aug 2016 01:41:03 +0000 (21:41 -0400)]
Add 3.5.3 IDLE NEWS and idlelib/NEWS.txt items.

8 years agoIssue #27714: Remove unneeded non-idempotent call that fails on retest.
Terry Jan Reedy [Sun, 21 Aug 2016 01:08:50 +0000 (21:08 -0400)]
Issue #27714: Remove unneeded non-idempotent call that fails on retest.

8 years agoIssue #27714: Remove unneeded non-idempotent call that fails on retest.
Terry Jan Reedy [Sun, 21 Aug 2016 01:07:38 +0000 (21:07 -0400)]
Issue #27714: Remove unneeded non-idempotent call that fails on retest.

8 years agoIssue #27819: Simply default to gztar for sdist formats by default on all platforms.
Jason R. Coombs [Sat, 20 Aug 2016 21:31:07 +0000 (17:31 -0400)]
Issue #27819: Simply default to gztar for sdist formats by default on all platforms.

8 years agoIssue #27692: Removed unnecessary NULL checks in exceptions.c.
Serhiy Storchaka [Sat, 20 Aug 2016 18:22:03 +0000 (21:22 +0300)]
Issue #27692: Removed unnecessary NULL checks in exceptions.c.
Patch by Xiang Zhang.

8 years agoissue26981: fix typo
Ethan Furman [Sat, 20 Aug 2016 15:56:40 +0000 (08:56 -0700)]
issue26981: fix typo

8 years agoissue26981: add _order_ compatibility shim to enum.Enum
Ethan Furman [Sat, 20 Aug 2016 14:19:31 +0000 (07:19 -0700)]
issue26981: add _order_ compatibility shim to enum.Enum

8 years agoFix more typos
Martin Panter [Sat, 20 Aug 2016 08:27:06 +0000 (08:27 +0000)]
Fix more typos

8 years agoMerge spelling fixes from 3.5
Martin Panter [Sat, 20 Aug 2016 08:26:16 +0000 (08:26 +0000)]
Merge spelling fixes from 3.5

8 years agoIssue #12982: Merge from 3.5
Berker Peksag [Sat, 20 Aug 2016 08:12:20 +0000 (11:12 +0300)]
Issue #12982: Merge from 3.5

8 years agoIssue #12982: Thanks to PEP 488, Python no longer creates .pyo files
Berker Peksag [Sat, 20 Aug 2016 08:11:52 +0000 (11:11 +0300)]
Issue #12982: Thanks to PEP 488, Python no longer creates .pyo files