Zachary Ware
d07b66b817
Backed out changeset 491bbba73bca
...
This change didn't have the intended effect.
2016-09-10 08:55:15 -05:00
Martin Panter
fd13c0fa01
One more spelling fix
2016-09-10 10:45:28 +00:00
Martin Panter
b61ede4ba2
Merge spelling fixes from 3.5
2016-09-10 10:44:12 +00:00
Martin Panter
99e843b48e
Correct spelling in documentation and code comment
2016-09-10 10:38:28 +00:00
Victor Stinner
0fc55a234f
test_platform: Save/restore os.environ on Windows
2016-09-10 06:24:47 -04:00
Nick Coghlan
b161562f72
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.
2016-09-10 20:16:18 +10:00
Nick Coghlan
457fc9a69e
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.
2016-09-10 20:00:02 +10:00
Victor Stinner
eddc4b7272
Merge 3.5 (regrtest)
2016-09-10 04:27:56 -04:00
Victor Stinner
c7a070e998
regrtest: accept options after test names
2016-09-10 04:27:28 -04:00
Victor Stinner
c50cccfcc3
test_eintr: Fix ResourceWarning warnings
2016-09-10 04:19:48 -04:00
Victor Stinner
e103aaca67
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.
2016-09-10 04:07:38 -04:00
Serhiy Storchaka
8f9cafad3d
Issue #28019 : itertools.count() no longer rounds non-integer step in range
...
between 1.0 and 2.0 to 1.
2016-09-10 09:53:51 +03:00
Serhiy Storchaka
8ddcf3abf7
Issue #28019 : itertools.count() no longer rounds non-integer step in range
...
between 1.0 and 2.0 to 1.
2016-09-10 09:49:24 +03:00
Berker Peksag
2d7250b3be
Fix Python version in pdb.rst
2016-09-10 09:28:03 +03:00
Victor Stinner
bc6262675c
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
2016-09-09 23:22:09 -07:00
Victor Stinner
54de2b1edd
Fix check_force_ascii()
...
Issue #27938 : Normalize aliases of the ASCII encoding, because
_Py_normalize_encoding() now correctly normalize encoding names.
2016-09-09 23:11:52 -07:00
Victor Stinner
11ea04491d
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.
2016-09-09 22:56:54 -07:00
Łukasz Langa
2eb6eca3e5
Issue #18401 : pdb tests don't read ~/.pdbrc anymore
...
Patch by Martin Matusiak and Sam Kimbrel.
2016-09-09 22:21:17 -07:00
Victor Stinner
a1fd0789ed
Try to fix sizeof unit tests on dict
...
Issue #28056 and issue #26058 .
2016-09-09 21:51:19 -07:00
Łukasz Langa
fef7e94fa1
Don't run garbage collection on interpreter exit if it was explicitly disabled
...
by the user.
2016-09-09 21:47:46 -07:00
Guido van Rossum
9e3ef52a35
Use raw string for regexp (3.5->3.6)
2016-09-09 21:39:36 -07:00
Guido van Rossum
e617521b0d
Use raw string for regexp
2016-09-09 21:39:10 -07:00
R David Murray
b067c8fdd1
#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.
2016-09-10 00:22:25 -04:00
Victor Stinner
c7454ff5fc
Issue #27810 : Fix getargs.c compilation on Windows
2016-09-09 20:56:52 -07:00
Benjamin Peterson
819a46f33a
fix export of size_t parse stack function
2016-09-09 20:45:06 -07:00
Victor Stinner
990397ef1e
dictobject.c: explain why stringlib is used
2016-09-09 20:22:59 -07:00
Victor Stinner
37e4ef7b17
Issue #27810 : Rerun Argument Clinic on all modules
2016-09-09 20:00:13 -07:00
Steve Dower
528db31bd9
Issue #27566 : Fix clean target in freeze makefile (patch by Lisa Roach)
2016-09-09 18:38:20 -07:00
Steve Dower
f2bdb6b8ca
Issue #27705 : Update message in validate_ucrtbase.py
2016-09-09 18:21:15 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
28325749c0
Issue #25969 : Update the lib2to3 grammar to handle the unpacking
...
generalizations added in 3.5.
2016-09-09 18:18:52 -07:00
Gregory P. Smith
dbdf029a55
remove fix_callable - callable() was readded many releases ago.
2016-09-09 18:14:33 -07:00
Steve Dower
6a294a54de
Issue #27932 : Fixes memory leak in platform.win32_ver()
2016-09-09 18:01:25 -07:00
Victor Stinner
f0ccbbbc57
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
2016-09-09 17:40:38 -07:00
Victor Stinner
a9efb2f56e
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.
2016-09-09 17:40:22 -07:00
Victor Stinner
78601a38c2
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.
2016-09-09 19:28:36 -07:00
Benjamin Peterson
eb0dfa9251
make invalid_comma_and_underscore a real prototype
2016-09-09 20:14:05 -07:00
Eric V. Smith
d7665ca7a4
Further improved ',' and '_' specification in format mini-language.
2016-09-09 23:13:01 -04:00
Eric V. Smith
fef4391c88
Improved ',' and '_' specification in format mini-language.
2016-09-09 23:12:02 -04:00
Eric V. Smith
89e1b1aae0
Issue 27080: PEP 515: add '_' formatting option.
2016-09-09 23:06:47 -04:00
Benjamin Peterson
37d398ebd1
compile dtrace stubs
2016-09-09 19:52:23 -07:00
Łukasz Langa
04bedfa3ce
Issue #27199 : TarFile expose copyfileobj bufsize to improve throughput
...
Patch by Jason Fried.
2016-09-09 19:48:14 -07:00
Benjamin Peterson
f5781958af
add dtrace inline stubs
2016-09-09 19:48:47 -07:00
Benjamin Peterson
4ba5c88a3f
just start with an int rather than casting
2016-09-09 19:31:12 -07:00
Eric V. Smith
451d0e38fc
Issue 27948: Allow backslashes in the literal string portion of f-strings, but not in the expressions. Also, require expressions to begin and end with literal curly braces.
2016-09-09 21:56:20 -04:00
Steve Dower
052828db15
Issue #27566 : Fix clean target in freeze makefile (patch by Lisa Roach)
2016-09-09 18:41:56 -07:00
Zachary Ware
80da993826
Issue #28046 : Fix distutils
...
Why do we have two sysconfig modules again?
2016-09-09 18:29:10 -07:00
Steve Dower
2e82bf824e
Issue #27705 : Update message in validate_ucrtbase.py
2016-09-09 18:25:29 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
3b822d6c89
Issue #25969 : Update the lib2to3 grammar to handle the unpacking
...
generalizations added in 3.5.
2016-09-09 18:19:51 -07:00
Gregory P. Smith
50a903de4c
merge (3.6 already has this)
2016-09-09 18:14:52 -07:00
Benjamin Peterson
feb7edc153
dummy dtrace probes are a good place to use inline functions
2016-09-09 18:09:52 -07:00