Commit Graph

1995 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Larry Hastings f962473149 Merge. 2015-08-24 12:59:38 -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
Raymond Hettinger 47d159f522 Issue #24379: Add operator.subscript() as a convenience for building slices. 2015-08-16 19:43:34 -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
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
Yury Selivanov d38718d419 Merge 3.5 2015-08-05 19:02:03 -04:00