Serhiy Storchaka
d80c3fb17b
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:50:21 +02:00
Serhiy Storchaka
0264e46caa
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:49:59 +02:00
Serhiy Storchaka
c7b1a0bbe2
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:43:28 +02:00
INADA Naoki
6caaf372de
Issue #28532 : Add what's new entry for python -VV option
2016-11-24 17:21:47 +09:00
INADA Naoki
f576343179
Issue #28532 : Add what's new entry for python -VV option
2016-11-24 17:20:40 +09:00
Yury Selivanov
6e31235902
Issue #28635 : asyncio-related fixes and additions.
...
(grafted from 418ba3a0f090ac0e17a935b7cd5a63ea8263a914)
2016-12-15 17:56:43 -05:00
Victor Stinner
5e65a5f4ef
Issue #28979 : Fix What's New in Python 3.6, dict
...
The new dict implementation is not faster, but more compact.
Patch written by Brendan Donegan.
(grafted from 181453f9a0c424212f0f6ddca2b9065c15689d7c)
2016-12-15 16:20:53 +01:00
Yury Selivanov
291b93bb1f
Issue #28089 : Document TCP_NODELAY in asyncio
...
Initial patch by Mariatta Wijaya.
(grafted from 853e3f4d6cd98ac4590238bc1c60e40fd8ed3895)
2016-12-12 16:44:58 -05:00
Steve Dower
5dc1fb3eda
Issue #28896 : Deprecate WindowsRegistryFinder
...
(grafted from 25df9671663b5f8b1560d58d8842f9676f6dffc2)
2016-12-07 13:02:27 -08:00
Yury Selivanov
267862f9ca
Issue #28635 : Drop the note that whatsnew is incomplete
...
(grafted from d12bc674b74eee73365e38fad1f170ed3349bd59)
2016-12-07 16:19:56 -08:00
Serhiy Storchaka
007d7ff73f
Issue #28761 : The fields name and doc of structures PyMemberDef, PyGetSetDef,
...
PyStructSequence_Field, PyStructSequence_Desc, and wrapperbase are now of
type "const char *" rather of "char *".
2016-11-22 07:58:08 +02:00
Martin Panter
d16a9d4840
Merge doc fixes from 3.6
2016-11-21 13:41:07 +00:00
Martin Panter
a2f7ee8b26
Fix up grammar, markup, etc in 3.6 What’s New
2016-11-21 13:38:59 +00:00
Gregory P. Smith
1fb1c998b2
replace --with-optimizations references with --enable-optimizations in docs.
2016-11-21 00:13:15 -08:00
Gregory P. Smith
2863c387b0
replace --with-optimizations references with --enable-optimizations in docs.
2016-11-21 00:12:40 -08:00
Serhiy Storchaka
52d0eb2dc0
Issue #27998 : Documented bytes paths support on Windows.
2016-11-20 08:25:07 +02:00
Serhiy Storchaka
3c38e066b1
Issue #27998 : Documented bytes paths support on Windows.
2016-11-20 08:23:07 +02:00
Yury Selivanov
6592dbd2a8
Merge 3.6 (issue #28720 )
2016-11-16 18:25:48 -05:00
Yury Selivanov
22214ab0af
Issue #28720 : Add collections.abc.AsyncGenerator.
2016-11-16 18:25:04 -05:00
Yury Selivanov
63e6a7c3f4
Merge 3.6 (issue #28635 )
2016-11-14 14:49:38 -05:00
Yury Selivanov
6bf87d3fce
Issue #28635 : what's new in 3.6: add a few more notes on typing
...
Per suggestions by Ivan Levkivskyi.
Patch by Elvis Pranskevichus.
2016-11-14 14:49:18 -05:00
Martin Panter
bb0f8e6bba
Issue #28678 : Merge parameter name from 3.6
2016-11-13 23:36:30 +00:00
Martin Panter
f8c25e3424
Issue #28678 : Merge parameter name from 3.5 into 3.6
2016-11-13 23:36:07 +00:00
Martin Panter
efbf20f3a3
Issue #28678 : Fix references to numeric_owner parameter
2016-11-13 23:25:06 +00:00
Yury Selivanov
7255edd3df
Merge 3.6 (issue #28635 )
2016-11-10 15:39:46 -05:00
Yury Selivanov
249ba5d02d
Issue #28635 : what's new in 3.6: remove mentions of backported fixes.
...
Patch by Elvis Pranskevichus.
2016-11-10 15:39:27 -05:00
Yury Selivanov
be9079ae68
Merge 3.6 (issue #28635 )
2016-11-10 13:28:03 -05:00
Yury Selivanov
c48ec2704b
Issue #28635 : What's New in Python 3.6 updates
...
Patch by Elvis Pranskevichus.
2016-11-10 13:27:22 -05:00
Yury Selivanov
d89ecb3d2a
Merge 3.6 (issue #28635 )
2016-11-07 16:44:27 -05:00
Yury Selivanov
f5df73025d
whatsnew: Inital pass on "What's New in Python 3.6"
...
Patch by Elvis Pranskevichus.
2016-11-07 16:40:20 -05:00
Steve Dower
257a4c1503
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:24 -08:00
Steve Dower
78057b4159
Closes #27781 : Removes special cases for the experimental aspect of PEP 529
2016-11-06 19:35:08 -08:00
Brett Cannon
1d8f755e67
Issue #28605 : Fix the help and What's New entry for --with-optimizations.
2016-11-03 16:20:00 -07:00
Martin Panter
9440787867
Issue #26638 : Merge option warning fixes from 3.5 into 3.6
2016-10-30 04:21:23 +00:00
Martin Panter
b8c5f54248
Issue #26638 : Work around more CLI options that can’t be linked
...
* Cannot seem to link directly to main options from the “unittest” module,
because that module has its own set of options
* Mask out linking for options that no longer exist in Python 3
2016-10-30 04:20:23 +00:00
Martin Panter
5c67933940
Issue #26638 : Mask undefined CLI options to defeat new Sphinx warnings
2016-10-30 04:20:17 +00:00
Brett Cannon
d4ef9d3feb
Merge for issue #28605
2016-11-03 16:21:11 -07:00
Martin Panter
92b6154911
Issue #26638 : Merge option warning fixes from 3.6
2016-10-30 04:30:36 +00:00
Serhiy Storchaka
2edcd1cba4
Issue #28426 : Deprecated undocumented functions PyUnicode_AsEncodedObject(),
...
PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
PyUnicode_AsEncodedUnicode().
2016-10-27 21:08:00 +03:00
Serhiy Storchaka
0093907f0e
Issue #28426 : Deprecated undocumented functions PyUnicode_AsEncodedObject(),
...
PyUnicode_AsDecodedObject(), PyUnicode_AsDecodedUnicode() and
PyUnicode_AsEncodedUnicode().
2016-10-27 21:05:49 +03:00
Serhiy Storchaka
43a259ff18
Issue #19795 : Improved more markups of True/False.
2016-10-19 18:37:07 +03:00
Serhiy Storchaka
7d6dda4b78
Issue #19795 : Improved more markups of True/False.
2016-10-19 18:36:51 +03:00
Serhiy Storchaka
4adf01caae
Issue #19795 : Improved more markups of True/False.
2016-10-19 18:30:05 +03:00
Serhiy Storchaka
6d0b19f1e8
Issue #19795 : Fixed markup errors.
2016-10-19 18:12:24 +03:00
Serhiy Storchaka
3f561b7911
Issue #19795 : Fixed markup errors.
2016-10-19 18:12:05 +03:00
Serhiy Storchaka
1883542eb9
Issue #19795 : Fixed markup errors.
2016-10-19 18:11:24 +03:00
Serhiy Storchaka
7f4e40e1e0
Issue #19795 : Mark up True and False as literal text instead of bold.
2016-10-19 16:45:05 +03:00
Serhiy Storchaka
0bbf8c08ab
Issue #19795 : Mark up True and False as literal text instead of bold.
2016-10-19 16:44:47 +03:00
Serhiy Storchaka
a97cd2eb17
Issue #19795 : Mark up True and False as literal text instead of bold.
2016-10-19 16:43:42 +03:00
Serhiy Storchaka
c2e9983060
Issue #19795 : Mark up None as literal text.
2016-10-19 16:39:36 +03:00
Serhiy Storchaka
989db5c880
Issue #19795 : Mark up None as literal text.
2016-10-19 16:37:13 +03:00
Serhiy Storchaka
ecf41da83e
Issue #19795 : Mark up None as literal text.
2016-10-19 16:29:26 +03:00
Berker Peksag
bbc638cd55
Issue #28390 : Merge from 3.6
2016-10-08 16:15:38 +03:00
Berker Peksag
3e49264dfb
Issue #28390 : Fix header levels in whatsnew/3.6.rst
...
Patch by SilentGhost.
2016-10-08 16:15:15 +03:00
Guido van Rossum
b5a744a99e
Remove mention of asyncio.timeout context manager (it was removed) (merge 3.6->3.7)
2016-09-24 09:32:10 -07:00
Guido van Rossum
a653196585
Remove mention of asyncio.timeout context manager (it was removed)
2016-09-24 09:31:23 -07:00
Steve Dower
3e7d93dc70
Issue #28251 : Improvements to help manuals on Windows.
2016-09-22 17:11:53 -07:00
Steve Dower
765285337a
Issue #28251 : Improvements to help manuals on Windows.
2016-09-22 17:09:56 -07:00
Steve Dower
fb4a96a58f
Issue #28251 : Improvements to help manuals on Windows.
2016-09-22 17:07:56 -07:00
Steve Dower
64566db065
Merge with 3.6
2016-09-17 12:57:03 -07:00
Steve Dower
ed51b26858
Issue #28137 : Renames Windows path file to ._pth
...
Issue #28138 : Windows ._pth file should allow import site
2016-09-17 12:54:06 -07:00
Zachary Ware
f40d4ddff3
Closes #27979 : Remove bundled copy of libffi
...
An installed copy of libffi is now required for building _ctypes on
any platform but OSX and Windows.
2016-09-17 01:25:24 -05:00
Ned Deily
4712dc879a
Pending final editing of 3.6 whatsnew, add a list of all PEPs implemented.
2016-09-16 15:48:00 -04:00
Ned Deily
8761e59f36
Pending final editing of 3.6 whatsnew, add a list of all PEPs implemented.
2016-09-16 15:46:55 -04:00
Benjamin Peterson
640463acb1
merge 3.6
2016-09-14 23:54:09 -07:00
Benjamin Peterson
6775231597
Unicode 9.0.0
...
Not completely mechanical since support for East Asian Width changes—emoji
codepoints became Wide—had to be added to unicodedata.
2016-09-14 23:53:47 -07:00
Guido van Rossum
315361c7dc
Add text about PEP 526 to What's new in 3.6. Ivan L. (merge 3.6->3.7)
2016-09-13 09:27:07 -07:00
Guido van Rossum
a4d9b17b1f
Add text about PEP 526 to What's new in 3.6. Ivan L.
2016-09-13 09:26:38 -07:00
Xavier de Gaye
1e68987792
Merge from 3.6.
2016-09-13 18:06:08 +02:00
Xavier de Gaye
032c0fb655
Add an Android section to whatsnew/3.6.rst.
2016-09-13 18:04:15 +02:00
Ned Deily
20ae233d02
merge from 3.6
2016-09-13 11:35:00 -04:00
Ned Deily
bd8f277efc
Tidy 3.6 What's New summary
2016-09-13 11:33:03 -04:00
Berker Peksag
e4c16fa364
Merge from 3.6
2016-09-13 05:53:01 +03:00
Berker Peksag
b5d67b7278
Fix headers in whatsnew/3.6.rst
2016-09-13 05:52:32 +03:00
Ned Deily
4829bc6619
Bump to 3.7.0a0
2016-09-12 17:29:04 -04:00
Victor Stinner
6287177169
Issue #27350 : Document compact dict memory usage
2016-09-12 14:43:14 +02:00
Christian Heimes
c4d2e500a9
Update whatsnew with my contributions
2016-09-12 01:14:35 +02:00
Eric V. Smith
b5690864ba
Issue 24454: Added whatsnew entry, removed __getitem__ from match_methods. Thanks Serhiy Storchaka.
2016-09-11 09:50:47 -04:00
Berker Peksag
ab994ed8b9
Issue #10740 : sqlite3 no longer implicitly commit an open transaction before DDL statements
...
This commit contains the following commits from ghaering/pysqlite:
* f254c53494
* 796b3afe38
* cae87ee686
* 3567b31bb5
With the following additions:
* Fixed a refcount error
* Fixed a compiler warning
* Made the string comparison a little more robust
* Added a whatsnew entry
2016-09-11 12:57:15 +03:00
Serhiy Storchaka
bd48d27944
Issue #22493 : Inline flags now should be used only at the start of the
...
regular expression. Deprecation warning is emitted if uses them in the
middle of the regular expression.
2016-09-11 12:50:02 +03:00
Serhiy Storchaka
352601ca00
Issue #26885 : xmlrpc now supports unmarshalling additional data types used
...
by Apache XML-RPC implementation for numerics and None.
2016-09-11 11:23:38 +03:00
Serhiy Storchaka
9fab79bcb5
Issue #26900 : Excluded underscored names and other private API from limited API.
2016-09-11 11:03:14 +03:00
Benjamin Peterson
47503c5a8d
fix link to instrumentation
2016-09-10 17:38:51 -07: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
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
Zachary Ware
b44acebc7b
Actually fix suspicious markup, I ignored it too readily
2016-09-09 17:47:38 -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
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
R David Murray
06ed218ed0
#20476 : add a message_factory policy attribute to email.
2016-09-09 18:39:18 -04:00
Steve Dower
3cdd7f57a2
Add links from whatsnew to Windows docs.
2016-09-09 15:22:13 -07:00
Serhiy Storchaka
142aee3a8e
Merge heads
2016-09-10 01:14:38 +03:00
Steve Dower
d8fdffedaa
Adds search path changes to whatsnew/3.6.rst
2016-09-09 15:09:30 -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
Zachary Ware
ba41c8152f
Add tix deprecation to whatsnew
2016-09-09 13:25:44 -07:00
Benjamin Peterson
c1db513e36
repair errors in (set|get)_task_factory note ( #28051 )
2016-09-09 12:46:42 -07:00
Benjamin Peterson
84f6a8f725
merge 3.5 ( #28051 )
2016-09-09 12:46:49 -07:00
Eric Snow
68f4dd8b01
Doc updates for PEPs 520 and 468.
2016-09-09 11:22:14 -07:00
Brett Cannon
6760c69022
Mention how requiring ordered dicts breaks backwards-compatibility.
2016-09-09 11:18:21 -07:00
Brett Cannon
feea6e7bcf
Mention that the order-preserving aspect of the new dict
...
implementation is an implementation detail (and why that is so).
2016-09-09 11:11:45 -07:00
Guido van Rossum
52a7e37555
Add a few big-ticket items to What's new in 3.6.
2016-09-09 09:59:34 -07:00
Benjamin Peterson
f7e9dfbee2
credit Raymond
2016-09-09 09:33:23 -07:00
R David Murray
301edfa579
Add policy keyword to email.generator.DecodedGenerator.
2016-09-08 17:57:06 -04:00
Martin Panter
0be894b2f6
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-09-07 12:03:06 +00: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
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
Benjamin Peterson
b6e363463a
make some peps high level sections
2016-09-08 11:58:40 -07:00
Zachary Ware
20737cc91e
Issue #28027 : Remove Lib/plat-* files
2016-09-08 11:38:46 -07:00
Benjamin Peterson
b1a95888de
fix pep role
2016-09-08 11:03:55 -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
Benjamin Peterson
cfbd48bc56
add a note about c99
2016-09-08 10:27:20 -07:00
Benjamin Peterson
e5e3edb920
improve compact dict changelog
2016-09-08 10:13:42 -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
R David Murray
bf24dfa07c
#24277 : Fix 3.4 whats new link broken by email doc changes.
2016-09-07 21:39:40 -04:00
Brett Cannon
035a100382
Issue #26667 : Add path-like object support to importlib.util.
2016-09-07 18:39:18 -07:00
R David Murray
8e7cdb2586
#24277 : What's New and news entries for previous commit.
2016-09-07 21:21:58 -04:00
Eric Snow
46f97b85a8
Issue #15767 : Use ModuleNotFoundError.
2016-09-07 16:56:15 -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
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
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
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
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
Berker Peksag
b84fd04f39
Remove redundant bullet point in 3.6.rst
2016-09-07 01:07:06 +03:00
Zachary Ware
c401881d68
Closes #27982 : Allow keyword arguments to winsound functions
2016-09-06 16:32:43 -05: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
Brett Cannon
3cebf93872
Implement the frame evaluation API aspect of PEP 523.
2016-09-05 15:33:46 -07:00
Eric Snow
92a6c170e6
Issue #24254 : Preserve class attribute definition order.
2016-09-05 14:50:11 -07:00
Jason R. Coombs
5c071c1ff4
Issue #27919 : Deprecate extra_path option in distutils.
2016-09-01 13:55:33 -04:00
Vinay Sajip
dd917f84e3
Closes #27904 : Improved logging statements to defer formatting until needed.
2016-08-31 08:22:29 +01:00
Raymond Hettinger
15f44ab043
Issue #27895 : Spelling fixes (Contributed by Ville Skyttä).
2016-08-30 10:47:49 -07: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
68ed978f56
Add a What's New entry for PEP 519
2016-08-26 14:45:15 -07:00
Raymond Hettinger
f74c33ad5c
Merge
2016-08-25 21:12:16 -07:00
Raymond Hettinger
7ea386e56e
Issue 19504: Change "customise" to "customize" American spelling.
2016-08-25 21:11:50 -07: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
R David Murray
bdfa0ebff7
#26907 : add some missing getsockopt constants.
...
Patch by Christian Heimes, reviewed by Martin Panter.
2016-08-23 21:12:40 -04:00
Jason R. Coombs
c758d51aa8
Issue #27819 : Add more detail in What's New in 3.6.
2016-08-21 16:09:27 -04:00
Martin Panter
8fbab9f163
Merge spelling fixes from 3.5
2016-08-20 08:26:16 +00:00
Martin Panter
d210a70dd9
Minor spelling fixes
2016-08-20 08:03:06 +00:00
Nick Coghlan
02d03dfab1
Issue #26823 : fix traceback abbreviation docs
...
- be clear builtin traceback display was also updated
- show example output in What's New
- fix versionadded markup
2016-08-16 10:58:14 +10:00
Nick Coghlan
d00342347e
Issue #26823 : Abbreviate recursive tracebacks
...
Large sections of repeated lines in tracebacks are now abbreviated as
"[Previous line repeated {count} more times]" by both the traceback
module and the builtin traceback rendering.
Patch by Emanuel Barry.
2016-08-15 13:11:34 +10:00
Serhiy Storchaka
9171a8b4ce
Issue #27574 : Decreased an overhead of parsing keyword arguments in functions
...
implemented with using Argument Clinic.
2016-08-14 10:52:18 +03:00
Zachary Ware
75bc032341
Closes #27207 : Merge with 3.5
2016-08-10 00:31:31 -05:00
Zachary Ware
4032620f93
Issue #27207 : Fix doctests in Doc/whatsnew/3.2.rst
...
Initial patch by Jelle Zijlstra.
2016-08-10 00:30:41 -05:00
Serhiy Storchaka
febc332056
Issue #26754 : Undocumented support of general bytes-like objects
...
as path in compile() and similar functions is now deprecated.
2016-08-06 23:29:29 +03:00
Serhiy Storchaka
d73c31899e
Issue #26800 : Undocumented support of general bytes-like objects
...
as paths in os functions is now deprecated.
2016-08-06 23:22:08 +03:00
Vinay Sajip
fd0f84bd8f
Closes #22829 : Added --prompt option to venv.
2016-08-06 10:43:44 +01:00
Nick Coghlan
607e1c4c44
Issue 27366: PEP 487 docs updates
...
- Porting note for type keyword arg handling
- __init_subclass__ note regarding metaclass hint
2016-07-31 12:42:49 +10:00
Nick Coghlan
d78448e912
Issue #27366 : Implement PEP 487
...
- __init_subclass__ called when new subclasses defined
- __set_name__ called when descriptors are part of a
class definition
2016-07-30 16:26:03 +10:00
Martin Panter
6a09315ff0
Issue #26462 : Merge code block fixes from 3.5
2016-07-29 01:49:37 +00:00
Martin Panter
1050d2d0c7
Issue #26462 : Doc: reduce literal_block warnings, fix syntax highlighting.
...
Patch by Julien Palard.
2016-07-26 11:18:21 +02:00
Ned Deily
538f5c4786
Issue #27285 : Cleanup "suspicious" warnings.
2016-07-11 14:21:58 -04:00
Serhiy Storchaka
0122ae9ac8
Issue #21708 : Deprecated dbm.dumb behavior that differs from common dbm
...
behavior: creating a database in 'r' and 'w' modes and modifying a database
in 'r' mode.
2016-07-06 12:21:58 +03:00
Serhiy Storchaka
7e160ce356
Issue #23034 : The output of a special Python build with defined COUNT_ALLOCS,
...
SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT macros is now off by default. It can
be re-enabled using the "-X showalloccount" option. It now outputs to stderr
instead of stdout.
2016-07-03 21:03:53 +03:00
Berker Peksag
a9e1ebb780
Issue #27430 : Merge from 3.5
2016-07-01 12:17:45 +03:00
Berker Peksag
e39682b076
Issue #27430 : Fix typos, patch by scop.
2016-07-01 12:17:05 +03:00
Berker Peksag
e807e892ed
Fix typo in whatsnew/3.6.rst
2016-07-01 12:12:19 +03:00
Martin Panter
34eeed4290
Issue #26721 : Change StreamRequestHandler.wfile to BufferedIOBase
2016-06-29 10:12:22 +00:00
Serhiy Storchaka
8122174af1
Issue #22115 : Added methods trace_add, trace_remove and trace_info in the
...
tkinter.Variable class. They replace old methods trace_variable, trace,
trace_vdelete and trace_vinfo that use obsolete Tcl commands and might
not work in future versions of Tcl.
2016-06-26 09:46:57 +03:00
Brett Cannon
696c35e86b
Issue #26186 : Remove the restriction that built-in and extension
...
modules can't be lazily loaded.
Thanks to Python 3.6 allowing for types.ModuleType to have its
__class__ mutated, the restriction can be lifted by calling
create_module() on the wrapped loader.
2016-06-25 10:58:17 -07:00
Benjamin Peterson
ec51eb7b25
merge 3.5
2016-06-21 23:47:24 -07:00
Benjamin Peterson
8550bd80ae
alter header; '%' really throws latex through a loop
2016-06-21 23:47:16 -07:00
Serhiy Storchaka
aacd53f6cb
Issue #18726 : All optional parameters of the dump(), dumps(),
...
load() and loads() functions and JSONEncoder and JSONDecoder class
constructors in the json module are now keyword-only.
2016-06-22 00:03:20 +03:00
Martin Panter
df1d31c2cd
Fix “allow(s) to”
2016-06-20 08:00:45 +00:00
Martin Panter
2fec611a70
Issue #24314 : Merge doc links from 3.5
2016-06-18 08:20:22 +00:00
Martin Panter
bae5d81f5d
Issue #24314 : Fix doc links for general attributes like __name__, __dict__
2016-06-18 03:57:31 +00:00
Steve Dower
ea93ac013d
Issue #26536 : socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes.
2016-06-17 12:52:18 -07:00
Berker Peksag
e0b70cd8a9
Issue #16864 : Cursor.lastrowid now supports REPLACE statement
...
Initial patch by Alex LordThorsen.
2016-06-14 15:25:36 +03:00
Terry Jan Reedy
dffd42f130
Whitespace
2016-06-13 00:42:42 -04:00
Terry Jan Reedy
d9792a0f18
Issue #27163 : Add idlelib/IDLE entry to What's New in 3.6.
2016-06-13 00:41:53 -04:00
Martin Panter
aea671efc6
Merge typo fixes from 3.5
2016-06-12 06:16:51 +00:00
Martin Panter
70c502aacf
Fix typos and English grammar in documentation and code comment
2016-06-12 06:14:03 +00:00
Martin Panter
99cb0cda15
Issue #24136 : Merge unpacking doc from 3.5
2016-06-12 01:55:03 +00:00
Martin Panter
0c0da48aed
Issue #24136 : Document generalized unpacking, PEP 448
...
Based on patches by Konstantin Molchanov and Neil Girdhar.
2016-06-12 01:46:50 +00:00
Serhiy Storchaka
e670be2273
Issue #27029 : Removed deprecated support of universal newlines mode from ZipFile.open().
2016-06-11 19:32:44 +03:00
Serhiy Storchaka
f41b82fb19
Issue #26282 : PyArg_ParseTupleAndKeywords() and Argument Clinic now support
...
positional-only and keyword parameters in the same function.
2016-06-09 16:30:29 +03:00
Yury Selivanov
711d25db48
Merge 3.5 (issue #27243 )
2016-06-09 15:13:16 -04:00
Yury Selivanov
a6f6edbda8
Issue #27243 : Fix __aiter__ protocol
2016-06-09 15:08:31 -04:00
Yury Selivanov
7a713386d8
Merge 3.5 (asyncio)
2016-06-08 13:57:23 -04:00
Yury Selivanov
c1cf296de6
asyncio: Remove asyncio.timeout() context manager.
...
It will probably be added back in Python 3.6, once its compatibility
issues are resolved; see [1] for more details.
[1] https://mail.python.org/pipermail/async-sig/2016-June/000045.html
2016-06-08 13:57:03 -04:00
Yury Selivanov
d211bfbe79
Merge 3.5 (whatsnew)
2016-06-08 12:55:54 -04:00
Yury Selivanov
af74512e44
asyncio: Update whatsnew/3.5.2
2016-06-08 12:55:29 -04:00
Martin Panter
0d3535a6ab
Issue #23883 : News updates for __all__ attributes
2016-06-06 02:09:08 +00:00
Senthil Kumaran
1b749c5ef6
[merge from 3.5] - issue27202 - Fix the mistake in changesets 70af472451cb (3.5) and 2bb806539ca6 (3.6)
...
exclude_patterns in Sphinx conf.py will exclude the .rsts from the build. It
was incorrect exclude 2.x rsts in that. This fix contributed again Jelle
Zijlstra, excludes doctests in whatsnew/2.7.rst from being exercised by using
doctests skip option.
2016-06-04 22:23:18 -07:00
Senthil Kumaran
889f914edb
issue27202 - Fix the mistake in changesets 70af472451cb (3.5) and 2bb806539ca6 (3.6)
...
exclude_patterns in Sphinx conf.py will exclude the .rsts from the build. It
was incorrect exclude 2.x rsts in that. This fix contributed again Jelle
Zijlstra, excludes doctests in whatsnew/2.7.rst from being exercised by using
doctests skip option.
2016-06-04 22:22:26 -07:00
Martin Panter
e514093a2f
Issue #27125 : Merge typo fixes from 3.5
2016-05-30 05:24:49 +00:00
Martin Panter
a90a4a9651
Issue #27125 : Remove duplicated words from documentation and comments
2016-05-30 04:04:50 +00:00
Serhiy Storchaka
8c740c4d19
Improved docs for issue27033. Based on comments by R. David Murray.
2016-05-29 23:43:24 +03:00
Martin Panter
e501a93c18
Issue #27125 : Merge typo fixes from 3.5
...
Also merge changes from Issue #27117 ; no actual code changes to 3.6.
2016-05-29 09:05:06 +00:00
Martin Panter
8d56c026a5
Issue #27125 : Fix various errors like “will [be] inherited”
2016-05-29 04:13:35 +00:00
Steve Dower
4d4bc42c8b
Closes #23026 : Documentation improvements and code formatting
2016-05-25 11:26:07 -07:00
Steve Dower
80ac11d01e
Issue #23026 : winreg.QueryValueEx() now return an integer for REG_QWORD type. (Patch by hakril)
2016-05-24 15:42:04 -07:00
Paul Moore
835416cf7c
Issue #27064 : The py.exe launcher now defaults to Python 3.
...
The Windows launcher ``py.exe`` no longer prefers an installed
Python 2 version over Python 3 by default when used interactively.
2016-05-22 12:28:41 +01:00
Victor Stinner
5a48e21ff1
subprocess now emits a ResourceWarning warning
...
Issue #26741 : subprocess.Popen destructor now emits a ResourceWarning warning
if the child process is still running.
2016-05-20 12:11:15 +02:00
Victor Stinner
19ed27ec2b
Optimize pickle.load() and pickle.loads()
...
Issue #27056 : Optimize pickle.load() and pickle.loads(), up to 10% faster to
deserialize a lot of small objects.
2016-05-20 11:42:37 +02:00
Yury Selivanov
b4a0d52a3f
docs: Update whatsnew/3.6 with asyncio changes
2016-05-16 16:25:16 -04:00
Yury Selivanov
f979d55886
Merge 3.5
2016-05-16 16:23:20 -04:00
Yury Selivanov
950204df9c
docs: Update asyncio docs & whatsnew
2016-05-16 16:23:00 -04:00
Serhiy Storchaka
2e208b7d62
Issue #27031 : Removed dummy methods in Tkinter widget classes: tk_menuBar()
...
and tk_bindForTraversal().
2016-05-16 22:35:46 +03:00
Martin Panter
f0dbf7a6ab
Issue #26870 : Add readline.set_auto_history(), originally by Tyler Crompton
2016-05-15 01:26:25 +00:00
Serhiy Storchaka
18ee29d0b8
Issue #26039 : zipfile.ZipFile.open() can now be used to write data into a ZIP
...
file, as well as for extracting data. Patch by Thomas Kluyver.
2016-05-13 13:52:49 +03:00
Serhiy Storchaka
c499f30286
Issue #23921 : Standardized documentation whitespace formatting.
...
Original patch by James Edwards.
2016-05-10 12:01:56 +03:00
Serhiy Storchaka
dba903993a
Issue #23921 : Standardized documentation whitespace formatting.
...
Original patch by James Edwards.
2016-05-10 12:01:23 +03:00
Serhiy Storchaka
1acbf853c8
Issue #26736 : Used HTTPS for external links in the documentation if possible.
2016-05-07 10:49:58 +03:00
Serhiy Storchaka
6dff0205b7
Issue #26736 : Used HTTPS for external links in the documentation if possible.
2016-05-07 10:49:07 +03:00
Serhiy Storchaka
b275210a3b
Issue #25788 : fileinput.hook_encoded() now supports an "errors" argument
...
for passing to open. Original patch by Joseph Hackman.
2016-04-27 23:13:46 +03:00
Victor Stinner
8153ac8f00
Issue #26249 : Mention PyMem_Malloc() change in What's New in Python 3.6 in the
...
Optimizations section.
2016-04-24 22:33:26 +02:00
Berker Peksag
e50d8465ab
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:50 +03:00
Berker Peksag
8d8221f0d6
Issue #26041 : Remove "will be removed in Python 3.7" from description messages
...
We will keep platform.dist() and platform.linux_distribution() to make porting
from Python 2 easier.
Patch by Kumaripaba Miyurusara Athukorala.
2016-04-24 03:32:24 +03:00
Victor Stinner
f5c4b99034
PyMem_Malloc() now uses the fast pymalloc allocator
...
Issue #26249 : PyMem_Malloc() allocator family now uses the pymalloc allocator
rather than system malloc(). Applications calling PyMem_Malloc() without
holding the GIL can now crash: use PYTHONMALLOC=debug environment variable to
validate the usage of memory allocators in your application.
2016-04-22 16:26:23 +02:00
Senthil Kumaran
5439fc4901
[minor] Doc fix in old python doc.
2016-04-21 00:23:08 -07:00
Martin Panter
abe4d52a1a
Merge doc and comment fixes from 3.5
2016-04-19 23:23:16 +00:00
Martin Panter
8f26565ba9
Fix spelling (inital), grammar (may translates) in documentation, comments
2016-04-19 04:03:41 +00:00
Serhiy Storchaka
b6a9c9761c
Issue #26778 : Fixed "a/an/and" typos in code comment, documentation and error
...
messages.
2016-04-17 09:39:28 +03:00
Serhiy Storchaka
6a7b3a77b4
Issue #26778 : Fixed "a/an/and" typos in code comment and documentation.
2016-04-17 08:32:47 +03:00
Martin Panter
528619b6c3
Issue #26782 : Add STARTUPINFO to subprocess.__all__ on Windows
2016-04-16 23:42:37 +00:00
Martin Panter
8b04a945ef
Merge typo fixes from 3.5
2016-04-16 09:29:17 +00:00
Martin Panter
119e502277
Fix typos in code comments and documentation
2016-04-16 09:28:57 +00:00
Martin Panter
d3aeb9b797
Issue #26638 : Merge link fixes from 3.5
2016-04-16 07:36:08 +00:00
Martin Panter
00ccacc8db
Issue #26638 : Fix links to some CLI options and section headings
...
* Disable inappropriate links to Python interpreter options
* Correct link to CLI section in zipapp
* Make CLI section label in timeit less ambiguous
2016-04-16 04:59:38 +00:00
Martin Panter
0cab9c1eba
Issue #26404 : Add context manager to socketserver, by Aviv Palivoda
2016-04-13 00:36:52 +00:00
Serhiy Storchaka
96790a4b82
Issue #25910 : Fixed more links in the docs.
2016-04-11 17:33:27 +03:00
Serhiy Storchaka
de886d9233
Issue #25910 : Fixed more links in the docs.
2016-04-11 17:32:33 +03:00
Serhiy Storchaka
336fc5bbb0
Issue #25910 : Fixed dead links in the docs.
2016-04-11 12:34:07 +03:00
Serhiy Storchaka
90be7333ea
Issue #25910 : Fixed dead links in the docs.
2016-04-11 12:18:56 +03:00
Martin Panter
50ab1a3694
Issue #26685 : Raise OSError if closing a socket fails
2016-04-11 00:38:12 +00:00
Martin Panter
3872d62133
Issue #25609 : Double back-ticks to avoid “make check” buildbot failure
2016-04-10 02:41:25 +00:00
Brett Cannon
5f0507d8ab
Issue #26587 : Allow .pth files to specify file paths as well as
...
directories.
Thanks to Wolfgang Langner for the bug report and initial version of
the patch.
2016-04-08 15:04:28 -07:00
Brett Cannon
9e080e0e74
Issue #25609 : Introduce contextlib.AbstractContextManager and
...
typing.ContextManager.
2016-04-08 12:15:27 -07:00
Martin Panter
dcfebb32e2
Issue #26676 : Add missing XMLPullParser to ElementTree.__all__
2016-04-01 06:55:55 +00:00
Serhiy Storchaka
7b1e5a7722
Remove redundant leading zeroes in PEP references.
2016-03-31 15:31:20 +03:00
Serhiy Storchaka
e4ba872543
Remove redundant leading zeroes in PEP references.
2016-03-31 15:30:54 +03:00
Victor Stinner
404cdc5a92
faulthandler: add Windows exception handler
...
Issue #23848 : On Windows, faulthandler.enable() now also installs an exception
handler to dump the traceback of all Python threads on any Windows exception,
not only on UNIX signals (SIGSEGV, SIGFPE, SIGABRT).
2016-03-23 10:39:17 +01:00
Victor Stinner
fac395681f
Optimize bytes.replace(b'', b'.')
...
Issue #26574 : Optimize bytes.replace(b'', b'.') and
bytearray.replace(b'', b'.'): up to 80% faster. Patch written by Josh Snider.
2016-03-21 10:38:58 +01:00
Berker Peksag
3c3d7f4b99
Issue #18787 : spwd.getspnam() now raises a PermissionError if the user
...
doesn't have privileges.
2016-03-19 11:44:17 +02:00
Victor Stinner
ee803a8d2c
Issue #26567 : enhance ResourceWarning example
2016-03-19 10:33:25 +01:00
Victor Stinner
914cde89d4
On ResourceWarning, log traceback where the object was allocated
...
Issue #26567 :
* Add a new function PyErr_ResourceWarning() function to pass the destroyed
object
* Add a source attribute to warnings.WarningMessage
* Add warnings._showwarnmsg() which uses tracemalloc to get the traceback where
source object was allocated.
2016-03-19 01:03:51 +01:00
Victor Stinner
9b46a57302
Doc: fix typos, patch written by Stefan Behnel
2016-03-18 15:10:43 +01:00
Victor Stinner
c2fc56836f
Enhance documentation on malloc debug hooks
...
Issue #26564 , #26516 , #26563 .
2016-03-18 11:04:31 +01:00
Victor Stinner
0611c26a58
On memory error, dump the memory block traceback
...
Issue #26564 : _PyObject_DebugDumpAddress() now dumps the traceback where a
memory block was allocated on memory block. Use the tracemalloc module to get
the traceback.
2016-03-15 22:22:13 +01:00
Victor Stinner
c4aec3628b
Check the GIL in PyObject_Malloc()
...
Issue #26558 : The debug hook of PyObject_Malloc() now checks that the GIL is
held when the function is called.
2016-03-14 22:26:53 +01:00
Victor Stinner
34be807ca4
Add PYTHONMALLOC env var
...
Issue #26516 :
* Add PYTHONMALLOC environment variable to set the Python memory
allocators and/or install debug hooks.
* PyMem_SetupDebugHooks() can now also be used on Python compiled in release
mode.
* The PYTHONMALLOCSTATS environment variable can now also be used on Python
compiled in release mode. It now has no effect if set to an empty string.
* In debug mode, debug hooks are now also installed on Python memory allocators
when Python is configured without pymalloc.
2016-03-14 12:04:26 +01:00
Victor Stinner
2c2a4e63d7
Add Mock.assert_called()
...
Issue #26323 : Add assert_called() and assert_called_once() methods to
unittest.mock.Mock.
2016-03-11 22:17:48 +01:00
Georg Brandl
3902d62c4e
merge with 3.5
2016-02-26 19:37:52 +01:00
Georg Brandl
5d94134040
Closes #25910 : fix dead and permanently redirected links in the docs. Thanks to SilentGhost for the patch.
2016-02-26 19:37:12 +01:00
Martin Panter
d9108d1253
Issue #23430 : Stop socketserver from catching SystemExit etc from handlers
...
Also make handle_error() consistently output to stderr, and fix the
documentation.
2016-02-21 08:49:56 +00:00
Martin Panter
bc1ee460dc
Issue #25179 : Documentation for formatted string literals aka f-strings
...
Some of the inspiration and wording is taken from the text of PEP 498 by Eric
V. Smith, and the existing str.format() documentation.
2016-02-13 00:41:37 +00:00
Serhiy Storchaka
ffe96ae10b
Issue #25994 : Added the close() method and the support of the context manager
...
protocol for the os.scandir() iterator.
2016-02-11 13:21:30 +02:00
Martin Panter
288ed038aa
Issue #26304 : Additional “allows to” fix specific to 3.6
2016-02-10 05:45:55 +00:00
Martin Panter
3008b1c4bb
Issue #26304 : Merge doc wording from 3.5
2016-02-10 05:44:56 +00:00
Martin Panter
c04fb56e36
Issue #26304 : Change "allows to <verb>" to "allows <verb>ing" or similar
...
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
2016-02-10 05:44:01 +00:00
Martin Panter
7e3a91a5fc
Issue #26136 : Upgrade the generator_stop warning to DeprecationWarning
...
Patch by Anish Shah.
2016-02-10 04:40:48 +00:00
Martin Panter
1fe0d13d12
Issue #26243 : zlib.compress() keyword argument support by Aviv Palivoda
2016-02-10 10:06:36 +00:00
Martin Panter
96a4f07107
Issues #26310 , #26311 : Fix typos in the documentation and code comments
2016-02-10 01:17:51 +00:00
Martin Panter
263c448a2e
Issues #26310 , 26311: Merge typo fixes from 3.5
2016-02-10 01:18:36 +00:00
Serhiy Storchaka
503f908090
Issue #26039 : Added zipfile.ZipInfo.from_file() and zipinfo.ZipInfo.is_dir().
...
Patch by Thomas Kluyver.
2016-02-08 00:02:25 +02:00
Brett Cannon
9fa812668f
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.
2016-01-22 16:39:02 -08:00
Brett Cannon
849113af6b
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.
2016-01-22 15:25:50 -08:00
Victor Stinner
f3914eb16d
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
2016-01-20 12:16:21 +01:00
Senthil Kumaran
613065b60d
Issue26069 - Update whatsnew/3.6.rst on traceback module's api removals.
2016-01-17 20:12:16 -08:00
Martin Panter
e8afd01db8
Issue #23883 : Update news
2016-01-16 07:01:46 +00:00
Brett Cannon
63b8505281
Issue #25791 : Raise an ImportWarning when __spec__ or __package__ are
...
not defined for a relative import.
This is the start of work to try and clean up import semantics to rely
more on a module's spec than on the myriad attributes that get set on
a module. Thanks to Rose Ames for the patch.
2016-01-15 13:33:03 -08:00
Yury Selivanov
37dc2b2883
Issue #25486 : Resurrect inspect.getargspec in 3.6. Backout a565aad5d6e1.
...
The decision is that we shouldn't remove popular APIs (however long they
are depreacted) from Python 3, while 2.7 is still around and supported.
2016-01-11 15:15:01 -05:00
Brett Cannon
eae3079041
Issue #25802 : Deprecate load_module() on importlib.machinery.SourceFileLoader and SourcelessFileLoader.
...
They were the only remaining implementations of load_module() not
documented as deprecated.
2015-12-28 17:55:27 -08:00
Brett Cannon
1e3c3e906c
Issue #25768 : Make compileall functions return booleans and document
...
the return values as well as test them.
Thanks to Nicholas Chammas for the bug report and initial patch.
2015-12-27 13:17:04 -08:00
Yury Selivanov
2c008d83dc
Merge 3.5
2015-12-15 00:38:38 -05:00
Yury Selivanov
4a18b35dbd
docs/whatsnew/3.5: Fix ref link
2015-12-15 00:38:28 -05:00
Yury Selivanov
e93f407a0f
Merge 3.5
2015-12-15 00:30:32 -05:00
Yury Selivanov
bf077ee043
whatsnew/3.5: Mention new asyncio APIs in 3.5.1
2015-12-15 00:30:18 -05:00
Martin Panter
b4ce1fc31b
Issue #5319 : New Py_FinalizeEx() API to exit with status 120 on failure
2015-11-30 03:18:29 +00:00
R David Murray
4f09806e66
#25485 : Add context manager support to Telnet class.
...
Patch by Stéphane Wirtel.
2015-11-28 12:24:52 -05:00
Martin Panter
28a465c9e0
Issue #23883 : Add news listing modules with new exported APIs
2015-11-14 12:52:08 +00:00
Martin Panter
fad4b60074
Adjust grammar and punctuation in whatsnew/3.6.rst
2015-11-14 01:29:17 +00:00
Martin Panter
22fd1c262a
Merge typo and grammar fixes from 3.5
2015-11-14 01:29:13 +00:00
Martin Panter
97ce0faa4d
Fix grammar in whatsnew/3.5.rst and elsewhere
...
Mainly missing grammatical articles (the, a).
2015-11-14 01:14:54 +00:00
Martin Panter
6fe39266c8
Issue #25590 : Complete attribute names even if they are not yet created
2015-11-13 23:54:02 +00:00
Zachary Ware
d545f7f4cb
Merge with 3.5
2015-11-11 22:54:28 -06:00
Zachary Ware
ccbc8dedec
Fix awkward grammar in whatsnew.
...
Reported on docs@ by Keith Briggs.
2015-11-11 22:53:47 -06:00
Zachary Ware
c826ab06c8
Fix typos in whatsnew.
...
Reported on docs@ by Igor Zhun.
2015-11-11 22:41:43 -06:00
Raymond Hettinger
2fbde51e2f
merge
2015-11-09 08:26:28 -08:00
Raymond Hettinger
850be0fb18
Improve namedtuple doc string examples
2015-11-09 08:24:53 -08:00
Serhiy Storchaka
4a7c03aab4
Issue #25523 : Merge a-to-an corrections from 3.5.
2015-11-02 14:44:29 +02:00
Serhiy Storchaka
a84f6c3dd3
Issue #25523 : Merge a-to-an corrections from 3.4.
2015-11-02 14:39:05 +02:00
Serhiy Storchaka
d65c9496da
Issue #25523 : Further a-to-an corrections.
2015-11-02 14:10:23 +02:00
Raymond Hettinger
a1fc949b5a
Issue #24379 : Revert the operator.subscript patch (dccc4e63aef5) pending resolution of the related refcnt leak.
2015-11-02 00:39:56 -05:00
Martin Panter
e56a919100
Issue #25523 : Merge a-to-an corrections from 3.5
2015-11-02 04:27:17 +00:00
Martin Panter
d2ad5718ad
Issue #25523 : Further a-to-an corrections new in 3.5
2015-11-02 04:20:33 +00:00
Martin Panter
2eb819f7a8
Issue #25523 : Merge "a" to "an" fixes from 3.4 into 3.5
2015-11-02 04:04:57 +00:00
Martin Panter
7462b64911
Issue #25523 : Correct "a" article to "an" article
...
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Yury Selivanov
22d4553acb
Merge 3.5
2015-10-31 13:34:01 -04:00
Yury Selivanov
f97edf1aa6
whatsnew/3.5: NumPy 1.10 has been released
2015-10-31 13:33:49 -04:00
Martin Panter
ff99988397
Merge typo fixes from 3.5
2015-10-31 12:23:03 +00:00
Martin Panter
0e5eba25c7
Fix more typos in whatsnew/3.5.rst
2015-10-31 12:18:10 +00:00