Ł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
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
Steve Dower
6a294a54de
Issue #27932 : Fixes memory leak in platform.win32_ver()
2016-09-09 18:01:25 -07:00
Eric V. Smith
89e1b1aae0
Issue 27080: PEP 515: add '_' formatting option.
2016-09-09 23:06:47 -04: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
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
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
Steve Dower
48c7d7518e
Merge from Zach
2016-09-09 18:05:07 -07:00
Steve Dower
1588a3b377
Issue #27932 : Fixes memory leak in platform.win32_ver()
2016-09-09 18:04:26 -07:00
Zachary Ware
c4b53afce4
Issue #28046 : Remove platform-specific directories from sys.path
2016-09-09 17:59:49 -07:00
Łukasz Langa
a785c87d6e
DTrace support: function calls, GC activity, line execution
...
Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc.
Largely based by an initial patch by Jesús Cea Avión, with some
influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's
unification patch.
Things deliberately left out for simplicity:
- ustack helpers, I have no way of testing them at this point since
they are Solaris-specific
- PyFrameObject * in function__entry/function__return, this is
SystemTap-specific
- SPARC support
- dynamic tracing
- sys module dtrace facility introspection
All of those might be added later.
2016-09-09 17:37:37 -07:00
Steve Dower
ff70fc2206
Issue #25758 : Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)
2016-09-09 17:33:37 -07:00
Steve Dower
8dcc48ee3b
Issue #25758 : Prevents zipimport from unnecessarily encoding a filename (patch by Eryk Sun)
2016-09-09 17:27:33 -07:00
R David Murray
1319236167
Merge: #14977 : Make mailcap respect the order of the lines in the mailcap file.
2016-09-09 20:09:43 -04:00
R David Murray
347dc95cd3
#14977 : Make mailcap respect the order of the lines in the mailcap file.
...
This is required by RFC 1542, so despite the subtle behavior change we
are treating it as a bug. Patch by Michael Lazar.
2016-09-09 20:04:23 -04:00
Zachary Ware
935043d1ac
Closes #27976 : Deprecate bundled full copy of libffi
...
Builds on non-OSX UNIX now default to using the system libffi, and warn if the
bundled copy is used.
2016-09-09 17:01:21 -07:00
Raymond Hettinger
ae9e5f032d
Issue #22450 : Use "Accept: */*" in the default headers for urllib.request
2016-09-09 16:43:48 -07:00
Steve Dower
d6c580cbce
Issue #25144 : Ensures TargetDir is set before continuing with custom install.
2016-09-09 16:39:36 -07:00
Steve Dower
c87ae806ab
Issue #25144 : Ensures TargetDir is set before continuing with custom install.
2016-09-09 16:37:53 -07:00
Christian Heimes
3aeacad561
Issue #28025 : Convert all ssl module constants to IntEnum and IntFlags.
2016-09-10 00:19:35 +02:00
Benjamin Peterson
0c6ab35f3e
repair reST
2016-09-09 15:14:56 -07:00
Serhiy Storchaka
142aee3a8e
Merge heads
2016-09-10 01:14:38 +03:00
Benjamin Peterson
4fd64b9a6a
remove ceval timestamp support
2016-09-09 14:57:58 -07:00
Serhiy Storchaka
be9a4e5c85
Issue #433028 : Added support of modifier spans in regular expressions.
2016-09-10 00:57:55 +03:00
Brett Cannon
a721abac29
Issue #26331 : Implement the parsing part of PEP 515.
...
Thanks to Georg Brandl for the patch.
2016-09-09 14:57:09 -07:00
Serhiy Storchaka
7c19affdce
Issue #25856 : The __module__ attribute of extension classes and functions
...
now is interned. This leads to more compact pickle data with protocol 4.
2016-09-10 00:53:02 +03:00
Zachary Ware
c45599d0d1
Issue #19489 : Merge with 3.5
2016-09-09 13:15:47 -07:00
Zachary Ware
9b32bda851
Issue #19489 : Add NEWS and ACKS
2016-09-09 13:14:42 -07:00
Victor Stinner
c1bd632abf
Issue #27213 : document changes in Misc/NEWS
2016-09-09 12:43:42 -07:00
Steve Dower
6ceda631af
Issue #24594 : Validates persist parameter when opening MSI database
2016-09-09 11:56:34 -07:00
R David Murray
94a7927cc6
#28047 : Fix calculation of base64 line length.
...
This is buggy in the old email code as well, but it doesn't affect anything
there because only the default line length is ever used there.
2016-09-09 15:00:09 -04:00
Steve Dower
2a2becc1d1
Merge with 3.5
2016-09-09 12:09:07 -07:00
Eric Snow
06aed90a1f
Issue #27576 : Fix call order in OrderedDict.__init__().
2016-09-09 11:59:08 -07:00
Yury Selivanov
52c4e7cc84
Issue #28008 : Implement PEP 530 -- asynchronous comprehensions.
2016-09-09 10:36:01 -07:00
Guido van Rossum
6cff8744a0
Issue #27999 : Make "global after use" a SyntaxError, and ditto for nonlocal.
...
Patch by Ivan Levkivskyi.
2016-09-09 09:36:26 -07:00
Guido van Rossum
95e502e7a6
Move news items for PEP 526 and 525 to the top of their section.
...
(News items should be ordered newest-first within their section.)
2016-09-09 09:29:42 -07:00
Guido van Rossum
f530738179
Remove duplicate entry for Ivan L.
2016-09-09 09:09:19 -07:00
Yury Selivanov
eb6364557f
Issue #28003 : Implement PEP 525 -- Asynchronous Generators.
2016-09-08 22:01:51 -07:00
Yury Selivanov
f8cb8a16a3
Issue #27985 : Implement PEP 526 -- Syntax for Variable Annotations.
...
Patch by Ivan Levkivskyi.
2016-09-08 20:50:03 -07:00
R David Murray
09ad17810c
#27364 : Credit Emanuel Barry in NEWS item.
2016-09-08 22:37:34 -04:00
R David Murray
301edfa579
Add policy keyword to email.generator.DecodedGenerator.
2016-09-08 17:57:06 -04:00
Raymond Hettinger
262b6793e0
Issue #26020 : Fix evaluation order for set literals
2016-09-08 14:40:36 -07:00
Davin Potts
37156a70b9
Issue #21201 : Improves readability of multiprocessing error message from server to client for certain exceptions
2016-09-08 14:40:36 -05:00
Berker Peksag
2b2a9be913
Issue #27445 : Don't pass str(_charset) to MIMEText.set_payload()
...
Patch by Claude Paroz.
2016-09-08 19:40:30 +03:00
Gregory P. Smith
bfac23a4c0
Move my news entries to the build section.
2016-09-08 00:14:01 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
dd1c638b92
lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
...
between runs given the same Grammar.txt input regardless of the hash
randomization setting.
2016-09-08 00:40:07 +00:00
Vinay Sajip
d61910c598
Fixes #27930 : improved QueueListener behaviour.
2016-09-08 01:13:39 +01:00
Martin Panter
0f0eac431f
Issue #27993 : Fix problems with plural objects in docs and comments
2016-09-07 11:04:41 +00:00
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00:00
Martin Panter
be8da9c990
Issue #27570 : Avoid zero-length memcpy() calls with null source pointers
2016-09-07 11:04:41 +00:00
Gregory P. Smith
799520c91e
Fixes issue# 27983: Cause lack of llvm-profdata tool when using clang -
...
required for PGO linking - to be a configure time error rather than
make time when --with-optimizations is enabled. Also improve our
ability to find the llvm-profdata tool on MacOS and some Linuxes.
2016-09-07 16:10:00 -07:00
R David Murray
dc1650ca06
#22233 : Only split headers on \r and/or \n, per email RFCs.
...
Original patch by Martin Panter, new policy fixes by me.
2016-09-07 17:44:34 -04:00
R David Murray
c2e2473bc2
27988: Make sure iter_attachments does not mutate the payload list.
2016-09-07 13:39:36 -04:00
Senthil Kumaran
32d374215a
[backport to 3.5] - issue26896 - Disambiguate uses of "importer" with "finder".
2016-09-07 00:52:20 -07:00
Brett Cannon
8c94f97465
Issue #26359 : Add the --with-optimizations flag.
2016-09-06 17:15:21 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
653c850919
Fixes issue26307: The profile-opt build now applys PGO to the built-in
...
modules.
2016-09-06 23:56:54 +00:00
Christian Heimes
1c03abd026
Issue #27691 : Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs.
2016-09-06 23:25:35 +02:00
Christian Heimes
03d13c0cbf
Issues #27850 and #27766 : Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305.
2016-09-06 20:06:47 +02:00
Benjamin Peterson
768f3b4492
do not pretend to support passing a fd to access()
2016-09-05 15:29:33 -07:00
Christian Heimes
598894ff48
Issue #26470 : Port ssl and hashlib module to OpenSSL 1.1.0.
2016-09-05 23:19:05 +02:00
Benjamin Peterson
bdddb11b0e
clear out f_gen during generator finalization ( closes #27812 )
...
Patch from Armin Rigo.
2016-09-05 10:39:57 -07:00
Benjamin Peterson
2f40ed4b94
do not allow _PyGen_Finalize to fail ( closes #27811 )
...
Patch from Armin Rigo.
2016-09-05 10:14:54 -07:00
Raymond Hettinger
f0f1c239e4
Issue 27936: Fix inconsistent round() behavior between float and int
2016-09-03 01:55:11 -07:00
Jason R. Coombs
0c7e42e8f7
Issue #12885 : Merge 3.4
2016-09-01 22:09:06 -04:00
Jason R. Coombs
6f5d3fd4d1
Issue #12885 : Correct issue reference in NEWS
2016-09-01 22:08:25 -04:00
Jason R. Coombs
65e3319283
Issue #12285 : Merge with 3.4
2016-09-01 21:15:04 -04:00
Jason R. Coombs
97eda155f8
Issue #12285 : Update NEWS
2016-09-01 21:12:17 -04:00
Serhiy Storchaka
2891492d23
Issue #27881 : Fixed possible bugs when setting sqlite3.Connection.isolation_level.
...
Based on patch by Xiang Zhang.
2016-09-01 22:18:03 +03:00
Raymond Hettinger
c7bab7cbf5
Issue #27706 : Fix regression in random.seed(somestr, version=1)
2016-08-31 15:01:08 -07:00
Steve Dower
3929499914
Issue #1602 : Windows console doesn't input or print Unicode (PEP 528)
...
Closes #17602 : Adds a readline implementation for the Windows console
2016-08-30 21:22:36 -07:00
Victor Stinner
3b6a6b4215
Add a new private version to the builtin dict type
...
Issue #26058 : Add a new private version to the builtin dict type, incremented
at each dictionary creation and at each dictionary change.
Implementation of the PEP 509.
2016-09-08 12:51:24 -07:00
Davin Potts
70897ec54c
Issue #21201 : Improves readability of multiprocessing error message from server to client for certain exceptions
2016-09-08 14:47:23 -05:00
R David Murray
110b6fecbb
#27364 : Deprecate invalid escape strings in str/byutes.
...
Patch by Emanuel Barry, reviewed by Serhiy Storchaka and Martin Panter.
2016-09-08 15:34:08 -04:00
Raymond Hettinger
9ae3fb5a7e
Issue #27350 : Add credits
2016-09-08 11:55:38 -07:00
Zachary Ware
d52cfc7956
Issue #28027 : Mention the names of the removed modules in Misc/NEWS
2016-09-08 11:43:09 -07:00
Zachary Ware
20737cc91e
Issue #28027 : Remove Lib/plat-* files
2016-09-08 11:38:46 -07:00
Eric Snow
f3fd06a2e4
Issue #28026 : Raise ImportError when exec_module() exists but create_module() is missing.
2016-09-08 11:12:31 -07:00
Steve Dower
cc16be85c0
Issue #27781 : Change file system encoding on Windows to UTF-8 (PEP 529)
2016-09-08 10:35:16 -07:00
Victor Stinner
742da040db
Implement compact dict
...
Issue #27350 : `dict` implementation is changed like PyPy. It is more compact
and preserves insertion order.
_PyDict_Dummy() function has been removed.
Disable test_gdb: python-gdb.py is not updated yet to the new structure of
compact dictionaries (issue #28023 ).
Patch written by INADA Naoki.
2016-09-07 17:40:12 -07:00
Berker Peksag
d8b7770a0e
Issue #27445 : Merge from 3.5
2016-09-08 19:42:11 +03:00
Gregory P. Smith
8b1b81f036
move my news entries to the build section as appropriate.
2016-09-08 00:15:20 -07:00
Eric Snow
97be87a5c8
Issue #15352 : Rebuild frozen modules when marshal.c is changed.
2016-09-07 18:48:06 -07:00
Brett Cannon
035a100382
Issue #26667 : Add path-like object support to importlib.util.
2016-09-07 18:39:18 -07:00
Eric Snow
d5f9223981
Issue #17211 : Yield a namedtuple in pkgutil.
...
Patch by Ramchandra Apte.
2016-09-07 18:37:17 -07:00
R David Murray
8e7cdb2586
#24277 : What's New and news entries for previous commit.
2016-09-07 21:21:58 -04:00
Benjamin Peterson
23e8633781
fix reST
2016-09-07 18:10:50 -07:00
Davin Potts
eb35eac3bc
Updated Misc/NEWS
2016-09-07 20:00:33 -05:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
0c578d62fc
lib2to3.pgen3.driver.load_grammar() now creates a stable cache file
...
between runs given the same Grammar.txt input regardless of the hash
randomization setting.
2016-09-08 00:46:26 +00:00
Steve Dower
ef37dfcd84
Issue #28005 : Allow ImportErrors in encoding implementation to propagate.
2016-09-07 17:27:33 -07:00
Vinay Sajip
93e6b3314d
Closes #27930 : Merged fix from 3.5.
2016-09-08 01:24:12 +01:00
Brett Cannon
52794db825
Issue #27911 : Remove some unnecessary error checks in import.c.
...
Thanks to Xiang Zhang for the patch.
2016-09-07 17:00:43 -07:00
Eric Snow
46f97b85a8
Issue #15767 : Use ModuleNotFoundError.
2016-09-07 16:56:15 -07:00
Eric Snow
c943265ba5
Issue #15767 : Add ModuleNotFoundError.
2016-09-07 15:42:32 -07:00
Martin Panter
1aa642f6bd
Issue #27993 : Merge plural fixes from 3.5
2016-09-07 23:36:43 +00:00
Martin Panter
1c748f3830
Issue #27570 : Merge null pointer fixes from 3.5
2016-09-07 23:31:39 +00:00
Gregory P. Smith
f3b5bcafcb
Fixes Issue #27983 : Cause lack of llvm-profdata tool when using clang as
...
required for PGO linking to be a configure time error rather than
make time when --with-optimizations is enabled. Also improve our
ability to find the llvm-profdata tool on MacOS and some Linuxes.
2016-09-07 16:11:08 -07:00
R David Murray
1badd28163
Merge: #22233 : Only split headers on \r and/or \n, per email RFCs.
2016-09-07 17:46:55 -04:00
Brett Cannon
56be5f5376
Eliminate a tautological-pointer-compare warning found by Clang.
2016-09-07 14:07:16 -07:00
R David Murray
56b1f1b4d5
#27331 : add policy keyword argument to all MIME subclasses.
...
Patch by Berker Peksag.
2016-09-07 16:48:35 -04:00
Brett Cannon
5c4de2863b
Add the co_extra field and accompanying APIs to code objects.
...
This completes PEP 523.
2016-09-07 11:16:41 -07:00
R David Murray
91afe7ec9f
Merge: 27988: Make sure iter_attachments does not mutate the payload list.
2016-09-07 13:41:06 -04:00
Ethan Furman
6a137e8d50
add recipes for pseudo-valueless enums
2016-09-07 08:17:15 -07:00
Christian Heimes
6fe2a75b64
Issue #16113 : Add SHA-3 and SHAKE support to hashlib module.
2016-09-07 11:58:24 +02:00
Serhiy Storchaka
680cb152c5
Issue #26032 : Optimized globbing in pathlib by using os.scandir(); it is now
...
about 1.5--4 times faster.
2016-09-07 10:58:05 +03:00
Raymond Hettinger
28aa4a0684
Rename weighted_choices() to just choices()
2016-09-07 00:08:44 -07:00
Steve Dower
19ab0fd456
Issue #27731 : Opt-out of MAX_PATH on Windows 10
2016-09-06 20:40:11 -07:00
Steve Dower
050acaed99
Issue #6135 : Adds encoding and errors parameters to subprocess
2016-09-06 20:16:17 -07:00
Steve Dower
6cebd48425
Issue #27959 : Updates NEWS and whatsnew
2016-09-06 19:55:55 -07:00
Brett Cannon
a571120410
Issue #27182 : Add support for path-like objects to PyUnicode_FSDecoder().
2016-09-06 19:36:01 -07:00
Raymond Hettinger
e8f1e002c6
Issue #18844 : Add random.weighted_choices()
2016-09-06 17:15:29 -07:00
Brett Cannon
63d98bcd4c
Issue #26359 : Add the --with-optimizations configure flag.
...
The flag will activate LTO and PGO build support when available.
Thanks to Alecsandur Patrascu of Intel for the original patch.
2016-09-06 17:12:40 -07:00
Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)
c083476bde
Fixes issue26307: The profile-opt build now applys PGO to the built-in modules.
2016-09-06 23:58:32 +00:00
Victor Stinner
e66987e626
os.urandom() now blocks on Linux
...
Issue #27776 : The os.urandom() function does now block on Linux 3.17 and newer
until the system urandom entropy pool is initialized to increase the security.
This change is part of the PEP 524.
2016-09-06 16:33:52 -07:00
Victor Stinner
9b1f474df6
Add os.getrandom()
...
Issue #27778 : Expose the Linux getrandom() syscall as a new os.getrandom()
function.
This change is part of the PEP 524.
2016-09-06 16:18:52 -07:00
Brett Cannon
ec6ce879c7
Issue #26027 : Support path-like objects in PyUnicode-FSConverter().
...
This is to add support for os.exec*() and os.spawn*() functions. Part
of PEP 519.
2016-09-06 15:50:29 -07:00
Ned Deily
8482ce4868
Issue #21122 : Fix LTO builds on OS X.
...
Patch by Brett Cannon.
2016-09-06 15:09:20 -07:00
Zachary Ware
c401881d68
Closes #27982 : Allow keyword arguments to winsound functions
2016-09-06 16:32:43 -05:00
Christian Heimes
fe3c9c1ee9
Issue #27691 : Fix ssl module's parsing of GEN_RID subject alternative name fields in X.509 certs.
2016-09-06 23:27:06 +02:00
Serhiy Storchaka
90493ab30c
Issue #25761 : Improved error reporting about truncated pickle data in
...
C implementation of unpickler. UnpicklingError is now raised instead of
AttributeError and ValueError in some cases.
2016-09-06 23:55:11 +03:00
Christian Heimes
121b9487d1
Issue #26798 : Add BLAKE2 (blake2b and blake2s) to hashlib.
2016-09-06 22:03:25 +02:00
Serhiy Storchaka
28ab634fa6
Issue #25596 : Optimized glob() and iglob() functions in the
...
glob module; they are now about 3--6 times faster.
2016-09-06 22:33:41 +03:00
Serhiy Storchaka
ea525a2d1a
Issue #27078 : Added BUILD_STRING opcode. Optimized f-strings evaluation.
2016-09-06 22:07:53 +03:00
Benjamin Peterson
620bb277f8
remove an unanswered question
2016-09-06 11:59:24 -07:00
Benjamin Peterson
4fe55106d1
require standard int types to be defined ( #17884 )
2016-09-06 11:58:01 -07:00
Christian Heimes
39093e9e68
Issue #27928 : Add scrypt (password-based key derivation function) to hashlib module (requires OpenSSL 1.1.0).
2016-09-06 20:22:28 +02:00
Christian Heimes
ac041c0aa7
Issues #27850 and #27766 : Remove 3DES from ssl default cipher list and add ChaCha20 Poly1305.
2016-09-06 20:07:58 +02:00
Benjamin Peterson
af580dff4a
replace PY_LONG_LONG with long long
2016-09-06 10:46:49 -07:00
Benjamin Peterson
ed4aa83ff7
require a long long data type ( closes #27961 )
2016-09-05 17:44:18 -07:00
Ned Deily
b3b0767861
Update OS X installer to use SQlite 3.14.1 and XZ 5.2.2.
2016-09-05 17:31:14 -07:00
Zachary Ware
dd2afe9edc
Closes #20366 : Build full text search support into SQLite on Windows
2016-09-05 18:19:13 -05:00
Zachary Ware
f584656003
Move NEWS entry to correct section.
2016-09-05 18:17:52 -05:00
Benjamin Peterson
b1cb8b2872
merge 3.5
2016-09-05 15:35:45 -07:00
Brett Cannon
3cebf93872
Implement the frame evaluation API aspect of PEP 523.
2016-09-05 15:33:46 -07:00
Zachary Ware
625cb379f7
Issue #25387 : Check return value of winsound.MessageBeep
2016-09-05 17:32:28 -05:00
Larry Hastings
10108a7b9a
Issue #27355 : Removed support for Windows CE. It was never finished,
...
and Windows CE is no longer a relevant platform for Python.
2016-09-05 15:11:23 -07:00
Christian Heimes
25bfcd5d9e
Issue #27866 : Add SSLContext.get_ciphers() method to get a list of all enabled ciphers.
2016-09-06 00:04:45 +02:00
Christian Heimes
dffa3949c7
Issue #27744 : Add AF_ALG (Linux Kernel crypto) to socket module.
2016-09-05 23:54:41 +02:00
Eric Snow
92a6c170e6
Issue #24254 : Preserve class attribute definition order.
2016-09-05 14:50:11 -07:00
Christian Heimes
01113faef9
Issue #26470 : Port ssl and hashlib module to OpenSSL 1.1.0.
2016-09-05 23:23:24 +02:00
Zachary Ware
ae8298bfb7
Closes #11620 : Fix support for SND_MEMORY in winsound.PlaySound.
...
Based on a patch by Tim Lesher.
2016-09-05 16:31:21 -05:00
Steve Dower
c7d1cf4de9
Issue #27756 : Adds new icons for Python files and processes on Windows. Designs by Cherry Wang.
2016-09-05 14:05:17 -07:00
Zachary Ware
7c510a6a2d
Issue #27883 : Update sqlite to 3.14.1 on Windows
2016-09-05 14:32:38 -05:00
Benjamin Peterson
7b24b27302
merge 3.5 ( #27812 )
2016-09-05 10:40:34 -07:00
Benjamin Peterson
98020812e6
merge 3.5 ( closes #27811 )
2016-09-05 10:16:31 -07:00
Mark Dickinson
e02bfd0ba0
Add Francisco Couzo to Misc/ACKS (for issue #27427 patch).
2016-09-04 12:31:47 +01:00
Mark Dickinson
31ba1c3de8
Issue #27427 : Additional tests for the math module. Thanks Francisco Couzo.
2016-09-04 12:29:14 +01:00
Mark Dickinson
85746542ea
Issue #27953 : skip failing math and cmath tests for tan on OS X 10.4.
2016-09-04 09:58:51 +01:00
Mark Dickinson
96f774d824
Issue #26040 : Improve test_math and test_cmath coverage and rigour. Thanks Jeff Allen.
2016-09-03 19:30:22 +01:00
Mark Dickinson
7c4e409d07
Issue #11734 : Add support for IEEE 754 half-precision floats to the struct module. Original patch by Eli Stevens.
2016-09-03 17:21:29 +01:00
Eric V. Smith
6a4efce7a5
Closes issue 27921: Disallow backslashes anywhere in f-strings. This is a temporary restriction. In 3.6 beta 2, the plan is to again allow backslashes in the string parts of f-strings, but disallow them in the expression parts.
2016-09-03 09:18:34 -04:00
Raymond Hettinger
3b09cd64e0
Merge
2016-09-03 01:55:39 -07:00
Jason R. Coombs
742d32ac63
Issue #12885 : Merge with 3.5
2016-09-01 22:10:09 -04:00
Jason R. Coombs
75fbf87d73
Issue #12885 : Merge with 3.5
2016-09-01 21:16:32 -04:00
doko@ubuntu.com
5c38cb2316
- Issue #27917 : Set platform triplets for Android builds.
2016-09-01 22:05:20 +02:00
Serhiy Storchaka
af0628e045
Issue #27881 : Fixed possible bugs when setting sqlite3.Connection.isolation_level.
...
Based on patch by Xiang Zhang.
2016-09-01 22:21:05 +03:00
Jason R. Coombs
5c071c1ff4
Issue #27919 : Deprecate extra_path option in distutils.
2016-09-01 13:55:33 -04:00
Raymond Hettinger
112835cb3e
Merge
2016-08-31 15:01:28 -07:00
Raymond Hettinger
43ca452887
Issue #27842 : The csv.DictReader now returns rows of type OrderedDict.
2016-08-30 12:35:50 -07:00
Raymond Hettinger
15f44ab043
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-08-30 10:47:49 -07:00
Mark Dickinson
82a95277b8
Issue #27870 : A left shift of zero by a large integer no longer attempts to allocate large amounts of memory.
2016-08-29 19:27:06 +01:00
Mark Dickinson
4e1de16f88
Issue #25402 : in int-to-decimal-string conversion, reduce intermediate storage requirements and relax restriction on converting large integers. Patch by Serhiy Storchaka.
2016-08-29 17:26:43 +01:00
Mark Dickinson
583c6e860c
Issue #27214 : Fix potential bug and remove useless optimization in long_invert. Thanks Oren Milman.
2016-08-29 16:40:29 +01:00
Mark Dickinson
84e6311dee
Issue 23229: add cmath.inf, cmath.nan, cmath.infj and cmath.nanj.
2016-08-29 13:56:58 +01:00
Serhiy Storchaka
8631da64bb
Issue #27861 : Fixed a crash in sqlite3.Connection.cursor() when a factory
...
creates not a cursor. Patch by Xiang Zhang.
2016-08-29 15:11:52 +03:00
Serhiy Storchaka
ef113cd4cc
Issue #27861 : Fixed a crash in sqlite3.Connection.cursor() when a factory
...
creates not a cursor. Patch by Xiang Zhang.
2016-08-29 14:29:55 +03:00
Martin Panter
1b6c6da85d
Issue #27506 : Support bytes/bytearray.translate() delete as keyword argument
...
Patch by Xiang Zhang.
2016-08-27 08:35:02 +00:00
Martin Panter
8c3c52b19f
Issue #25825 : Merge $(LIBPL) fix from 3.5
2016-08-27 04:07:54 +00:00
Martin Panter
aac9b71632
Issue #19884 : Merge Readline updates from 3.5
2016-08-27 04:03:26 +00:00
Martin Panter
5de141f157
Issue #25825 : Fix references to $(LIBPL) installation path on AIX
...
In Subversion r86731, the path was changed from $(BINLIBDEST)/config to
$(LIBDEST)/config-$(LDVERSION).
2016-08-27 04:00:19 +00:00
Martin Panter
c427b8d517
Issue #19884 : Avoid spurious output on OS X with Gnu Readline
...
Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.
2016-08-27 03:23:11 +00:00
Martin Panter
ef91bb2660
Issue #12319 : Always send file request bodies using chunked encoding
...
The previous attempt to determine the file’s Content-Length gave a false
positive for pipes on Windows.
Also, drop the special case for sending zero-length iterable bodies.
2016-08-27 01:39:26 +00:00
Brett Cannon
3f9183b5ac
Issue #26027 , #27524 : Add PEP 519/__fspath__() support to os and
...
os.path.
Thanks to Jelle Zijlstra for the initial patch against posixmodule.c.
2016-08-26 14:44:48 -07:00
Berker Peksag
6ed442c48d
Issue #10513 : Merge from 3.5
2016-08-26 22:08:51 +03:00
Berker Peksag
cc9afa9b51
Issue #10513 : Fix a regression in Connection.commit()
...
Statements should not be reset after a commit.
Backported from 029050896b
2016-08-26 22:07:51 +03:00
Berker Peksag
c7876464e7
Issue #6057 : Merge from 3.5
2016-08-25 00:45:36 +03:00
Berker Peksag
ed789f9cf9
Issue #6057 : Document exceptions in sqlite3 module
...
Patch by Jaysinh Shukla and Stéphane Wirtel.
2016-08-25 00:45:07 +03:00
Martin Panter
250d0e5f0a
Issue #12319 : Move NEWS under beta 1 heading
2016-08-24 07:51:36 +00:00
Martin Panter
3c0d0baf2b
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.
2016-08-24 06:33:33 +00:00
Steven D'Aprano
2436e73c4a
Update NEWS.
2016-08-24 12:14:58 +10:00
Guido van Rossum
efa798d1ba
A new version of typing.py from https://github.com/python/typing .
2016-08-23 11:01:50 -07:00
Mark Dickinson
f428521481
Backed out changeset 1017215f5492
2016-08-23 20:00:49 +01:00
Guido van Rossum
1f5beb7a6e
A new version of typing.py from https://github.com/python/typing . (Merge 3.5->3.6)
2016-08-23 11:06:30 -07:00
Guido van Rossum
f0666949fd
Issue 27598: Add Collections to collections.abc.
...
Patch by Ivan Levkivskyi, docs by Neil Girdhar.
2016-08-23 10:47:07 -07:00
Mark Dickinson
4fe9f163af
Issue #26040 (part 1): add new testcases to cmath_testcases.txt. Thanks Jeff Allen.
2016-08-23 17:33:54 +01:00
Mark Dickinson
7caf908c64
Issue #27832 : Make _normalize parameter to Fraction.__init__ keyword-only.
2016-08-23 16:16:52 +01:00
Vinay Sajip
9ae505041f
Issue #12713 : reverted fix pending further discussion.
2016-08-23 08:43:16 +01:00
Berker Peksag
c98afb7a26
Issue #27587 : Merge from 3.5
2016-08-22 18:07:02 +03:00
Berker Peksag
4b7b565c58
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.
2016-08-22 18:05:56 +03:00
Mark Dickinson
b820d7f631
Issue #27792 : force int return type for modulo operations involving bools.
2016-08-22 12:24:46 +01:00
Mark Dickinson
0add84b9b8
Issue #27539 : Merge from 3.5.
2016-08-22 10:56:06 +01:00
Mark Dickinson
844796530a
Issue #27539 : Fix unnormalised Fraction.__pow__ result for negative exponent and base. Thanks Vedran Čačić.
2016-08-22 10:50:53 +01:00
Serhiy Storchaka
54cd1969ea
Issue #26984 : int() now always returns an instance of exact int.
2016-08-21 20:03:08 +03:00
Berker Peksag
d7f3cdd07d
Issue #21718 : Merge from 3.5
2016-08-21 19:41:38 +03:00
Berker Peksag
6afe85827c
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 f67fa9c898
Additional test cases added by me.
2016-08-21 19:38:47 +03:00
Mark Dickinson
dc590a4cc3
Issue #25604 : Fix minor bug in integer true division, which could
...
have caused off-by-one-ulp results on certain platforms.
2016-08-21 10:23:23 +01:00
Mark Dickinson
164a3c822d
Issue #27662 : add missing Misc/NEWS entry.
2016-08-21 09:31:44 +01:00