]> granicus.if.org Git - python/log
python
9 years agoMiscellaneous refactorings
Raymond Hettinger [Sun, 24 Jan 2016 17:12:06 +0000 (09:12 -0800)]
Miscellaneous refactorings

* Add comment to the maxlen structure entry about the meaning of maxlen == -1
* Factor-out code common to deque_append(left) and deque_extend(left)
* Factor inner-loop in deque_clear() to use only 1 test per loop instead of 2
* Tighten inner-loops for deque_item() and deque_ass_item() so that the
  compiler can combine the decrement and test into a single step.

9 years agoIssue #26146: marshal.loads() now uses the empty frozenset singleton
Victor Stinner [Sat, 23 Jan 2016 13:15:48 +0000 (14:15 +0100)]
Issue #26146: marshal.loads() now uses the empty frozenset singleton

9 years agoCleanup test_dict
Victor Stinner [Sat, 23 Jan 2016 12:52:05 +0000 (13:52 +0100)]
Cleanup test_dict

* Write one import per line
* Sort imports by name
* Add an empty line: 2 empty lines between code blocks at the module level (PEP 8)

9 years agotest_gc: remove unused imports
Victor Stinner [Sat, 23 Jan 2016 12:29:02 +0000 (13:29 +0100)]
test_gc: remove unused imports

9 years agoIssue #18018: Raise an ImportError if a relative import is attempted
Brett Cannon [Sat, 23 Jan 2016 00:39:02 +0000 (16:39 -0800)]
Issue #18018: Raise an ImportError if a relative import is attempted
with no known parent package.

Previously SystemError was raised if the parent package didn't exist
(e.g., __package__ was set to '').
Thanks to Florent Xicluna and Yongzhi Pan for reporting the issue.

9 years agoIssue #25234: Skip test_eintr.test_open() under OS X to avoid hanging
Brett Cannon [Fri, 22 Jan 2016 23:55:56 +0000 (15:55 -0800)]
Issue #25234: Skip test_eintr.test_open() under OS X to avoid hanging

9 years agowhitespace cleanup
Brett Cannon [Fri, 22 Jan 2016 23:26:56 +0000 (15:26 -0800)]
whitespace cleanup

9 years agoIssue #25791: Warn when __package__ != __spec__.parent.
Brett Cannon [Fri, 22 Jan 2016 23:25:50 +0000 (15:25 -0800)]
Issue #25791: Warn when __package__ != __spec__.parent.

In a previous change, __spec__.parent was prioritized over
__package__. That is a backwards-compatibility break, but we do
eventually want __spec__ to be the ground truth for module details. So
this change reverts the change in semantics and instead raises an
ImportWarning when __package__ != __spec__.parent to give people time
to adjust to using spec objects.

9 years agoMerge from 3.5
Brett Cannon [Fri, 22 Jan 2016 22:05:41 +0000 (14:05 -0800)]
Merge from 3.5

9 years agoFix a typo in a code example
Brett Cannon [Fri, 22 Jan 2016 22:03:27 +0000 (14:03 -0800)]
Fix a typo in a code example

9 years agoMerge 3.5 (i18n doc, issue #25907)
Victor Stinner [Fri, 22 Jan 2016 17:00:31 +0000 (18:00 +0100)]
Merge 3.5 (i18n doc, issue #25907)

9 years agodoc: i18n HTML templates
Victor Stinner [Fri, 22 Jan 2016 17:00:05 +0000 (18:00 +0100)]
doc: i18n HTML templates

Issue #25907: Use {% trans %} tags in HTML templates to ease the translation of
the documentation. The tag comes from Jinja templating system, used by Sphinx.

Patch written by Julien Palard.

9 years agoNull merge 3.5 (change already applied to default)
Victor Stinner [Fri, 22 Jan 2016 14:59:02 +0000 (15:59 +0100)]
Null merge 3.5 (change already applied to default)

9 years agoIssue #25876: Fix also test_set() of test_gdb when -E command line is used
Victor Stinner [Fri, 22 Jan 2016 14:04:27 +0000 (15:04 +0100)]
Issue #25876: Fix also test_set() of test_gdb when -E command line is used

9 years agoIssue #25876: test_gdb: use subprocess._args_from_interpreter_flags() to test
Victor Stinner [Fri, 22 Jan 2016 13:16:47 +0000 (14:16 +0100)]
Issue #25876: test_gdb: use subprocess._args_from_interpreter_flags() to test
Python with more options.

9 years agoUse Py_uintptr_t for atomic pointers
Victor Stinner [Fri, 22 Jan 2016 13:09:55 +0000 (14:09 +0100)]
Use Py_uintptr_t for atomic pointers

Issue #26161: Use Py_uintptr_t instead of void* for atomic pointers in
pyatomic.h. Use atomic_uintptr_t when <stdatomic.h> is used.

Using void* causes compilation warnings depending on which implementation of
atomic types is used.

9 years agocode_richcompare() now uses the constants types
Victor Stinner [Fri, 22 Jan 2016 11:33:12 +0000 (12:33 +0100)]
code_richcompare() now uses the constants types

Issue #25843: When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.

Add a new _PyCode_ConstantKey() private function.

9 years agocode_richcompare() now uses the constants types
Victor Stinner [Fri, 22 Jan 2016 11:33:12 +0000 (12:33 +0100)]
code_richcompare() now uses the constants types

Issue #25843: When compiling code, don't merge constants if they are equal but
have a different types. For example, "f1, f2 = lambda: 1, lambda: 1.0" is now
correctly compiled to two different functions: f1() returns 1 (int) and f2()
returns 1.0 (int), even if 1 and 1.0 are equal.

Add a new _PyCode_ConstantKey() private function.

9 years agosite: error on sitecustomize import error
Victor Stinner [Fri, 22 Jan 2016 11:22:07 +0000 (12:22 +0100)]
site: error on sitecustomize import error

Issue #26099: The site module now writes an error into stderr if sitecustomize
module can be imported but executing the module raise an ImportError. Same
change for usercustomize.

9 years agomerge 3.5
Benjamin Peterson [Fri, 22 Jan 2016 06:04:04 +0000 (22:04 -0800)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Fri, 22 Jan 2016 06:03:55 +0000 (22:03 -0800)]
merge 3.4

9 years agoreject negative data_size
Benjamin Peterson [Fri, 22 Jan 2016 06:02:46 +0000 (22:02 -0800)]
reject negative data_size

9 years agomerge from 3.5
Senthil Kumaran [Fri, 22 Jan 2016 05:08:25 +0000 (21:08 -0800)]
merge from 3.5

minor clarification on Zipfile 'x' mode - exclusive creation of a file.

(Based on the feedback from docs@python.org list)

9 years agominor clarification on Zipfile 'x' mode - exclusive creation of a file.
Senthil Kumaran [Fri, 22 Jan 2016 05:06:47 +0000 (21:06 -0800)]
minor clarification on Zipfile 'x' mode - exclusive creation of a file.

9 years agoMerge update to pip
Donald Stufft [Fri, 22 Jan 2016 02:56:28 +0000 (21:56 -0500)]
Merge update to pip

9 years agoMerge update to pip
Donald Stufft [Fri, 22 Jan 2016 02:56:06 +0000 (21:56 -0500)]
Merge update to pip

9 years agoUpgrade pip to 8.0.2
Donald Stufft [Fri, 22 Jan 2016 02:55:32 +0000 (21:55 -0500)]
Upgrade pip to 8.0.2

9 years agoIssue #18620: Improve Pool examples in multiprocessing documentation
Berker Peksag [Thu, 21 Jan 2016 22:00:06 +0000 (00:00 +0200)]
Issue #18620: Improve Pool examples in multiprocessing documentation

A single call to Pool.apply_async() will create only one process. To use all
of the pool's processes, it should be invoked multiple times:

    with Pool(processes=4) as pool:
        results = [pool.apply_async(func, ()) for i in range(4)]

Patch by Davin Potts.

9 years agoIssue #18620: Improve Pool examples in multiprocessing documentation
Berker Peksag [Thu, 21 Jan 2016 21:59:49 +0000 (23:59 +0200)]
Issue #18620: Improve Pool examples in multiprocessing documentation

A single call to Pool.apply_async() will create only one process. To use all
of the pool's processes, it should be invoked multiple times:

    with Pool(processes=4) as pool:
        results = [pool.apply_async(func, ()) for i in range(4)]

Patch by Davin Potts.

9 years agomerge from 3.5
Senthil Kumaran [Thu, 21 Jan 2016 17:38:02 +0000 (09:38 -0800)]
merge from 3.5

issue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys and
PyMapping_Values in Include/abstract.h and Doc/c-api/mapping.rst.

Patch contributed by Sonali Gupta.

9 years agoissue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys and
Senthil Kumaran [Thu, 21 Jan 2016 17:37:28 +0000 (09:37 -0800)]
issue25909 - Correct the documentation of PyMapping_Items, PyMapping_Keys and
PyMapping_Values in Include/abstract.h and Doc/c-api/mapping.rst.

Patch contributed by Sonali Gupta.

9 years agoIssue #26107: Fix typo in Objects/lnotab_notes.txt
Victor Stinner [Thu, 21 Jan 2016 17:12:29 +0000 (18:12 +0100)]
Issue #26107: Fix typo in Objects/lnotab_notes.txt

Double parenthesis

9 years agoMerge 3.5 (doc)
Victor Stinner [Thu, 21 Jan 2016 07:58:44 +0000 (08:58 +0100)]
Merge 3.5 (doc)

9 years agoIssue #26106: doc: Move text of licenses to parsed literal block
Victor Stinner [Thu, 21 Jan 2016 07:56:00 +0000 (08:56 +0100)]
Issue #26106: doc: Move text of licenses to parsed literal block

This change helps to ignore text of PSF, BEOPEN.com and CNRI licenses when
translating the documentation. Patch written by Julien Palard who is
translating Python 3.5 doc to french. Text of other licenses already used
preformatted format.

9 years agomerge 3.5 (#26171)
Benjamin Peterson [Thu, 21 Jan 2016 06:25:40 +0000 (22:25 -0800)]
merge 3.5 (#26171)

9 years agomerge 3.4 (#26171)
Benjamin Peterson [Thu, 21 Jan 2016 06:25:06 +0000 (22:25 -0800)]
merge 3.4 (#26171)

9 years agoprevent buffer overflow in get_data (closes #26171)
Benjamin Peterson [Thu, 21 Jan 2016 06:23:44 +0000 (22:23 -0800)]
prevent buffer overflow in get_data (closes #26171)

9 years agomerge 3.5
Benjamin Peterson [Thu, 21 Jan 2016 06:07:50 +0000 (22:07 -0800)]
merge 3.5

9 years agomerge 3.4
Benjamin Peterson [Thu, 21 Jan 2016 06:07:43 +0000 (22:07 -0800)]
merge 3.4

9 years agofix refleak in error condition
Benjamin Peterson [Thu, 21 Jan 2016 06:06:43 +0000 (22:06 -0800)]
fix refleak in error condition

9 years agomerge 3.5 (#26172)
Benjamin Peterson [Thu, 21 Jan 2016 06:03:00 +0000 (22:03 -0800)]
merge 3.5 (#26172)

9 years agomerge 3.4 (#26172)
Benjamin Peterson [Thu, 21 Jan 2016 06:02:47 +0000 (22:02 -0800)]
merge 3.4 (#26172)

9 years agoremove script from epub (closes #26172)
Benjamin Peterson [Thu, 21 Jan 2016 06:02:30 +0000 (22:02 -0800)]
remove script from epub (closes #26172)

9 years agoMerge 3.5 (issue #24520)
Victor Stinner [Wed, 20 Jan 2016 21:28:10 +0000 (22:28 +0100)]
Merge 3.5 (issue #24520)

9 years agoReplace fpgetmask() with fedisableexcept()
Victor Stinner [Wed, 20 Jan 2016 21:27:34 +0000 (22:27 +0100)]
Replace fpgetmask() with fedisableexcept()

Issue #24520: On FreeBSD, fpgetmask() was deprecated long time ago.
fedisableexcept() is now preferred.

9 years agoco_lnotab supports negative line number delta
Victor Stinner [Wed, 20 Jan 2016 11:16:21 +0000 (12:16 +0100)]
co_lnotab supports negative line number delta

Issue #26107: The format of the co_lnotab attribute of code objects changes to
support negative line number delta.

Changes:

* assemble_lnotab(): if line number delta is less than -128 or greater than
  127, emit multiple (offset_delta, lineno_delta) in co_lnotab
* update functions decoding co_lnotab to use signed 8-bit integers

  - dis.findlinestarts()
  - PyCode_Addr2Line()
  - _PyCode_CheckLineNumber()
  - frame_setlineno()

* update lnotab_notes.txt
* increase importlib MAGIC_NUMBER to 3361
* document the change in What's New in Python 3.6
* cleanup also PyCode_Optimize() to use better variable names

9 years agomerge from 3.5
Senthil Kumaran [Wed, 20 Jan 2016 11:11:52 +0000 (03:11 -0800)]
merge from 3.5

issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.

9 years agoissue25982 - Add a class definition for managers.Namespace in the multiprocessing...
Senthil Kumaran [Wed, 20 Jan 2016 11:10:13 +0000 (03:10 -0800)]
issue25982 - Add a class definition for managers.Namespace in the multiprocessing docs.

9 years agoMerge 3.5
Victor Stinner [Wed, 20 Jan 2016 10:19:46 +0000 (11:19 +0100)]
Merge 3.5

Issue #26154: Add a new private _PyThreadState_UncheckedGet() function.

9 years agoAdd _PyThreadState_UncheckedGet()
Victor Stinner [Wed, 20 Jan 2016 10:12:38 +0000 (11:12 +0100)]
Add _PyThreadState_UncheckedGet()

Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which
gets the current thread state, but don't call Py_FatalError() if it is NULL.

Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to
no more expose complex and private atomic types. Atomic types depends on the
compiler or can even depend on compiler options. The new function
_PyThreadState_UncheckedGet() allows to get the variable value without having
to care of the exact implementation of atomic types.

Changes:

* Replace direct usage of the _PyThreadState_Current variable with a call to
  _PyThreadState_UncheckedGet().
* In pystate.c, replace direct usage of the _PyThreadState_Current variable
  with the PyThreadState_GET() macro for readability.
* Document also PyThreadState_Get() in pystate.h

9 years agoIssue #26147: xmlrpc now works with strings not encodable with used
Serhiy Storchaka [Wed, 20 Jan 2016 08:41:33 +0000 (10:41 +0200)]
Issue #26147: xmlrpc now works with strings not encodable with used
non-UTF-8 encoding.

9 years agoIssue #26147: xmlrpc now works with strings not encodable with used
Serhiy Storchaka [Wed, 20 Jan 2016 08:34:27 +0000 (10:34 +0200)]
Issue #26147: xmlrpc now works with strings not encodable with used
non-UTF-8 encoding.

9 years agoIssue #5626: Remove misleading comment from socket.gethostname() documentation
Berker Peksag [Wed, 20 Jan 2016 06:45:54 +0000 (08:45 +0200)]
Issue #5626: Remove misleading comment from socket.gethostname() documentation

A machine can have more than one IP addresses so
socket.gethostbyname(socket.gethostname()) probably won't return the correct
one.

9 years agoIssue #5626: Remove misleading comment from socket.gethostname() documentation
Berker Peksag [Wed, 20 Jan 2016 06:45:37 +0000 (08:45 +0200)]
Issue #5626: Remove misleading comment from socket.gethostname() documentation

A machine can have more than one IP addresses so
socket.gethostbyname(socket.gethostname()) probably won't return the correct
one.

9 years agoIssue #26157: Fix typos in asyncio-eventloop.rst
Berker Peksag [Wed, 20 Jan 2016 05:14:43 +0000 (07:14 +0200)]
Issue #26157: Fix typos in asyncio-eventloop.rst

Initial patch by Carlo Beccarini.

9 years agoIssue #26157: Fix typos in asyncio-eventloop.rst
Berker Peksag [Wed, 20 Jan 2016 05:14:22 +0000 (07:14 +0200)]
Issue #26157: Fix typos in asyncio-eventloop.rst

Initial patch by Carlo Beccarini.

9 years agoMerge update to pip/setuptools
Donald Stufft [Wed, 20 Jan 2016 01:15:33 +0000 (20:15 -0500)]
Merge update to pip/setuptools

9 years agoMerge update to pip/setuptools
Donald Stufft [Wed, 20 Jan 2016 01:14:39 +0000 (20:14 -0500)]
Merge update to pip/setuptools

9 years agoUpdate pip to 8.0.0 and setuptools to 19.4
Donald Stufft [Wed, 20 Jan 2016 01:13:51 +0000 (20:13 -0500)]
Update pip to 8.0.0 and setuptools to 19.4

9 years agoIssue #25935: Garbage collector now breaks reference loops with OrderedDict.
Serhiy Storchaka [Tue, 19 Jan 2016 12:48:42 +0000 (14:48 +0200)]
Issue #25935: Garbage collector now breaks reference loops with OrderedDict.

9 years agoIssue #25935: Garbage collector now breaks reference loops with OrderedDict.
Serhiy Storchaka [Tue, 19 Jan 2016 12:46:25 +0000 (14:46 +0200)]
Issue #25935: Garbage collector now breaks reference loops with OrderedDict.

9 years agoIssue #16620: Got rid of using undocumented function glob.glob1().
Serhiy Storchaka [Tue, 19 Jan 2016 12:09:33 +0000 (14:09 +0200)]
Issue #16620: Got rid of using undocumented function glob.glob1().

9 years agoIssue #16620: Fixed AttributeError in msilib.Directory.glob().
Serhiy Storchaka [Tue, 19 Jan 2016 12:06:13 +0000 (14:06 +0200)]
Issue #16620: Fixed AttributeError in msilib.Directory.glob().

9 years agoIssue #16620: Fixed AttributeError in msilib.Directory.glob().
Serhiy Storchaka [Tue, 19 Jan 2016 11:55:36 +0000 (13:55 +0200)]
Issue #16620: Fixed AttributeError in msilib.Directory.glob().

9 years agoMerge 3.5
Victor Stinner [Tue, 19 Jan 2016 07:50:56 +0000 (08:50 +0100)]
Merge 3.5

9 years agoFix BytecodeTestCase.assertNotInBytecode()
Victor Stinner [Tue, 19 Jan 2016 07:48:48 +0000 (08:48 +0100)]
Fix BytecodeTestCase.assertNotInBytecode()

Issue #11816: Fix bytecode_helper to handle correctly errors. Don't use
unassigned variables.

9 years agomerge 3.5 (#25731)
Benjamin Peterson [Tue, 19 Jan 2016 05:18:35 +0000 (21:18 -0800)]
merge 3.5 (#25731)

9 years agoset tp_new from the class in the hierarchy that actually owns the descriptor (closes...
Benjamin Peterson [Tue, 19 Jan 2016 05:11:18 +0000 (21:11 -0800)]
set tp_new from the class in the hierarchy that actually owns the descriptor (closes #25731)

Debugging by Eryk Sun.

9 years agomerge from 3.5
Senthil Kumaran [Tue, 19 Jan 2016 02:45:54 +0000 (18:45 -0800)]
merge from 3.5

issue23962 - Reference the correct TimeoutError in concurrent.futures documentation.

Patch contributed by Ryder Lewis.

9 years agoissue23962 - Reference the correct TimeoutError in concurrent.futures documentation.
Senthil Kumaran [Tue, 19 Jan 2016 02:45:00 +0000 (18:45 -0800)]
issue23962 - Reference the correct TimeoutError in concurrent.futures documentation.

Patch contributed by Ryder Lewis.

9 years agoIssue #25859: Merge NNTP test server from 3.5
Martin Panter [Tue, 19 Jan 2016 01:35:44 +0000 (01:35 +0000)]
Issue #25859: Merge NNTP test server from 3.5

9 years agoIssue #25859: Reimplement NNTP test_starttls() using local server
Martin Panter [Tue, 19 Jan 2016 01:10:58 +0000 (01:10 +0000)]
Issue #25859: Reimplement NNTP test_starttls() using local server

The previous test relied on a remote server, which currently seems to be
shutting the connection down once TLS has been set up, causing an EOFError.
Now the test is implemented using a minimal NNTP server running in a
background thread.

9 years agoIssue #25366: Skip test_with_pip when threading module is not available
Berker Peksag [Tue, 19 Jan 2016 00:02:13 +0000 (02:02 +0200)]
Issue #25366: Skip test_with_pip when threading module is not available

Some dependencies of pip import threading module unconditionally so
we need to skip the test to make buildbots happy.

9 years agoIssue #25366: Skip test_with_pip when threading module is not available
Berker Peksag [Tue, 19 Jan 2016 00:01:53 +0000 (02:01 +0200)]
Issue #25366: Skip test_with_pip when threading module is not available

Some dependencies of pip import threading module unconditionally so
we need to skip the test to make buildbots happy.

9 years agoAdded exceptins for testing non-reversible import mapping for Issue #26013.
Serhiy Storchaka [Mon, 18 Jan 2016 20:34:19 +0000 (22:34 +0200)]
Added exceptins for testing non-reversible import mapping for Issue #26013.

9 years agoAdded exceptins for testing non-reversible import mapping for Issue #26013.
Serhiy Storchaka [Mon, 18 Jan 2016 20:33:44 +0000 (22:33 +0200)]
Added exceptins for testing non-reversible import mapping for Issue #26013.

9 years agoIssue #26013: Added compatibility with broken protocol 2 pickles created
Serhiy Storchaka [Mon, 18 Jan 2016 19:36:03 +0000 (21:36 +0200)]
Issue #26013: Added compatibility with broken protocol 2 pickles created
in old Python 3 versions (3.4.3 and lower).

9 years agoIssue #26013: Added compatibility with broken protocol 2 pickles created
Serhiy Storchaka [Mon, 18 Jan 2016 19:35:22 +0000 (21:35 +0200)]
Issue #26013: Added compatibility with broken protocol 2 pickles created
in old Python 3 versions (3.4.3 and lower).

9 years agoIssue #9006: Added tests for XML RPC with non-UTF-8 encoding.
Serhiy Storchaka [Mon, 18 Jan 2016 17:40:23 +0000 (19:40 +0200)]
Issue #9006: Added tests for XML RPC with non-UTF-8 encoding.

9 years agoIssue #9006: Added tests for XML RPC with non-UTF-8 encoding.
Serhiy Storchaka [Mon, 18 Jan 2016 17:39:26 +0000 (19:39 +0200)]
Issue #9006: Added tests for XML RPC with non-UTF-8 encoding.

9 years agoIssue #26129: Deprecated accepting non-integers in grp.getgrgid().
Serhiy Storchaka [Mon, 18 Jan 2016 16:49:57 +0000 (18:49 +0200)]
Issue #26129: Deprecated accepting non-integers in grp.getgrgid().

9 years agosubprocess._optim_args_from_interpreter_flags()
Victor Stinner [Mon, 18 Jan 2016 11:15:08 +0000 (12:15 +0100)]
subprocess._optim_args_from_interpreter_flags()

Issue #26100:

* Add subprocess._optim_args_from_interpreter_flags()
* Add test.support.optim_args_from_interpreter_flags()
* Use new functions in distutils, test_cmd_line_script, test_compileall and
  test_inspect

The change enables test_details() test of test_inspect when -O or -OO command
line option is used.

9 years agoFix test_compilepath() of test_compileall
Victor Stinner [Mon, 18 Jan 2016 10:25:50 +0000 (11:25 +0100)]
Fix test_compilepath() of test_compileall

Issue #26101: Exclude Lib/test/ from sys.path in test_compilepath(). The
directory contains invalid Python files like Lib/test/badsyntax_pep3120.py,
whereas the test ensures that all files can be compiled.

9 years agoFix indentation of continuation lines.
Georg Brandl [Mon, 18 Jan 2016 07:00:15 +0000 (08:00 +0100)]
Fix indentation of continuation lines.

9 years agoFix two instances of wrong indentation.
Georg Brandl [Mon, 18 Jan 2016 06:53:59 +0000 (07:53 +0100)]
Fix two instances of wrong indentation.

9 years agoIssue26069 - Update whatsnew/3.6.rst on traceback module's api removals.
Senthil Kumaran [Mon, 18 Jan 2016 04:12:16 +0000 (20:12 -0800)]
Issue26069 - Update whatsnew/3.6.rst on traceback module's api removals.

9 years agoMerge from 3.5
Senthil Kumaran [Mon, 18 Jan 2016 02:42:50 +0000 (18:42 -0800)]
Merge from 3.5

Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.

9 years agoIssue26017 - Suggest enclosing command args in double quotes when using characters...
Senthil Kumaran [Mon, 18 Jan 2016 02:42:13 +0000 (18:42 -0800)]
Issue26017 - Suggest enclosing command args in double quotes when using characters which get interpreted by shell.

9 years agoIssue #26139: libmpdec: disable /W4 warning (non-standard dllimport behavior).
Stefan Krah [Sun, 17 Jan 2016 11:28:43 +0000 (12:28 +0100)]
Issue #26139: libmpdec: disable /W4 warning (non-standard dllimport behavior).

9 years agoMerge with 3.5
Terry Jan Reedy [Sun, 17 Jan 2016 04:44:16 +0000 (23:44 -0500)]
Merge with 3.5

9 years agoIssue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Terry Jan Reedy [Sun, 17 Jan 2016 04:44:04 +0000 (23:44 -0500)]
Issue #25905: Specify 'ascii' encoding for README.txt and NEWS.txt.
Re-encode CREDITS.txt to utf-8 and open it with 'utf-8'.

9 years agomerge from 3.5
Senthil Kumaran [Sun, 17 Jan 2016 02:43:57 +0000 (18:43 -0800)]
merge from 3.5

Issue26135 - In the tutorial section on modules, reference importlib.reload instead of imp.reload.

9 years agoIssue26135 - In the tutorial section on modules, reference importlib.reload instead...
Senthil Kumaran [Sun, 17 Jan 2016 02:43:24 +0000 (18:43 -0800)]
Issue26135 - In the tutorial section on modules, reference importlib.reload instead of imp.reload.

9 years agoIssue #26071: bdist_wininst created binaries fail to start and find 32bit Python
Steve Dower [Sat, 16 Jan 2016 21:55:05 +0000 (13:55 -0800)]
Issue #26071: bdist_wininst created binaries fail to start and find 32bit Python

9 years agoIssue #26071: bdist_wininst created binaries fail to start and find 32bit Python
Steve Dower [Sat, 16 Jan 2016 21:54:53 +0000 (13:54 -0800)]
Issue #26071: bdist_wininst created binaries fail to start and find 32bit Python

9 years agoIssue #26073: Update the list of magic numbers in launcher
Steve Dower [Sat, 16 Jan 2016 21:48:31 +0000 (13:48 -0800)]
Issue #26073: Update the list of magic numbers in launcher

9 years agoIssue #26073: Update the list of magic numbers in launcher
Steve Dower [Sat, 16 Jan 2016 21:48:06 +0000 (13:48 -0800)]
Issue #26073: Update the list of magic numbers in launcher

9 years agoIssue #26065: Excludes venv from library when generating embeddable distro.
Steve Dower [Sat, 16 Jan 2016 21:45:32 +0000 (13:45 -0800)]
Issue #26065: Excludes venv from library when generating embeddable distro.

9 years agoIssue #26065: Excludes venv from library when generating embeddable distro.
Steve Dower [Sat, 16 Jan 2016 21:44:43 +0000 (13:44 -0800)]
Issue #26065: Excludes venv from library when generating embeddable distro.

9 years agoMerge
Steve Dower [Sat, 16 Jan 2016 20:41:03 +0000 (12:41 -0800)]
Merge