Commit Graph

18961 Commits

Author SHA1 Message Date
Victor Stinner 2bf8993db9 Optimize bytes.fromhex() and bytearray.fromhex()
Issue #25401: Optimize bytes.fromhex() and bytearray.fromhex(): they are now
between 2x and 3.5x faster. Changes:

* Use a fast-path working on a char* string for ASCII string
* Use a slow-path for non-ASCII string
* Replace slow hex_digit_to_int() function with a O(1) lookup in
  _PyLong_DigitValue precomputed table
* Use _PyBytesWriter API to handle the buffer
* Add unit tests to check the error position in error messages
2015-10-14 11:25:33 +02:00
Victor Stinner ebcf9edc05 Document latest optimizations using _PyBytesWriter 2015-10-14 10:10:00 +02:00
Terry Jan Reedy 8533a21117 Merge with 3.5 2015-10-13 22:04:22 -04:00
Terry Jan Reedy 447169f6da Merge with 3.4 2015-10-13 22:04:07 -04:00
Terry Jan Reedy 93f3542ae4 Issue #24782: Finish converting the Configure Extension dialog into a new
tab in the IDLE Preferences dialog.  Code patch by Mark Roseman.
2015-10-13 22:03:51 -04:00
Serhiy Storchaka b6d84832bf Issue #24164: Document changes to __getnewargs__ and __getnewargs_ex__. 2015-10-13 21:26:35 +03:00
Victor Stinner f7d2471260 Merge 3.5 (sys.setrecursionlimit) 2015-10-13 00:16:07 +02:00
Victor Stinner 50856d5ae7 sys.setrecursionlimit() now raises RecursionError
Issue #25274: sys.setrecursionlimit() now raises a RecursionError if the new
recursion limit is too low depending at the current recursion depth. Modify
also the "lower-water mark" formula to make it monotonic. This mark is used to
decide when the overflowed flag of the thread state is reset.
2015-10-13 00:11:21 +02:00
Benjamin Peterson b031eaee3b merge 3.5 2015-10-11 23:03:47 -07:00
Benjamin Peterson 63e80e1798 merge 3.4 2015-10-11 23:03:41 -07:00
Benjamin Peterson b395188088 actually link to the version attributes documentation 2015-10-11 23:03:22 -07:00
Victor Stinner e84c976568 Issue #25357: Add an optional newline paramer to binascii.b2a_base64().
base64.b64encode() uses it to avoid a memory copy.
2015-10-11 11:01:02 +02:00
Benjamin Peterson 6da624098f merge 3.5 (#25375) 2015-10-10 23:24:53 -07:00
Benjamin Peterson b16e12aaaa merge 3.4 2015-10-10 23:24:39 -07:00
Benjamin Peterson 0071b3dfcb don't mention Python 2.2 (closes #25375) 2015-10-10 23:23:55 -07:00
Serhiy Storchaka 0d554d7ef1 Issue #24164: Objects that need calling ``__new__`` with keyword arguments,
can now be pickled using pickle protocols older than protocol version 4.
2015-10-10 22:42:18 +03:00
Martin Panter 430f657c67 Issue #25161: Merge full stops from 3.5 2015-10-10 10:45:00 +00:00
Martin Panter 84835ab1cb Issue #25161: Merge full stops from 3.4 into 3.5 2015-10-10 10:44:25 +00:00
Martin Panter d21e0b52f1 Issue #25161: Add full stops in documentation; patch by Takase Arihiro 2015-10-10 10:36:22 +00:00
Martin Panter a6d5038226 Issue #22413: Merge StringIO doc from 3.5 2015-10-10 10:20:25 +00:00
Martin Panter 994815e1d7 Issue #22413: Merge StringIO doc from 3.4 into 3.5 2015-10-10 10:15:21 +00:00
Martin Panter cfad54344f Issue #22413: Document newline effect on StringIO initializer and getvalue
Also add to comment in the C code.
2015-10-10 03:01:20 +00:00
Vinay Sajip 748cf9b66e Closes #25344: Merged fix from 3.5. 2015-10-10 00:54:18 +01:00
Vinay Sajip 09a00eb076 Closes #25344: Merged fix from 3.4. 2015-10-10 00:53:37 +01:00
Vinay Sajip ff1f3d9ff1 Closes #25344: Added cookbook recipe to show buffering of logging events. 2015-10-10 00:52:35 +01:00
Berker Peksag b6c9572fa9 Sort module names in whatsnew/3.6.rst 2015-10-08 13:58:49 +03:00
Berker Peksag 960e848f0d Issue #16099: RobotFileParser now supports Crawl-delay and Request-rate
extensions.

Patch by Nikolay Bogoychev.
2015-10-08 12:27:06 +03:00
Berker Peksag 2137dc1573 Issue #16802: Document fileno parameter of socket.socket()
Patch by Henrik Heimbuerger and Bar Harel.
2015-10-08 06:34:57 +03:00
Berker Peksag ce88d82ec2 Issue #16802: Document fileno parameter of socket.socket()
Patch by Henrik Heimbuerger and Bar Harel.
2015-10-08 06:34:31 +03:00
Berker Peksag 24a610984d Issue #16802: Document fileno parameter of socket.socket()
Patch by Henrik Heimbuerger and Bar Harel.
2015-10-08 06:34:01 +03:00
Martin Panter 585a6acfef Merge typo fixes from 3.5 2015-10-07 11:13:55 +00:00
Martin Panter 3f930dcd87 Merge typo fixes from 3.4 into 3.5 2015-10-07 11:01:47 +00:00
Martin Panter 9955a373a8 Various minor typos in documentation and comments 2015-10-07 10:26:23 +00:00
Martin Panter 6568714366 Issue #25286: Merge dictionary view glossary from 3.5 2015-10-07 10:04:49 +00:00
Martin Panter 397625e432 Issue #25286: Update dictionary view link; patch by Akira Li 2015-10-07 10:03:20 +00:00
Martin Panter 446977c080 Issue #25286: Merge dictionary view glossary from 3.4 into 3.5 2015-10-07 10:01:04 +00:00
Martin Panter 85b8f45515 Issue #25286: Dictionary views are not sequences
Also change glossary heading from view
2015-10-07 09:56:46 +00:00
Berker Peksag 6f038ada5b Add a versionadded directive for reopenIfNeeded() 2015-10-07 07:54:23 +03:00
Alexander Belopolsky 68713e41a5 Closes issue #12006: Add ISO 8601 year, week, and day directives to strptime.
This commit adds %G, %V, and %u directives to strptime.  Thanks Ashley Anderson
for the implementation.
2015-10-06 13:29:56 -04:00
Guido van Rossum 8ab4169f5a Docs and one small improvement for issue #25304, by Vincent Michel. (Merge 3.5->3.6.) 2015-10-05 16:26:00 -07:00
Guido van Rossum 5db034acfa Docs and one small improvement for issue #25304, by Vincent Michel. (Merge 3.4->3.5.) 2015-10-05 16:23:13 -07:00
Guido van Rossum 601953b679 Docs and one small improvement for issue #25304, by Vincent Michel. 2015-10-05 16:20:00 -07:00
Guido van Rossum 3074c134a9 Issue #23972: updates to asyncio datagram API. By Chris Laws. (Merge 3.5->3.6.) 2015-10-05 09:29:32 -07:00
Guido van Rossum eda1955d82 Issue #23972: updates to asyncio datagram API. By Chris Laws. (Merge 3.4->3.5.) 2015-10-05 09:19:11 -07:00
Guido van Rossum b9bf913ab3 Issue #23972: updates to asyncio datagram API. By Chris Laws. 2015-10-05 09:15:28 -07:00
Victor Stinner 1d65d9192d Issue #25301: The UTF-8 decoder is now up to 15 times as fast for error
handlers: ``ignore``, ``replace`` and ``surrogateescape``.
2015-10-05 13:43:50 +02:00
Martin Panter 9846187bec Issue #16701: Merge sequence docs from 3.5 2015-10-03 07:54:08 +00:00
Martin Panter 2b8cbf04df Issue #16701: Merge sequence docs from 3.4 into 3.5 2015-10-03 07:53:49 +00:00
Martin Panter 3795d12a0d Issue #16701: Document += and *= for mutable sequences 2015-10-03 07:46:04 +00:00
Terry Jan Reedy bfc01028bb Merge with 3.5 2015-10-02 23:25:54 -04:00
Terry Jan Reedy 103d06c81e Merge with 3.4 2015-10-02 23:25:14 -04:00
Terry Jan Reedy d470527aec Issue #25224: README.txt is now an idlelib index for IDLE developers and
curious users.  The previous user content is now in the IDLE doc and is
redundant.  IDLE now means 'Integrated Development and Learning Environment'.
2015-10-02 23:22:59 -04:00
Victor Stinner 6661d885a3 Issue #25287: Don't add crypt.METHOD_CRYPT to crypt.methods if it's not
supported. Check if it is supported, it may not be supported on OpenBSD for
example.
2015-10-02 23:00:39 +02:00
Berker Peksag 4b5d8018df Merge from 3.5
Hg: --
2015-10-02 23:29:13 +03:00
Berker Peksag 8214a7c38f Tweak susp-ignored.csv to make buildbots happy 2015-10-02 23:28:45 +03:00
Yury Selivanov d763909885 asyncio: Make ensure_future() accept all kinds of awaitables. (Merge 3.5) 2015-10-02 15:09:51 -04:00
Yury Selivanov 43d71e2512 asyncio: Make ensure_future() accept all kinds of awaitables. 2015-10-02 15:05:59 -04:00
Victor Stinner 01ada3996b Issue #25267: The UTF-8 encoder is now up to 75 times as fast for error
handlers: ``ignore``, ``replace``, ``surrogateescape``, ``surrogatepass``.
Patch co-written with Serhiy Storchaka.
2015-10-01 21:54:51 +02:00
Vinay Sajip 29a1445136 Closes #24884: refactored WatchedFileHandler file reopening into a separate method, based on a suggestion and patch by Marian Horban. 2015-10-01 20:54:41 +01:00
Andrew Svetlov a91b7e0dc7 Merge 3.5 -> default 2015-10-01 09:49:03 +03:00
Andrew Svetlov 313242aa03 Merge 3.4 -> 3.5 2015-10-01 09:48:36 +03:00
Andrew Svetlov 1c62b52c3f Reflect parameter name change in the doc 2015-10-01 09:48:08 +03:00
Victor Stinner c3713e9706 Optimize ascii/latin1+surrogateescape encoders
Issue #25227: Optimize ASCII and latin1 encoders with the ``surrogateescape``
error handler: the encoders are now up to 3 times as fast.

Initial patch written by Serhiy Storchaka.
2015-09-29 12:32:13 +02:00
Terry Jan Reedy 5fbeabcbb6 Merge with 3.5, Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:56:54 -04:00
Terry Jan Reedy e471ab3434 Merge with 3.4, Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:56:35 -04:00
Terry Jan Reedy 37f81355b0 Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:55:57 -04:00
R David Murray ace12ee11e Merge: Fix English phrasing. 2015-09-27 12:37:20 -04:00
R David Murray c944e34959 Merge: Fix English phrasing. 2015-09-27 12:36:50 -04:00
R David Murray 87d0066f1a Fix English phrasing. 2015-09-27 12:36:19 -04:00
Serhiy Storchaka ab824222d1 Issue #25011: rlcomplete now omits private and special attribute names unless
the prefix starts with underscores.
2015-09-27 13:43:50 +03:00
Benjamin Peterson 81520b0bed merge 3.5 2015-09-27 02:05:18 -07:00
Benjamin Peterson e0daa86ce9 merge 3.4 2015-09-27 02:05:12 -07:00
Benjamin Peterson 1dd72e6bc5 make wikipedia link https 2015-09-27 02:05:01 -07:00
Benjamin Peterson feb8b62847 merge 3.5 2015-09-27 01:23:40 -07:00
Benjamin Peterson 16b5708471 merge 3.4 2015-09-27 01:23:35 -07:00
Benjamin Peterson c402d8dcea shorten and fix casing of title 2015-09-27 01:23:10 -07:00
Terry Jan Reedy b8aca4e491 Merge with 3.5 2015-09-24 23:14:15 -04:00
Terry Jan Reedy 0588e1ab39 Merge with 3.4 2015-09-24 23:14:02 -04:00
Terry Jan Reedy f660ce2363 Issue #25225: Condense and rewrite Idle doc section on text colors. 2015-09-24 23:13:49 -04:00
Andrew Svetlov 038b61fbb5 Merge 3.5 -> default 2015-09-24 14:36:00 +03:00
Andrew Svetlov 1c99e529dd Merge 3.4 -> 3.5 2015-09-24 14:35:16 +03:00
Andrew Svetlov 4919907774 Fix #25208: Improve "Develop with asyncio" doc page.
Patch by Benjamin Hodgson.
2015-09-24 14:32:39 +03:00
Terry Jan Reedy ac2d87a157 Merge with 3.5 2015-09-24 03:10:07 -04:00
Terry Jan Reedy 5901b00124 Merge with 3.4 2015-09-24 03:09:56 -04:00
Terry Jan Reedy 0053c47785 Issue 21995: Explain some differences between IDLE and console Python. 2015-09-24 03:09:43 -04:00
Victor Stinner 63c8907498 Merge 3.5 (codecs, issue #24894) 2015-09-24 09:04:44 +02:00
Victor Stinner 0ec69a6a41 Merge 3.4 (codecs, issue #24894) 2015-09-24 09:04:26 +02:00
Victor Stinner bfd9767e0f Issue #24894: Document the codec iso8859_11
Patch written by Prashant Tyagi.
2015-09-24 09:04:05 +02:00
Terry Jan Reedy 51c0f3e451 Merge with 3.5 2015-09-24 01:40:07 -04:00
Terry Jan Reedy 1749ce7542 Merge with 3.4 2015-09-24 01:39:48 -04:00
Terry Jan Reedy 8b5a981e02 Issue #22820: Explain need for *print* when running file from Idle editor. 2015-09-24 01:39:30 -04:00
Terry Jan Reedy e39b57b41a Merge with 3.5 2015-09-23 20:01:09 -04:00
Terry Jan Reedy 0389fccbd0 Merge with 3.4 2015-09-23 20:00:55 -04:00
Terry Jan Reedy 6e10ec5367 Issue 25224: Augment Idle doc feature list and no-subprocess section
to finish making current README.txt obsolete.
2015-09-23 20:00:33 -04:00
Terry Jan Reedy 54afac325c Merge with 3.5 2015-09-23 03:52:50 -04:00
Terry Jan Reedy 30d0433451 Merge with 3.4 2015-09-23 03:52:36 -04:00
Terry Jan Reedy 968e285a8c Issue #25219: Update doc for Idle command line options.
Some were missing and notes were not correct.
2015-09-23 03:52:23 -04:00
Martin Panter 3766ee5162 Issue #12067: Merge comparisons doc from 3.5 2015-09-23 05:41:52 +00:00
Martin Panter e52c41a714 Issue #12067: Merge comparisons doc from 3.4 into 3.5 2015-09-23 05:34:48 +00:00
Martin Panter aa0da864b8 Issue #12067: Rewrite Comparisons section in the language reference
Some of the details of comparing mixed types were incorrect or ambiguous.
NotImplemented is only relevant at a lower level than the Expressions
chapter. Added details of comparing range() objects, and default behaviour
and consistency suggestions for user-defined classes. Patch from Andy Maier.
2015-09-23 05:28:13 +00:00
Berker Peksag dd7cb10b89 Issue #25137: Add a note to whatsnew/3.5.rst for nested functools.partial calls
Also, properly skip the test_nested_optimization test for partial subclasses
and add a test for the suggested usage.
2015-09-22 13:08:42 +03:00
Berker Peksag 9b93c6b5df Issue #25137: Add a note to whatsnew/3.5.rst for nested functools.partial calls
Also, properly skip the test_nested_optimization test for partial subclasses
and add a test for the suggested usage.
2015-09-22 13:08:16 +03:00
Victor Stinner f96418de05 Issue #24870: Optimize the ASCII decoder for error handlers: surrogateescape,
ignore and replace. Initial patch written by Naoki Inada.

The decoder is now up to 60 times as fast for these error handlers.

Add also unit tests for the ASCII decoder.
2015-09-21 23:06:27 +02:00
Victor Stinner 996572ca3f Merge 3.5 (asyncio) 2015-09-21 18:41:46 +02:00
Victor Stinner 7b58a2bb1d Merge 3.4 (asyncio) 2015-09-21 18:41:05 +02:00
Victor Stinner 5e4a7d8dc7 Issue #23630, asyncio: host parameter of loop.create_server() can now be a
sequence of strings. Patch written by Yann Sionneau.
2015-09-21 18:33:43 +02:00
Victor Stinner a6d5130c4d Merge 3.5 (asyncio doc) 2015-09-21 18:28:04 +02:00
Victor Stinner 04ce06b612 Issue #25114: Adjust versionchanged in the doc 2015-09-21 18:27:52 +02:00
Victor Stinner 385c75f8d4 Merge 3.5 (asyncio) 2015-09-21 18:08:27 +02:00
Victor Stinner d1fcca8ada Merge 3.4 (asyncio) 2015-09-21 18:08:06 +02:00
Victor Stinner f7dc7fb74d Issue #25114, asyncio: add ssl_object extra info to SSL transports
This info is required on Python 3.5 and newer to get specific information on
the SSL object, like getting the binary peer certificate (instead of getting
it as text).
2015-09-21 18:06:17 +02:00
Berker Peksag 33ffc055c8 Issue #23484: Document differences between synchronization primitives of
threading and multiprocessing modules.

In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.

This commit also improves documentation of Lock and RLock.

Patch by Davin Potts.
2015-09-21 06:52:11 +03:00
Berker Peksag 64c8befaed Issue #23484: Document differences between synchronization primitives of
threading and multiprocessing modules.

In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.

This commit also improves documentation of Lock and RLock.

Patch by Davin Potts.
2015-09-21 06:51:45 +03:00
Berker Peksag 407c497e83 Issue #23484: Document differences between synchronization primitives of
threading and multiprocessing modules.

In multiprocessing, the name of the first parameter of the acquire methods is
"block", but "blocking" in threading.

This commit also improves documentation of Lock and RLock.

Patch by Davin Potts.
2015-09-21 06:50:55 +03:00
Berker Peksag ad8dcb703e Issue #25169: os.getppid() is available on Windows since Python 3.2.
Patch by Bar Harel.
2015-09-21 06:13:36 +03:00
Berker Peksag b216896df4 Issue #25169: os.getppid() is available on Windows since Python 3.2.
Patch by Bar Harel.
2015-09-21 06:13:14 +03:00
Berker Peksag 44e4b11dd8 Issue #25169: os.getppid() is available on Windows since Python 3.2.
Patch by Bar Harel.
2015-09-21 06:12:50 +03:00
Benjamin Peterson 57b6579315 merge 3.5 (#25145) 2015-09-20 23:18:58 +05:00
Benjamin Peterson fc2fb0f621 merge 3.4 (#25145) 2015-09-20 23:18:51 +05:00
Benjamin Peterson 16ad5cfad3 remove reference to PyGoogle (#25145)
Patch by Bar Harel.
2015-09-20 23:17:41 +05:00
Benjamin Peterson 95acbcedc4 use a more modern UA (#25145) 2015-09-20 23:16:45 +05:00
Martin Panter b7d276e647 Issue #25176: Merge cgi.parse_qsl link from 3.5 2015-09-20 01:11:50 +00:00
Martin Panter 926be1b0ec Issue #25176: Merge cgi.parse_qsl link from 3.4 into 3.5 2015-09-20 01:07:41 +00:00
Martin Panter cebfdac32c Issue #25176: Correct link for cgi.parse_qsl; patch from Ville Skyttä 2015-09-20 00:28:50 +00:00
Brett Cannon 6631b550d6 Merge for issue #25133 2015-09-18 15:21:22 -07:00
Brett Cannon aa00324f73 Make it clearer that the constants in the selectors docs are module-level 2015-09-18 15:21:02 -07:00
Ethan Furman b134a2a5ae Close issue24756: clarify usage of run_docstring_examples() 2015-09-17 22:22:20 -07:00
Ethan Furman 7b51a55ecd Issue24756: clarify usage of run_docstring_examples() 2015-09-17 22:21:36 -07:00
Ethan Furman 2a5f9da56c Issue24756: clarify usage of run_docstring_examples() 2015-09-17 22:20:41 -07:00
Yury Selivanov b1a3d9ae56 Merge 3.5 2015-09-16 12:18:55 -04:00
Yury Selivanov 8e3b04c70b whatsnew/3.5: Reword bytes*.hex message 2015-09-16 12:18:29 -04:00
Victor Stinner 334536fb60 Merge 3.5 (asyncio doc) 2015-09-15 22:43:05 +02:00
Victor Stinner 60208a161d Issue #25134: Update asyncio doc for SSL on Windows
ProactorEventLoop now supports SSL.
2015-09-15 22:41:52 +02:00
Berker Peksag d7bf45f5f7 whatsnew/3.5: Add missing word "class" 2015-09-15 20:06:48 +03:00
Berker Peksag 878bc871b4 whatsnew/3.5: Add missing word "class" 2015-09-15 20:06:28 +03:00
Berker Peksag 768e0c129d Issue #25127: Fix typo in concurrent.futures.rst
Reported by Jakub Wilk.
2015-09-15 19:59:46 +03:00
Berker Peksag 61ea0aadee Issue #25127: Fix typo in concurrent.futures.rst
Reported by Jakub Wilk.
2015-09-15 19:59:26 +03:00
Berker Peksag 0b0c3b6624 Issue #25127: Fix typo in concurrent.futures.rst
Reported by Jakub Wilk.
2015-09-15 19:59:03 +03:00
Berker Peksag 9289e9038f Issue #25105: Update susp-ignored.csv to avoid false positives 2015-09-15 19:43:26 +03:00
Berker Peksag 055395eed2 Issue #25105: Update susp-ignored.csv to avoid false positives 2015-09-15 19:43:04 +03:00
Steve Dower ba5747b8bd Merge with 3.5 2015-09-13 14:41:24 -07:00
Steve Dower 9b608e539b Closes #25078: Document InstallAllUsers installer parameter default 0 2015-09-13 14:39:26 -07:00
Serhiy Storchaka 5593804f76 Fixed a typo in the -b option. 2015-09-13 21:09:36 +03:00
Serhiy Storchaka 2446eab230 Fixed a typo in the -b option. 2015-09-13 21:09:17 +03:00
Serhiy Storchaka d3b9407538 Use :menuselection: in whatsnew/3.4. 2015-09-13 21:06:40 +03:00
Serhiy Storchaka 516a1a96ee Use :menuselection: in whatsnew/3.4. 2015-09-13 21:06:06 +03:00
Serhiy Storchaka 66ad8464cf Use :menuselection: in whatsnew/3.4. 2015-09-13 21:05:37 +03:00
Yury Selivanov f0fccb585c Merge 3.5 2015-09-13 12:51:46 -04:00
Larry Hastings d5fd984a60 Merge from 3.5. 2015-09-13 16:57:16 +01:00
Yury Selivanov 69a15f1576 whatsnew/3.5: Fix typo 2015-09-13 11:52:07 -04:00
Yury Selivanov 801306bb65 whatsnew/3.5: One more edit 2015-09-13 11:40:00 -04:00
Yury Selivanov a33cb35688 whatsnew/3.5: Edits
Patch by me and Elvis Pranskevichus
2015-09-13 11:21:25 -04:00
Larry Hastings 9c51f89cd6 Merge release engineering work from Python 3.5.0. 2015-09-13 15:43:21 +01:00
Yury Selivanov 1cecec5da5 Merge 3.5 2015-09-13 08:31:07 -04:00
Yury Selivanov 73953d8670 whatsnew/3.5: Fix typo (issue #25082) 2015-09-13 08:30:58 -04:00
Yury Selivanov e148710410 Merge 3.5 2015-09-13 08:29:30 -04:00
Yury Selivanov fe369a6e0e whatsnew/3.5: Reorder stuff (issue #25082). 2015-09-13 08:29:19 -04:00
Serhiy Storchaka 48a0469862 Merge 3.5 2015-09-13 12:08:19 +03:00
Serhiy Storchaka 35a361f1af whatsnew/3.5: Fix formatting. More minor edits. 2015-09-13 12:07:54 +03:00
Yury Selivanov 5944e251df Merge 3.5 2015-09-13 01:58:09 -04:00
Yury Selivanov 3854f9e9fe whatsnew/3.5: Delete prerelease warning note.
(we'll make a couple more commits tomorrow before release)
2015-09-13 01:57:57 -04:00
Yury Selivanov cc32fbabe2 Merge 3.5 2015-09-13 01:40:46 -04:00
Yury Selivanov a7672baa73 whatsnew/3.5: Fix formatting 2015-09-13 01:40:36 -04:00
Yury Selivanov bd316c71ae Merge 3.5 2015-09-13 01:39:16 -04:00
Yury Selivanov 72dab13105 whatsnew/3.5: Tweak asyncio module section 2015-09-13 01:39:05 -04:00
Yury Selivanov f1e6faec67 Merge 3.5 2015-09-13 01:10:29 -04:00
Yury Selivanov 6d9dd756af whatsnew/3.5: More examples 2015-09-13 01:10:19 -04:00
Yury Selivanov a0c32e96b9 Merge 3.5 2015-09-13 00:29:14 -04:00
Yury Selivanov 63ae9f3b38 whatsnew/3.5: Cover asyncio changes relative to 3.4.0 2015-09-13 00:29:02 -04:00
Yury Selivanov b698b7d38c Merge 3.5 2015-09-12 23:46:50 -04:00
Yury Selivanov 239503773d whatsnew/3.5: Add some examples
Patch by Elvis Pranskevichus
2015-09-12 23:46:39 -04:00
Benjamin Peterson 70343bf47d merge 3.5 (#25076) 2015-09-12 17:21:24 -07:00
Benjamin Peterson f07422c025 merge 3.4 2015-09-12 17:21:16 -07:00
Benjamin Peterson 4019852bfc fix name of argument in docstring and the docs (closes #25076)
Patch by TAKASE Arihiro.
2015-09-12 17:20:47 -07:00
Yury Selivanov cd8f9d603e Merge 3.5 2015-09-12 17:53:42 -04:00
Yury Selivanov 7b76baeabf whatsnew/3.5: Update editor's email addresses 2015-09-12 17:53:33 -04:00
Yury Selivanov dd9114c2e4 Merge 3.5 2015-09-12 17:51:16 -04:00
Yury Selivanov 95fd26bc01 whatsnew/3.5 More edits
Patch by Elvis Praskevichus.  (+ issue #25070)
2015-09-12 17:50:58 -04:00
Yury Selivanov cd8611d572 Merge 3.5 2015-09-12 15:52:20 -04:00
Yury Selivanov 46a8b40ca8 whatsnew/3.5: Edits
Patch by Elvis Pranskevichus
2015-09-12 15:52:04 -04:00
Larry Hastings 2e789a1f1d Final touch-ups for the What's New In Python 3.5 document. 2015-09-12 17:36:44 +01:00
Larry Hastings 17e9f3b774 Backported the What's New In 3.5 from 3.5.1 to 3.5.0 (final!). 2015-09-12 17:12:36 +01:00
Serhiy Storchaka 233cdb3e9c Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:46:56 +03:00
Serhiy Storchaka 153627c111 Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:46:20 +03:00
Serhiy Storchaka 0424eaf753 Marked keystrokes with the :kbd: role.
Fixed the case of the "Ctrl-" prefixes.
2015-09-12 17:45:25 +03:00
Martin Panter 6d66b8b019 Issue #16473: Merge codecs doc and test from 3.5 2015-09-12 01:24:33 +00:00
Martin Panter 9ab96946ee Issue #16473: Merge codecs doc and test from 3.4 into 3.5 2015-09-12 01:22:17 +00:00
Martin Panter 06171bd52a Issue #16473: Fix byte transform codec documentation; test quotetabs=True
This changes the equivalent functions listed for the Base-64, hex and Quoted-
Printable codecs to reflect the functions actually used. Also mention and
test the "quotetabs" setting for Quoted-Printable encoding.
2015-09-12 00:34:28 +00:00
Martin Panter 3286031481 Merge sendfile() doc fixes from 3.5 2015-09-11 23:54:58 +00:00
Martin Panter 3133a9f5ab socket.sendfile() is a method not a module 2015-09-11 23:44:18 +00:00
Martin Panter f9b6875259 Issue #25063: socket.sendfile() does not exist in 3.4
Remove notice that was backported in revision 50527a1b769c.
2015-09-11 23:39:34 +00:00
Martin Panter c47d32caaa Issue #25043: Merge Bluetooth doc from 3.5 2015-09-11 23:19:30 +00:00
Martin Panter ba1125246c Issue #25043: Merge Bluetooth doc from 3.4 into 3.5 2015-09-11 23:19:10 +00:00
Martin Panter ea7266d7c6 Issue #25043: Document BDADDR_ and HCI_ Bluetooth socket constants
Patch from Tim Tisdall.
2015-09-11 23:14:57 +00:00
Serhiy Storchaka 4d31570837 Merge 3.5 2015-09-11 20:56:05 +03:00
Serhiy Storchaka 1c30e7ef56 whatsnew/3.5: Added missed author names. 2015-09-11 20:55:28 +03:00
Zachary Ware 3619e12a4f Merge with 3.5 2015-09-11 10:52:51 -05:00
Zachary Ware f505165d00 Merge with 3.4 2015-09-11 10:52:36 -05:00
Zachary Ware 79e5088a60 Fix grammatical error in csv docs.
Reported by Nat Dunn on docs@
2015-09-11 10:51:47 -05:00
Steve Dower 87182ab8ba Merge with 3.5 2015-09-11 08:47:55 -07:00
Steve Dower cb0afc84de Removes invalid installer options from documentation. 2015-09-11 08:47:42 -07:00
Yury Selivanov 25a2afdb2d Merge 3.5 2015-09-11 01:23:31 -04:00
Yury Selivanov dddfffeda1 whatsnew/3.5: Fix nits 2015-09-11 01:23:10 -04:00
Yury Selivanov c88acaae30 Merge 3.5 2015-09-11 00:50:54 -04:00
Yury Selivanov fd8d52b96c whatsnew/3.5: Drop empty section 2015-09-11 00:50:39 -04:00
Yury Selivanov f3d9ef9ba6 Merge 3.5 2015-09-11 00:48:45 -04:00
Yury Selivanov 4dde587405 whatsnew/3.5: Sync whatsnew with versionadded/versionchanged doc tags 2015-09-11 00:48:21 -04:00
Martin Panter b26cbf9636 Issue #25030: Merge seek() doc fixes from 3.5 2015-09-11 04:39:42 +00:00
Martin Panter 0e8e78e15d Issue #25030: Merge seek() doc fixes from 3.4 into 3.5 2015-09-11 04:39:31 +00:00
Martin Panter db4220ea09 Issue #25030: Do not document seek() as if it accepts keyword arguments
Patch from Shiyao Ma.
2015-09-11 03:58:30 +00:00
Yury Selivanov 4b55a9300a Merge 3.5 2015-09-10 23:37:16 -04:00
Yury Selivanov 508a81e094 whatsnew/3.5: Second pass over NEWS entries 2015-09-10 23:37:06 -04:00
Martin Panter b7ccb5d6c3 Issue #25022: Merge susp-ignored.csv from 3.5 2015-09-11 02:47:13 +00:00
Martin Panter 02918caeb8 Issue #25022: Merge susp-ignored.csv from 3.4 into 3.5 2015-09-11 02:46:54 +00:00
Martin Panter 91c03e090a Issue #25022: Avoid warning about unused suspicious rule 2015-09-11 02:45:10 +00:00
Martin Panter 52233a01ed Issue #24984: Merge BTPROTO_SCO doc fix from 3.5 2015-09-11 02:30:08 +00:00
Martin Panter daabed5d49 Issue #24984: Merge BTPROTO_SCO doc fix from 3.4 into 3.5 2015-09-11 02:29:35 +00:00
Martin Panter d8302624c9 Issue #24984: BTPROTO_SCO supports only bytes objects 2015-09-11 02:23:41 +00:00
Yury Selivanov 9026924604 Merge 3.5 2015-09-10 21:45:08 -04:00
Yury Selivanov 79cf1b04a3 whatsnew/3.5: Reformat code examples 2015-09-10 21:44:59 -04:00
Yury Selivanov c545f1ce8f Merge 3.5 2015-09-10 21:27:04 -04:00
Yury Selivanov a88cd646d1 whatsnew/3.5: Another editing pass
Patch by Elvis Pranskevichus.
2015-09-10 21:26:54 -04:00
Yury Selivanov 977afe5ac1 Merge 3.5 2015-09-10 19:02:34 -04:00
Yury Selivanov 3b76552538 whatsnew/3.5: Fix refs in the importlib section 2015-09-10 19:02:24 -04:00
Yury Selivanov 8aa184692e Merge 3.5 2015-09-10 18:59:52 -04:00
Yury Selivanov 1c73e69ec5 whatsnew/3.5: Clarify types.coroutine & types.CoroutineType 2015-09-10 18:59:42 -04:00
Yury Selivanov a8379ea639 Merge 3.5 2015-09-10 18:32:00 -04:00
Yury Selivanov 83c6d729d4 whatsnew/3.5: Don't mention pyio.FileIO 2015-09-10 18:31:49 -04:00
Yury Selivanov cbfee5a171 Merge 3.5 (issue #22980, whatsnew/3.5) 2015-09-10 18:27:17 -04:00
Yury Selivanov c973990f4e whatsnew/3.5: Describe changes in issue #22980
Initial patch by Larry Hastings.
2015-09-10 18:26:44 -04:00
Yury Selivanov 6bb33d6ac3 Merge 3.5 2015-09-10 18:04:45 -04:00
Yury Selivanov 5c3111e319 whatsnew/3.5: More edits -- use articles consistently; fix refs 2015-09-10 18:04:35 -04:00
Yury Selivanov f0ac36c7f8 Merge 3.5 2015-09-10 17:35:51 -04:00
Yury Selivanov ce917c731d whatsnew/3.5: Editorialization pass on library section
Patch by Elvis Pranskevichus
2015-09-10 17:35:38 -04:00
Zachary Ware 5480dea548 Closes #25022 (again): Merge with 3.5 2015-09-10 16:12:48 -05:00
Zachary Ware 31ce9ac867 Issue #25022: Merge with 3.4 2015-09-10 16:08:21 -05:00
Zachary Ware 3d9a9d47a8 Issue #25022: Add NEWS, fix docs to not mention the old example. 2015-09-10 15:50:58 -05:00
Guido van Rossum 7466e6bf66 Add the original author of profile.py back to the docs, at his request. (Merge) 2015-09-10 12:12:23 -07:00
Guido van Rossum 6eb740b12a Add the original author of profile.py back to the docs, at his request. 2015-09-10 12:12:01 -07:00
Berker Peksag 91c4e603af Fix typos and improve markup in typing.rst. 2015-09-10 21:56:11 +03:00
Berker Peksag 573e2cd383 Fix typos and improve markup in typing.rst. 2015-09-10 21:55:50 +03:00
Berker Peksag 4b2d7f0bd0 Use print function in mock docs. 2015-09-10 21:42:18 +03:00
Berker Peksag 619b283d85 Use print function in mock docs. 2015-09-10 21:41:52 +03:00
Berker Peksag 920f6db10b Use print function in mock docs. 2015-09-10 21:41:15 +03:00
Guido van Rossum 06ea309ea7 Restore doc updates to typing.rst by Ivan Levkivskyi and Daniel Andrade Groppe. 2015-09-10 10:54:10 -07:00
Guido van Rossum 2a19d956ab Restore doc updates to typing.rst by Ivan Levkivskyi and Daniel Andrade Groppe. 2015-09-10 10:52:11 -07:00
Yury Selivanov 4f1f6e4618 Merge 3.5 2015-09-09 22:46:51 -04:00
Yury Selivanov 88d073dad5 whatsnew/3.5: Mention issue 22464
(About the only new feature that was worth mentioning in
whatsnew without a NEWS entry)
2015-09-09 22:46:40 -04:00
Guido van Rossum 0db1c42c65 Update typing docs based on a patch by Daniel Andrade Groppe. 2015-09-09 12:01:36 -07:00
Guido van Rossum 2e7da04b92 Update typing docs based on a patch by Ivan Levkivskyi (but much rewritten by me). 2015-09-09 11:44:39 -07:00
Guido van Rossum ac062f7935 Merge typing docs cleanup diff by Zach Ware from default back into 350 branch. 2015-09-09 11:21:18 -07:00
Yury Selivanov 0ae505e7d3 Merge 3.5 2015-09-09 13:50:12 -04:00
Yury Selivanov ef05af5941 whatsnew/3.5: Merge argparse entries 2015-09-09 13:49:29 -04:00
Yury Selivanov cbed49550a Merge 3.5 2015-09-09 12:23:18 -04:00
Yury Selivanov 336b37b1dd whatsnew/3.5: First pass over NEWS is done. 2015-09-09 12:23:01 -04:00
Berker Peksag df326eb1bb Fix versionchanged directive in datetime.rst 2015-09-09 18:32:50 +03:00
Yury Selivanov 1030c10c88 Merge 3.5 2015-09-09 09:32:17 -04:00
Yury Selivanov f03d50c5da docs.compileall: Fix markup (rendering was off, noticed by Berker Peksag) 2015-09-09 09:32:07 -04:00
Yury Selivanov 095492a980 Merge 3.5 2015-09-09 09:27:46 -04:00
Yury Selivanov 1f4d4705bd whatsnew/3.5: Fix nits per Berker Peksag suggestion 2015-09-09 09:27:29 -04:00
Martin Panter 98b30cb18a Issue #24984: Merge 3.5 into 3.6 2015-09-09 06:50:07 +00:00
Martin Panter 24a9bd0d39 Issue #24984: Merge 3.4 into 3.5 2015-09-09 06:48:55 +00:00
Martin Panter d1a98587fe Issue #24984: Document AF_BLUETOOTH socket address formats
Patch from Tim Tisdall.
2015-09-09 06:47:58 +00:00
Martin Panter 3f560c16e5 Merge 3.5 into 3.6 2015-09-09 06:28:08 +00:00
Martin Panter 6088b7bd49 Merge 3.4 into 3.5 2015-09-09 06:27:43 +00:00
Martin Panter 9499413508 os.sendfile(headers=None, trailers=None) arguments are not actually accepted
Needs to be tested on a BSD.
2015-09-09 05:29:24 +00:00
Martin Panter 696dbb1568 Merge 3.6 branches 2015-09-09 03:46:24 +00:00
Martin Panter 6a563b6839 Merge 3.5 branches 2015-09-09 03:45:58 +00:00
Yury Selivanov a5f1563441 Merge 3.5 2015-09-08 23:41:22 -04:00
Yury Selivanov 0ac5f28bee whatsnew/3.5: Reformat PEP 475 to render in less space; add "ugly" ex in 465 2015-09-08 23:40:46 -04:00
Yury Selivanov a6cf627f93 Merge 3.5 2015-09-08 23:28:17 -04:00
Yury Selivanov 40301c04eb whatsnew/3.5: Better formatting; add traceback to significantly improved stdlib 2015-09-08 23:28:06 -04:00
Martin Panter a122b5a1fd Issue #23738: Merge 3.5 into 3.6 2015-09-09 03:01:17 +00:00
Martin Panter 5127cdea05 Merge 3.5 branches 2015-09-09 02:51:53 +00:00
Yury Selivanov 9b82a99a64 Merge 3.5 2015-09-08 22:40:45 -04:00
Yury Selivanov 100fc3fbc2 whatsnew/3.5: Fix library news till Py3.5a1. Update other docs. 2015-09-08 22:40:30 -04:00
Martin Panter 0ff89099c7 Issue #23738: Merge 3.4 into 3.5 2015-09-09 01:56:53 +00:00
Martin Panter bf19d16950 Issue #23738: Document and test actual keyword parameter names
Also fix signature because os.utime(..., ns=None) is not allowed.
2015-09-09 01:01:13 +00:00
Yury Selivanov 1638bdfa1a Merge 3.5 2015-09-08 15:33:33 -04:00
Yury Selivanov dfcfe13300 docs/whatsnew/3.5: Update peps section
Patch by Elvis Pranskevichus.
2015-09-08 15:33:15 -04:00
Martin Panter 015e3f65bc Issue #23406: Merge 3.5 into 3.6 2015-09-07 04:05:57 +00:00
Martin Panter 6cb196306a Issue #23406: Remove specific line number from susp-ignored.csv 2015-09-07 03:40:17 +00:00
Martin Panter 3368eb7c25 Issue #23406: Merge 3.5 into 3.6 2015-09-07 02:12:08 +00:00
Martin Panter 06dc2fa3f6 Issue #23406: Merge 3.4 into 3.5 2015-09-07 02:10:59 +00:00
Martin Panter 7f02d6d0d9 Issue #23406: Clarify documentation on multiplying a sequence
Patch from Matheus Vieira Portela.
2015-09-07 02:08:55 +00:00
Alexander Belopolsky 7827a5b7c2 Closes Issue#22241: timezone.utc name is now plain 'UTC', not 'UTC-00:00'. 2015-09-06 13:07:21 -04:00
R David Murray d3639dc21a Merge: #24998: fix cut and paste error in subprocess example. 2015-09-04 10:03:03 -04:00
R David Murray d529ebb438 Merge: #24998: fix cut and paste error in subprocess example. 2015-09-04 10:02:27 -04:00
R David Murray 17227a7334 #24998: fix cut and paste error in subprocess example. 2015-09-04 10:01:19 -04:00
Victor Stinner 1101c58737 Merge 3.5 (asyncio doc) 2015-09-02 15:41:08 +02:00
Victor Stinner 44a25faf7c Merge 3.4 (asyncio doc) 2015-09-02 15:40:56 +02:00
Victor Stinner 5492d358e4 asyncio doc: fix subprocess sections 2015-09-02 15:39:01 +02:00
Raymond Hettinger 799b05b052 merge 2015-09-01 02:33:20 -07:00
Raymond Hettinger 502bf511b3 Improve tutorial suggestion for looping techniques 2015-09-01 02:33:02 -07:00
Yury Selivanov c994cd21de Merge 3.5 2015-08-31 11:45:11 -04:00
Yury Selivanov c52e41d6b9 Make asyncio provisional 2015-08-31 11:42:31 -04:00
Martin Panter 81174d749a Issue #24952: Merge 3.5 into 3.6 2015-08-31 03:26:46 +00:00
Martin Panter e721b7cb8b Issue #24952: Merge 3.4 into 3.5 2015-08-31 03:25:34 +00:00
Martin Panter 31e7f50d4c Issue #24952: Clarify default argument of stack_size() in threading, _thread
Patch from Mattip.
2015-08-31 03:15:52 +00:00
Benjamin Peterson 902adbb393 merge 3.5 (#24963) 2015-08-30 14:42:59 -07:00
Benjamin Peterson 1498461a7a merge 3.4 (#24963) 2015-08-30 14:42:49 -07:00
Benjamin Peterson 0612ffe8c8 fix spelling that was a bit confused (closes #24963) 2015-08-30 14:42:38 -07:00
Raymond Hettinger 7f9f27d767 merge 2015-08-30 09:17:02 -07:00
Raymond Hettinger 9157545c11 merge 2015-08-30 09:15:36 -07:00
Raymond Hettinger 7a3602e7cf Issue #24931: Resolve __dict__ conflict in namedtuple subclasses. 2015-08-30 09:13:48 -07:00
Zachary Ware 46c9c0d61c Issue #24272: Merge with 3.5 2015-08-29 22:40:37 -05:00
Zachary Ware ce50802679 Issue #24272: Remove usage of default reST role from typing docs 2015-08-29 22:39:47 -05:00
Zachary Ware e2f2554d5e Closes #24962: Merge with 3.5 2015-08-29 22:27:12 -05:00
Zachary Ware 072d432f3c Issue #24962: Merge 3.4 2015-08-29 22:26:54 -05:00
Zachary Ware 1a83746418 Issue #24962: Remove space from filename 2015-08-29 22:25:04 -05:00
Alexander Belopolsky 357cb986b2 Fixed typos in TZ format description 2015-08-28 16:56:45 -04:00
Zachary Ware a51ffd3099 Closes #24947: Merge with 3.5 2015-08-27 15:55:48 -05:00
Zachary Ware dcc47c6064 Issue #24947: Merge 3.4 2015-08-27 15:55:24 -05:00
Zachary Ware 5e580da0b6 Issue #24947: Fix grammar in asyncio doc
Patch by tagatac
2015-08-27 15:54:39 -05:00
Yury Selivanov 7f344a89ef Merge 3.5 2015-08-26 13:04:06 -04:00
Yury Selivanov beaa5094a2 docs: Better comment for tp_as_async slot 2015-08-26 13:03:57 -04:00
Martin Panter ccf426e7e7 Issue #24808: Merge 3.5 into 3.6 2015-08-25 05:41:51 +00:00
Martin Panter 36f22a2820 Issue #24808: Merge 3.4 into 3.5; adjust new tp_as_async field 2015-08-25 05:25:21 +00:00
Martin Panter 78d5033337 Issue #24808: Update the documentation of some PyTypeObject fields
Patch by Joseph Weston.
2015-08-25 05:06:39 +00:00
Larry Hastings f962473149 Merge. 2015-08-24 12:59:38 -07:00
Larry Hastings f51fd7bc1a Merge. 2015-08-24 12:58:57 -07:00
Larry Hastings d5b129c9a1 Fix for one-letter type in What's New In Python 3.5. 2015-08-24 12:49:22 -07:00
R David Murray 4c4cfad2df Merge: #24926: Fix typo in example. 2015-08-24 12:56:24 -04:00
R David Murray 7d9376f2d8 Merge: #24926: Fix typo in example. 2015-08-24 12:55:47 -04:00
R David Murray 87cbfb20fb #24926: Fix typo in example. 2015-08-24 12:55:03 -04:00
Robert Collins d949e5b057 Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
2015-08-24 12:15:49 +12:00
Robert Collins 478eadc5f3 Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
2015-08-24 12:15:05 +12:00
Robert Collins a2b0055396 Issue #22812: Fix unittest discovery examples.
Patch from Pam McA'Nulty.
2015-08-24 12:14:28 +12:00
Yury Selivanov df6f8bf47b Merge 3.5 2015-08-19 09:53:41 -04:00
Yury Selivanov de11561862 Further improve os.path.commonprefix() docs.
Patch by Serhiy Storchaka.
2015-08-19 09:53:28 -04:00
Benjamin Peterson ac48a4173d Merge 3.5 (#24883) 2015-08-17 23:38:55 -07:00
Benjamin Peterson 8e205f7b4f merge 3.4 (#24883) 2015-08-17 23:38:46 -07:00
Benjamin Peterson 2053aa1193 'Py_Buffer' should be 'Py_buffer' (closes #24883) 2015-08-17 23:38:34 -07:00
Yury Selivanov 02aa3426d3 Merge 3.5 2015-08-17 23:43:54 -04:00
Yury Selivanov 80ac11f95f docs: Improve docs for os.path.commonprefix 2015-08-17 23:43:43 -04:00
Ned Deily 84086acb47 Issue #24079: merge from 3.5 2015-08-17 22:15:54 -04:00
Ned Deily d61714d236 Issue #24079: merge from 3.4 2015-08-17 22:11:57 -04:00
Ned Deily eca0445733 Issue #24079: Improve description of the text and tail attributes for
ElementTree Element objects.  Initial patch by Martin Panter.
2015-08-17 22:11:17 -04:00
Yury Selivanov d11223e0d6 Merge 3.5 2015-08-17 13:04:49 -04:00
Yury Selivanov 5fbad3c9f2 docs: Clarify that gi_yieldfrom was first added in 3.5 2015-08-17 13:04:41 -04:00
Yury Selivanov 9e35cac3a1 Merge 3.5 2015-08-17 13:02:53 -04:00
Yury Selivanov c135f0a850 docs: Fix inspect docs re gi_yieldfrom 2015-08-17 13:02:42 -04:00
Raymond Hettinger 47d159f522 Issue #24379: Add operator.subscript() as a convenience for building slices. 2015-08-16 19:43:34 -07:00
Raymond Hettinger 2a75e8f958 Issue #24842: Cross-reference types.SimpleNamespace from the namedtuple docs 2015-08-16 08:32:01 -07:00
Larry Hastings 721b9aab10 One-character typo fix.
os.path.commonprefix always returns a valid *path*, not a valid *patch*.
2015-08-14 08:03:30 -07:00
Antoine Pitrou aa525d0cae Issue #16554: fix description for MAKE_CLOSURE. Initial patch by Daniel Urban. 2015-08-13 20:37:40 +02:00
Antoine Pitrou 5e8d47f6ab Issue #16554: fix description for MAKE_CLOSURE. Initial patch by Daniel Urban. 2015-08-13 20:37:28 +02:00
Antoine Pitrou 4ce4f974da Issue #16554: fix description for MAKE_CLOSURE. Initial patch by Daniel Urban. 2015-08-13 20:37:08 +02:00
Robert Collins 3286718708 Issue #23725: Overhaul tempfile docs.
Patch from Zbigniew Jędrzejewski-Szmek.
2015-08-13 11:38:44 +12:00
Robert Collins 2ebdc13d11 Issue #23725: Overhaul tempfile docs.
Patch from Zbigniew Jędrzejewski-Szmek.
2015-08-13 11:38:02 +12:00
Robert Collins df395991f6 Issue #9232: Support trailing commas in function declarations.
For example, "def f(*, a = 3,): pass" is now legal.

Patch from Mark Dickinson.
2015-08-12 08:00:06 +12:00
Robert Collins dfa95c9a8f Issue #20059: urllib.parse raises ValueError on all invalid ports.
Patch by Martin Panter.
2015-08-10 09:53:30 +12:00
Steve Dower 0f363ff18e Merge with 3.5 2015-08-08 09:13:26 -07:00
Stefan Krah 67c3c5c90f Merge #23756. 2015-08-08 14:34:17 +02:00
Stefan Krah 70e543b266 Issue #23756: Clarify the terms "contiguous" and "bytes-like object".
Patch by Martin Panter.
2015-08-08 14:33:28 +02:00
Stefan Krah 5f35725fb8 Merge #15944. 2015-08-08 13:38:59 +02:00
Stefan Krah 0c51595a78 Issue #15944: memoryview: Allow arbitrary formats when casting to bytes.
Original patch by Martin Panter.
2015-08-08 13:38:10 +02:00
Robert Collins 8e9f9852be Issue #4395: Better testing and documentation of binary operators.
Patch by Martin Panter.
2015-08-07 10:34:23 +12:00
Robert Collins 00cf3c394a Issue #4395: Better testing and documentation of binary operators.
Patch by Martin Panter.
2015-08-07 10:32:15 +12:00
Robert Collins d84b29f805 Issue #4395: Better testing and documentation of binary operators.
Patch by Martin Panter.
2015-08-07 10:22:54 +12:00
Robert Collins dadf33a2b4 Issue #24531: Document that encoding lines cannot follow non-comment lines.
Patch from Terry Reedy
2015-08-06 21:14:48 +12:00
Robert Collins 888a6729da Issue #24531: Document that encoding lines cannot follow non-comment lines.
Patch from Terry Reedy
2015-08-06 21:14:34 +12:00
Robert Collins 0b2833eaf2 Issue #24531: Document that encoding lines cannot follow non-comment lines.
Patch from Terry Reedy
2015-08-06 21:08:44 +12:00
Zachary Ware 070bd62cfa Closes #21279: Merge with 3.5 2015-08-06 00:05:13 -05:00
Zachary Ware d987a81d29 Issue #21279: Merge with 3.4 2015-08-06 00:04:23 -05:00
Zachary Ware 79b98df023 Issue #21279: Flesh out str.translate docs
Initial patch by Kinga Farkas, Martin Panter, and John Posner.
2015-08-05 23:54:15 -05:00
Yury Selivanov d38718d419 Merge 3.5 2015-08-05 19:02:03 -04:00
Yury Selivanov 7d6adab716 whatsnew/3.5: Mention new ssl memory bio 2015-08-05 19:01:51 -04:00
Yury Selivanov 4aac06ae50 Merge 3.5 2015-08-05 12:46:40 -04:00
Yury Selivanov 40c0ce472e whatsnew/3.5: Mention 'typing' module docs in seealso for pep 484 2015-08-05 12:46:29 -04:00
Nick Coghlan 94b17d7685 Merge issue #24129 from 3.5 2015-08-05 23:24:55 +10:00
Nick Coghlan 73c6f64a5e Merge issue #24129 from 3.4 2015-08-05 23:23:24 +10:00
Nick Coghlan 91e561aa77 Issue #24129: Clarify reference docs for name resolution.
This includes removing the assumption that readers will be familiar with the
name resolution scheme Python used prior to the introduction of lexical
scoping for function namespaces.

Patch by Ivan Levkivskyi.
2015-08-05 23:07:24 +10:00
Guido van Rossum a8e870c720 Fix trailing ws (merge from 3.5). 2015-08-05 12:26:28 +02:00
Guido van Rossum 9db397c5c1 Fix trailing ws. 2015-08-05 12:26:07 +02:00
Guido van Rossum a910cff84e Merge docs for typing.py from 3.5 into default branch. 2015-08-05 12:24:21 +02:00
Guido van Rossum cd2ac97dfd Merge docs for typing.py from accidental branch. 2015-08-05 12:21:40 +02:00
Robert Collins 8c81711d6c Issue #20769: Improve reload() docs. Patch by Dorian Pula. 2015-08-05 08:32:11 +12:00
Robert Collins b3ca31f5f1 Issue #20769: Improve reload() docs. Patch by Dorian Pula. 2015-08-05 08:28:53 +12:00
Robert Collins 1ae28d2ff3 Issue #20769: Improve reload() docs. Patch by Dorian Pula. 2015-08-05 08:20:53 +12:00
Yury Selivanov afe0ab6d24 Merge 3.5 (whatsnew) 2015-08-04 12:52:32 -04:00
Yury Selivanov a5a0062627 whatsnew: Add pep 448 to new syntax features section 2015-08-04 12:52:16 -04:00
Yury Selivanov 480a770138 Merge 3.5 (whatsnew) 2015-08-04 12:47:12 -04:00
Yury Selivanov 5df36af8b7 whatsnew/3.5: Briefly mention PEP 484 2015-08-04 12:46:57 -04:00
Yury Selivanov e8b086374b Merge 3.5 (whatsnew) 2015-08-04 12:42:36 -04:00
Yury Selivanov 216d999345 whatsnew/3.5: Mention PEP 448 2015-08-04 12:42:20 -04:00
Guido van Rossum 69afdda3a5 Issue #24272: Initial docs for typing.py (PEP 484). (Merge from 3.5.)
By Daniel Andrade Groppe and Ivan Levkivskyi.
2015-08-03 22:39:12 +02:00
Guido van Rossum eb184e0106 Issue #24272: Initial docs for typing.py (PEP 484).
By Daniel Andrade Groppe and Ivan Levkivskyi.
2015-08-03 22:35:46 +02:00
Yury Selivanov 62f27b5b98 whatsnew/3.5,3.6: Mention that 'async' is a bad name for modules 2015-08-03 14:57:21 -04:00
Yury Selivanov 13b74aef62 whatsnew/3.5: Mention that 'async' is a bad name for modules 2015-08-03 14:55:58 -04:00
Guido van Rossum 96860ee8d0 Remove warning about asyncio being provisional (it's not in 3.5 and up; merge from 3.5). 2015-08-02 15:51:46 +02:00
Guido van Rossum 75ead2b578 Remove warning about asyncio being provisional (it's not in 3.5 and up). 2015-08-02 15:50:27 +02:00
Yury Selivanov 6a014d3494 Merge 3.5 2015-08-01 16:19:49 -04:00
Yury Selivanov 75b5ab5770 docs: Fix productionlist for async def functions 2015-08-01 16:19:36 -04:00
Berker Peksag fa3922cfd0 Issue #13248: Delete remaining references of inspect.getargspec().
Noticed by Yaroslav Halchenko.
2015-07-31 04:11:29 +03:00
Terry Jan Reedy cd111d5af8 Merge with 3.5 2015-07-30 16:44:55 -04:00
Terry Jan Reedy 659fcb0a8d Merge with 3.4 2015-07-30 16:44:41 -04:00
Terry Jan Reedy 30f1f67248 Issue #13884: Idle: Remove tearoff lines from menus. Patch by Roger Serwy. 2015-07-30 16:44:22 -04:00
Berker Peksag 4de1c1a9df Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.
It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().

Patch by Nick Weinhold.
2015-07-30 18:27:04 +03:00
Berker Peksag 7e94e8ea4b Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.
It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().

Patch by Nick Weinhold.
2015-07-30 18:26:35 +03:00
Berker Peksag 41ca828580 Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.
It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode().

Patch by Nick Weinhold.
2015-07-30 18:26:10 +03:00
Berker Peksag 317ccf3cd4 Issue #15582: Add a whatsnew entry for inspect.getdoc() changes in 3.5.
Patch by Martin Panter.
2015-07-30 18:06:30 +03:00
Berker Peksag 4333d8bad7 Issue #15582: Add a whatsnew entry for inspect.getdoc() changes in 3.5.
Patch by Martin Panter.
2015-07-30 18:06:09 +03:00
Berker Peksag eb2bdfe72c Issue #24109: Include Tools/scripts/diff.py instead of duplicating it in difflib documentation.
Patch by Keith Gray.
2015-07-30 00:04:11 +03:00
Berker Peksag 707deb9df4 Issue #24109: Include Tools/scripts/diff.py instead of duplicating it in difflib documentation.
Patch by Keith Gray.
2015-07-30 00:03:48 +03:00
Jason R. Coombs ada5578f95 Merge with 3.5 for Issue #24729 2015-07-29 14:29:47 -04:00
Jason R. Coombs 0598da39ec Merge with 3.4 for Issue #24729 2015-07-29 14:29:26 -04:00
Jason R. Coombs dcf841b78e Merge 2015-07-29 14:25:58 -04:00
Robert Collins 8ed4818289 Issue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan. 2015-07-30 06:20:21 +12:00
Robert Collins f8d5063645 Issue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan. 2015-07-30 06:16:46 +12:00
Robert Collins bd4dd54737 Issue #23589: Remove duplicate sentence from the FAQ. Patch by Yongzhi Pan. 2015-07-30 06:14:32 +12:00
Jason R. Coombs 842c07414e Issue #24729: Correct reference to open function. 2015-07-29 14:04:36 -04:00
Robert Collins d32a944037 Issue #23254: Document how to close the TCPServer listening socket.
Patch from Martin Panter.
2015-07-29 12:55:33 +12:00
Robert Collins f7e3b5e153 Issue #23254: Document how to close the TCPServer listening socket.
Patch from Martin Panter.
2015-07-29 12:53:30 +12:00
Robert Collins 1ee9283254 Issue #23254: Document how to close the TCPServer listening socket.
Patch from Martin Panter.
2015-07-29 12:52:40 +12:00
Victor Stinner 9f0b5e7097 Merge 3.5 (doc) 2015-07-29 02:29:54 +02:00
Victor Stinner ace8848df6 What's New in Python 3.5: document os.urandom() changes 2015-07-29 02:28:32 +02:00
Victor Stinner a1d9fa326c Merge 3.5 (doc) 2015-07-29 01:41:34 +02:00
Victor Stinner 988101364a What's New in Python 3.5: document socket.sendall() change on timeout 2015-07-29 01:41:25 +02:00
Victor Stinner 5019d55b52 Merge 3.5 (doc) 2015-07-29 01:39:30 +02:00
Victor Stinner 287452eeaf What's New in Python 3.5: Document ssl methods change on timeout 2015-07-29 01:39:13 +02:00
Victor Stinner e036611aab Merge 3.5 (doc) 2015-07-29 01:21:19 +02:00
Victor Stinner 6752d65daf What's New in Python 3.5: move PEP 475 doc 2015-07-29 01:11:10 +02:00
Alessandro Cucci d8de44b6b3 Issue #24729: Update tutorial to match implementation. 2015-07-28 21:00:10 +02:00
Berker Peksag 384d6e5d55 Issue #24420: Fix documentation regression introduced by f0a00ee094ff.
These functions accept same arguments as subprocess.Popen().

Patch by Martin Panter.
2015-07-25 14:27:32 +03:00
Berker Peksag bf1d4b6d7d Issue #24420: Fix documentation regression introduced by f0a00ee094ff.
These functions accept same arguments as subprocess.Popen().

Patch by Martin Panter.
2015-07-25 14:27:07 +03:00
Berker Peksag 8028769852 Issue #24713: Use importlib.reload() in import reference document.
imp.reload() was deprecated in Python 3.4 and changed to call
importlib.reload().

Patch by Petr Viktorin.
2015-07-25 13:03:30 +03:00
Berker Peksag a1bddadddd Issue #24713: Use importlib.reload() in import reference document.
imp.reload() was deprecated in Python 3.4 and changed to call
importlib.reload().

Patch by Petr Viktorin.
2015-07-25 13:03:08 +03:00
Berker Peksag 7e732a7181 Issue #24713: Use importlib.reload() in import reference document.
imp.reload() was deprecated in Python 3.4 and changed to call
importlib.reload().

Patch by Petr Viktorin.
2015-07-25 13:02:37 +03:00
Robert Collins c6fde85c68 Add versionchanged information for mock_open. 2015-07-24 04:10:49 +12:00
Robert Collins 7039839895 Add versionchanged information for mock_open. 2015-07-24 04:10:27 +12:00
Robert Collins f79dfe3f25 Add versionchanged information for mock_open. 2015-07-24 04:09:59 +12:00
Robert Collins 5869185381 Issue #21750: Further fixup to be styled like other mock APIs. 2015-07-24 03:49:01 +12:00
Robert Collins 88ba360c88 Issue #21750: Further fixup to be styled like other mock APIs. 2015-07-24 03:48:45 +12:00
Robert Collins ca647ef60a Issue #21750: Further fixup to be styled like other mock APIs. 2015-07-24 03:48:20 +12:00
Yury Selivanov 5661316e4d Sync NEWS (re removed inspect.getargspec and inspect.getmoduleinfo) 2015-07-23 17:51:34 +03:00
Yury Selivanov 6dfbc5d98e Issue #13248: Remove inspect.getmoduleinfo() from 3.6 (deprecated in 3.3) 2015-07-23 17:49:00 +03:00
Yury Selivanov f1b5ccb993 Issue #13248: Remove inspect.getargspec from 3.6 (deprecated from 3.0) 2015-07-23 17:36:02 +03:00
Robert Collins 6afa84cfed Remove line numbers from unittest in susp-ignored. 2015-07-23 08:09:05 +12:00
Robert Collins 943ddac142 Remove line numbers from unittest in susp-ignored. 2015-07-23 08:08:59 +12:00
Robert Collins 80e4f30e64 Remove line numbers from unittest in susp-ignored. 2015-07-23 08:08:38 +12:00
Robert Collins cb4a6c1889 Merge unittest docs suspicious fix. 2015-07-23 07:32:39 +12:00
Robert Collins 6cd5635333 Merge unittest docs suspicious fix. 2015-07-23 07:32:27 +12:00
Robert Collins 16dd210543 Fix suspicious after the unittest docs change. 2015-07-23 07:07:07 +12:00
Robert Collins 8b73e6197e Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero. 2015-07-23 06:40:13 +12:00
Robert Collins 38de40db00 Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero. 2015-07-23 06:39:06 +12:00
Robert Collins e02f6c20ff Issue #22153: Improve unittest docs. Patch from Martin Panter and evilzero. 2015-07-23 06:37:26 +12:00
Yury Selivanov 3f1701a1fb Merge 3.5 (Issue #24619) 2015-07-22 13:38:18 +03:00
Yury Selivanov 8fb307cd65 Issue #24619: New approach for tokenizing async/await.
This commit fixes how one-line async-defs and defs are tracked
by tokenizer.  It allows to correctly parse invalid code such
as:

>>> async def f():
...     def g(): pass
...     async = 10

and valid code such as:

>>> async def f():
...     async def g(): pass
...     await z

As a consequence, is is now possible to have one-line
'async def foo(): await ..' functions:

>>> async def foo(): return await bar()
2015-07-22 13:33:45 +03:00
Zachary Ware cafc34fa3d Merge with 3.5 2015-07-21 22:50:54 -05:00