Benjamin Peterson
98020812e6
merge 3.5 ( closes #27811 )
2016-09-05 10:16:31 -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
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
Raymond Hettinger
f0f1c239e4
Issue 27936: Fix inconsistent round() behavior between float and int
2016-09-03 01:55:11 -07:00
Jason R. Coombs
742d32ac63
Issue #12885 : Merge with 3.5
2016-09-01 22:10:09 -04: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
75fbf87d73
Issue #12885 : Merge with 3.5
2016-09-01 21:16:32 -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
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
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
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
c7bab7cbf5
Issue #27706 : Fix regression in random.seed(somestr, version=1)
2016-08-31 15:01:08 -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