Commit graph

17622 commits

Author SHA1 Message Date
Serhiy Storchaka
c2ccce791c Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.
Added few tests for __truediv__, __floordiv__ and __matmul__.
2015-03-12 22:01:30 +02:00
Serhiy Storchaka
a60c2fe480 Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB.
2015-03-12 21:56:08 +02:00
Berker Peksag
da0870c87a Add versionadded directives for the matmul operator. 2015-03-12 20:56:45 +02:00
Berker Peksag
e7e497bdca Issue #23651: Fix typo in allow_abbrev docs.
Noticed by Nathan West.
2015-03-12 20:47:41 +02:00
Victor Stinner
95bb714ff7 Issue #23566: enable(), register(), dump_traceback() and dump_traceback_later()
functions of faulthandler now accept file descriptors. Patch by Wei Wu.
2015-03-12 15:32:03 +01:00
Ethan Furman
62e977f1b6 Close issue23467: add %r compatibility to bytes and bytearray 2015-03-11 08:17:00 -07:00
Victor Stinner
fb581d9154 Merge 3.4 (asyncio doc) 2015-03-10 16:29:31 +01:00
Victor Stinner
84c717dd9e asyncio doc: changes on the Queue API missed Python 3.4.3 release 2015-03-10 16:27:54 +01:00
Berker Peksag
55f1949225 Issue #23432: Remove duplicate content from SystemExit docs.
Also, document SystemExit.code attribute explicitly.
2015-03-10 14:47:41 +02:00
Berker Peksag
77a6b20a35 Issue #23432: Remove duplicate content from SystemExit docs.
Also, document SystemExit.code attribute explicitly.
2015-03-10 14:47:15 +02:00
Victor Stinner
80f6bb4cd8 Merge 3.4 (os doc) 2015-03-10 13:31:58 +01:00
Victor Stinner
47c41b4e4d Issue #23605: os.walk() doc now mentions shutil.rmtree() in the last example 2015-03-10 13:31:47 +01:00
Victor Stinner
37f2034802 Issue #22524: Rephrase scandir addition in What's New in Python 3.5
Patch written by Ben Hoyt.
2015-03-10 13:29:41 +01:00
Victor Stinner
524a5ba111 Issue #23605: os.walk() now calls os.scandir() instead of os.listdir().
The usage of os.scandir() reduces the number of calls to os.stat().
Initial patch written by Ben Hoyt.
2015-03-10 13:20:34 +01:00
Ned Deily
52eb536c99 Issue #23617: Correct plurals typo noted by Kentrell Johnson. 2015-03-09 01:55:35 -07:00
Ned Deily
8be2142377 Issue #23617: Correct plurals typo noted by Kentrell Johnson. 2015-03-09 01:55:02 -07:00
Benjamin Peterson
af098a221a merge 3.4 (#23608) 2015-03-08 09:42:40 -04:00
Benjamin Peterson
c8358273ae indicate correct version (closes #23608) 2015-03-08 09:42:25 -04:00
Victor Stinner
6036e4431d Issue #22524: New os.scandir() function, part of the PEP 471: "os.scandir()
function -- a better and faster directory iterator". Patch written by Ben
Hoyt.
2015-03-08 01:58:04 +01:00
Benjamin Peterson
a5f3ad8c05 merge 3.4 2015-03-07 09:34:49 -05:00
Benjamin Peterson
8c69ecf95d replace Amazon links in the documentation (closes #23579)
Patch by Sayan Chowdhury.
2015-03-07 09:34:16 -05:00
Berker Peksag
49f373bf66 Issue #17911: Tweak traceback documentation.
Changes:

* Fixed reSt markup
* Fixed cross references
* Fixed a couple of typos
2015-03-06 12:18:06 +02:00
Robert Collins
f0c819acd0 Issue #22936: Allow showing local variables in unittest errors. 2015-03-06 13:46:35 +13:00
Robert Collins
d7c7e0ef69 Issue #22936: Make it possible to show local variables in tracebacks. 2015-03-05 20:28:52 +13:00
Benjamin Peterson
de8eca4638 merge 3.4 2015-03-04 22:50:25 -05:00
Benjamin Peterson
990fcaac3c expose X509_V_FLAG_TRUSTED_FIRST 2015-03-04 22:49:41 -05:00
Robert Collins
6bc2c1e7eb Issue #17911: traceback module overhaul
Provide a way to seed the linecache for a PEP-302 module without actually
loading the code.

Provide a new object API for traceback, including the ability to not lookup
lines at all until the traceback is actually rendered, without any trace of the
original objects being kept alive.
2015-03-05 12:07:57 +13:00
Ethan Furman
738f805074 issue19075: add visual sorting algorithms to turtledemo; original code from Jason Yeo 2015-03-02 12:29:58 -08:00
Benjamin Peterson
2f3d440549 merge 3.4 (#23561) 2015-03-02 09:36:48 -05:00
Benjamin Peterson
bdf525b77c wrap everything at 80 chars 2015-03-02 09:31:40 -05:00
Benjamin Peterson
29fec92875 link to the correct dis method or function (closes #23561) 2015-03-02 09:27:43 -05:00
Berker Peksag
6897e5688d Issue #20521: Change `TOS` to TOS in dis documentation.
TOS is an abbreviation of top-of-stack.

Patch by Sven Berkvens-Matthijsse.
2015-03-02 06:34:00 +02:00
Berker Peksag
ab4040e3c6 Issue #20521: Change `TOS` to TOS in dis documentation.
TOS is an abbreviation of top-of-stack.

Patch by Sven Berkvens-Matthijsse.
2015-03-02 06:33:30 +02:00
Berker Peksag
f2d4e5773a Add a versionadded directive for PEP 486. 2015-03-02 05:36:19 +02:00
Alexander Belopolsky
e2e178e081 Closes issue #22791: Improved datetime from timestamp methods documentation.
Original patch by Akira Li.
2015-03-01 14:52:07 -05:00
Serhiy Storchaka
490055a167 Issue #20204: Deprecation warning is now raised for builtin type without the
__module__ attribute.
2015-03-01 10:03:02 +02:00
Brett Cannon
b44ed82b81 Merge with 3.4 for porting HOWTO tweaks 2015-02-27 15:10:38 -05:00
Brett Cannon
fdde79dbf6 Fix the clarification as to why division cannot be ported automatically 2015-02-27 15:10:03 -05:00
Zachary Ware
ad9296e403 Merge with 3.4 2015-02-27 01:40:41 -06:00
Zachary Ware
0b49637890 Fix copy/paste error in bytes.isupper() doc.
Reported by Jon Colburn on docs@.
2015-02-27 01:40:22 -06:00
Steve Dower
76998fef2c Issue #23465: Implement PEP 486 - Make the Python Launcher aware of virtual environments (patch by Paul Moore) 2015-02-26 14:25:33 -08:00
Antoine Pitrou
e71258a0e6 Issue #15955: Add an option to limit the output size in bz2.decompress().
Patch by Nikolaus Rath.
2015-02-26 13:08:07 +01:00
Victor Stinner
87f50158ee Merge 3.4 (asyncio doc) 2015-02-26 10:39:31 +01:00
Victor Stinner
7b2c3c6840 asyncio doc: lock classes are not thread safe 2015-02-26 10:39:16 +01:00
Berker Peksag
a1780bc321 Issue #23511: Port email-simple.py to Python 3.
Also, update email examples to use the context manager version of open().

Patch by Baptiste Mispelon.
2015-02-25 18:14:47 +02:00
Berker Peksag
f9e3cf1f9f Issue #23511: Port email-simple.py to Python 3.
Also, update email examples to use the context manager version of open().

Patch by Baptiste Mispelon.
2015-02-25 18:14:09 +02:00
Victor Stinner
1313af2340 Merge 3.4 (asyncio doc) 2015-02-25 14:24:47 +01:00
Victor Stinner
83704963c0 asyncio: add a note about (non) thread safety in each class 2015-02-25 14:24:15 +01:00
Victor Stinner
532c69a428 asyncio doc: begin with warnings on asyncio traps 2015-02-25 14:23:51 +01:00
Victor Stinner
615a58eaab asyncio doc: move queues to a new page 2015-02-25 13:55:43 +01:00