Berker Peksag
315e104d11
Issue #24232 : Fix typos. Patch by Ville Skyttä.
2015-05-19 01:36:55 +03:00
Berker Peksag
5f120fcecb
Issue #24233 : Add a proper link to socket.getfqdn() documentation.
...
Patch by Ville Skyttä.
2015-05-19 01:31:24 +03:00
Berker Peksag
2a8baed833
Issue #24233 : Add a proper link to socket.getfqdn() documentation.
...
Patch by Ville Skyttä.
2015-05-19 01:31:00 +03:00
R David Murray
c17686f071
Issue #13866 : add *quote_via* argument to urlencode.
...
Patch by samwyse, completed by Arnon Yaari, and reviewed by
Martin Panter.
2015-05-17 20:44:50 -04:00
R David Murray
1dbee9460e
#24211 : Add missing docs for SMTPUTF8 policy instance.
2015-05-17 19:36:16 -04:00
R David Murray
8308444eef
#24218 : Add SMTPUTF8 support to send_message.
...
Reviewed by Maciej Szulik.
2015-05-17 19:27:22 -04:00
Terry Jan Reedy
6883faf49b
Merge with 3.4
2015-05-17 14:50:06 -04:00
Terry Jan Reedy
d986563a06
Issue #22155 : Add File Handlers subsection with createfilehandler to tkinter
...
doc. Remove obsolete example from FAQ. Patch by Martin Panter.
2015-05-17 14:49:26 -04:00
R David Murray
fdb23c2fe5
#20098 : add mangle_from_ policy option.
...
This defaults to True in the compat32 policy for backward compatibility,
but to False for all new policies.
Patch by Milan Oberkirch, with a few tweaks.
2015-05-17 14:24:33 -04:00
R David Murray
224ef3ec3b
#24211 : Add RFC6532 support to the email library.
...
This could use more edge case tests, but the basic functionality is tested.
(Note that this changeset does not add tailored support for the RFC 6532
message/global MIME type, but the email package generic facilities will handle
it.)
Reviewed by Maciej Szulik.
2015-05-17 11:29:21 -04:00
R David Murray
c1ecef78a3
Merge: #24216 : fix typo
2015-05-17 10:17:35 -04:00
R David Murray
0e8168c9e5
#24216 : fix typo
2015-05-17 10:16:37 -04:00
Berker Peksag
5b3df5b600
Add versionadded directive for BoundArguments.apply_defaults().
2015-05-16 23:29:31 +03:00
R David Murray
b744f3a45e
#21083 : add get_content_disposition method to email.message.
...
Patch by Abhilash Raj.
2015-05-16 15:41:07 -04:00
Serhiy Storchaka
b9cec6a30f
Issue #16314 : Added support for the LZMA compression in distutils.
2015-05-16 22:13:27 +03:00
R David Murray
b8cd3e4e30
#21804 : Add RFC 6856 (UTF8) support to poplib.
...
Patch by Milan Oberkirch.
2015-05-16 15:05:53 -04:00
R David Murray
3113765883
#19662 : Make requirement to support arbitrary keywords explicit.
...
When not using decode_data=True, smtpd may provide keyword arguments to the
process_message user-implemented method. This doc update is intended to make
it clear that arbitrary keywords must be supported, so that we can add
additional features in the future by just adding keywords to the
process_message call.
2015-05-16 14:16:33 -04:00
R David Murray
cee7cf6026
#22027 : Add RFC6531 support to smtplib.
...
Initial patch by Milan Oberkirch.
2015-05-16 13:58:14 -04:00
Yury Selivanov
b907a513c8
Issue 24190: Add inspect.BoundArguments.apply_defaults() method.
2015-05-16 13:45:09 -04:00
Tal Einat
c7027b7904
Issue #20182 : converted the signal module to use Argument Clinic
2015-05-16 14:14:49 +03:00
Tal Einat
97fceee3b9
Argument Clinic: added missing bit of info in howto
2015-05-16 14:12:15 +03:00
Raymond Hettinger
29655df11d
Issue #24064 : Docuement that oroperty docstrings are now writeable.
2015-05-15 16:17:05 -07:00
Victor Stinner
51b58325f9
Closes #24013 : Improve os.scandir() and DirEntry documentation
...
Patch written by Ben Hoyt.
2015-05-15 09:12:58 +02:00
Victor Stinner
56f6526085
os module doc: remove availability when useless
...
Remove "Availability: Unix, Windows." from os module documentation for
functions available on all platforms.
2015-05-15 09:11:59 +02:00
Yury Selivanov
dee32bd256
Issue 24191: Document BoundArguments.signature
2015-05-14 14:14:18 -04:00
Yury Selivanov
82796193f9
Issue 24191: Document BoundArguments.signature
2015-05-14 14:14:02 -04:00
R David Murray
7d0d6ee525
Merge: Make sentence correct English.
2015-05-14 08:51:09 -04:00
R David Murray
2249d9f7d6
Make sentence correct English.
2015-05-14 08:50:38 -04:00
R David Murray
812bc1b86b
Merge: #23088 : Clarify null termination of bytes and strings in C API.
2015-05-13 20:32:19 -04:00
R David Murray
0a560a11af
#23088 : Clarify null termination of bytes and strings in C API.
...
Patch by Martin Panter, reviewed by Serhiy Storchaka and R. David Murray.
2015-05-13 20:31:53 -04:00
Raymond Hettinger
b01a1fdb94
merge
2015-05-13 14:39:35 -07:00
Raymond Hettinger
3afdb2870f
Fix mangled wording
2015-05-13 14:39:04 -07:00
Benjamin Peterson
14ef1a12c7
remove extra space
2015-05-13 11:19:27 -04:00
Benjamin Peterson
5562c90377
remove % from title, since it makes latex barf
2015-05-13 11:19:06 -04:00
Raymond Hettinger
46cf02d25a
merge
2015-05-13 02:48:21 -07:00
Raymond Hettinger
a3780259e4
Issue #19934 : Document *None* as an acceptable input to Counter.most_common([n])
2015-05-13 02:47:57 -07:00
Raymond Hettinger
0907a45eb1
Issue #23695 : Explain the zip() example for clustering a data series into n-length groups.
2015-05-13 02:34:38 -07:00
Berker Peksag
2f3742b0d8
Issue #1322 : platform.dist() and platform.linux_distribution() functions are now deprecated.
...
Initial patch by Vajrasky Kok.
2015-05-13 12:32:20 +03:00
Berker Peksag
de7cafaa63
Issue #24064 : Add __doc__ to the example in collections.rst.
2015-05-13 12:16:27 +03:00
Raymond Hettinger
eac503aeac
Issue #24064 : Property() docstrings are now writeable.
...
(Patch by Berker Peksag.)
2015-05-13 01:09:59 -07:00
Benjamin Peterson
276e9c841d
merge 3.4
2015-05-12 19:16:20 -04:00
Benjamin Peterson
19a3f17cb3
use imperative
2015-05-12 19:15:53 -04:00
Benjamin Peterson
e960d18bb2
versionadded
2015-05-12 17:24:17 -04:00
Serhiy Storchaka
48e47aaa28
Issue #22486 : Added the math.gcd() function. The fractions.gcd() function now is
...
deprecated. Based on patch by Mark Dickinson.
2015-05-13 00:19:51 +03:00
Serhiy Storchaka
f0eeedf0d8
Issue #22681 : Added support for the koi8_t encoding.
2015-05-12 23:24:19 +03:00
Serhiy Storchaka
ad8a1c3fb2
Issue #22682 : Added support for the kz1048 encoding.
2015-05-12 23:16:55 +03:00
Serhiy Storchaka
0d4df752ac
Issue #15027 : The UTF-32 encoder is now 3x to 7x faster.
2015-05-12 23:12:45 +03:00
Berker Peksag
688cd4e6cb
Issue #23983 : Update the pty module example.
...
Changes:
* Fixed a ResourceWarning warning
* Used argparse instead of getopt
2015-05-12 17:25:41 +03:00
Berker Peksag
c2dd680115
Issue #23983 : Update the pty module example.
...
Changes:
* Fixed a ResourceWarning warning
* Used argparse instead of getopt
2015-05-12 17:25:06 +03:00
Yury Selivanov
5096088c07
doc: Briefly mention C API changes in whatsnew.
2015-05-12 00:15:05 -04:00
Yury Selivanov
b5d6a9d470
Mention PEP 492 in whatsnew.
2015-05-12 00:09:05 -04:00
Yury Selivanov
7544508f02
PEP 0492 -- Coroutines with async and await syntax. Issue #24017 .
2015-05-11 22:57:16 -04:00
Yury Selivanov
21ee10bf04
Merge 3.4 (asyncio docs)
2015-05-11 16:34:13 -04:00
Yury Selivanov
d7e19bb566
docs/asyncio: Document new ensure_future() and deprecated async()
2015-05-11 16:33:41 -04:00
Yury Selivanov
7185461897
docs/asyncio: Document set_task_factory/get_task_factory
2015-05-11 16:28:27 -04:00
R David Murray
a33df31629
#21795 : advertise 8BITMIME if decode_data is False.
...
Patch by Milan Oberkirch, with a few updates. This changeset also
tweaks the smtpd and whatsnew docs for smtpd into what should be
the final form for the 3.5 release.
2015-05-11 12:11:40 -04:00
R David Murray
a6429db4b8
#21800 : Add RFC 6855 support to imaplib.
...
Original patch by Milan Oberkirch, updated by myself and
Maciej Szulik.
2015-05-10 19:17:23 -04:00
Yury Selivanov
8170e8c0d1
PEP 479: Change StopIteration handling inside generators.
...
Closes issue #22906 .
2015-05-09 11:44:30 -04:00
Raymond Hettinger
bd60e8dece
Issue #24018 : Add a collections.Generator abstract base class.
2015-05-09 01:07:23 -04:00
Andrew Svetlov
0048835e49
Merge 3.4
2015-05-08 14:15:11 +03:00
Andrew Svetlov
b79e01248d
Fix doc: asyncio.Semaphore.release() actually is a regular function, not coroutine
2015-05-08 14:13:41 +03:00
Larry Hastings
38337d1e15
Issue #24000 : Improved Argument Clinic's mapping of converters to legacy
...
"format units". Updated the documentation to match.
2015-05-07 23:30:09 -07:00
Benjamin Peterson
ec9b7728fe
merge 3.4
2015-05-06 21:31:07 -04:00
Benjamin Peterson
ad643b59ce
remove word we don't need
2015-05-06 21:29:14 -04:00
Zachary Ware
828946e561
Fix copy/paste errors.
...
Basically, s/thread/coroutine/.
2015-05-06 20:19:06 -05:00
Guido van Rossum
19dac071ef
Issue 24088: Clarify semantics of yield expression (merge from 3.4).
2015-05-05 12:04:35 -07:00
Guido van Rossum
d0150ad59e
Issue 24088: Clarify semantics of yield expression.
2015-05-05 12:02:01 -07:00
Steve Dower
1d4880db3d
Enables shortcuts to be deselected when installing on Windows.
2015-05-03 14:54:32 -07:00
Benjamin Peterson
b174b85c1a
merge 3.4 ( #24118 )
2015-05-03 13:00:37 -04:00
Benjamin Peterson
ac87ed7e9f
update example, since python.org is HTTPS-only now ( closes #24118 )
2015-05-03 12:59:09 -04:00
Serhiy Storchaka
24559e4834
Issue #22619 : Added negative limit support in the traceback module.
...
Based on patch by Dmitry Kazakov.
2015-05-03 13:19:46 +03:00
Steve Dower
9a578d9ee6
Updates documentation for installing Python on Windows.
2015-05-02 22:28:58 -07:00
R David Murray
3b85377ab5
Merge: #24108 : Update fnmatch.translate example to show correct output.
2015-05-02 15:08:50 -04:00
R David Murray
4590c3d944
#24108 : Update fnmatch.translate example to show correct output.
...
Patch by Merlijn van Deen.
2015-05-02 15:08:22 -04:00
R David Murray
deed215313
Merge: #24081 : Remove obsolete caveat from import docs.
2015-05-02 14:58:32 -04:00
R David Murray
6d877ef026
#24081 : Remove obsolete caveat from import docs.
...
Per Eric Snow's research, this changed in Python 2.4 in changeset 331e60d8ce,
but these docs were not updated.
Patch by Peter Viktorin.
2015-05-02 14:57:54 -04:00
Serhiy Storchaka
d894027ec1
Fixed a typo.
2015-05-02 19:25:02 +03:00
Serhiy Storchaka
a7db0576ac
Fixed a typo.
2015-05-02 19:24:41 +03:00
Vinay Sajip
3b4d30a27b
Closes #24060 : Merged documentation update from 3.4.
2015-05-02 09:47:28 +01:00
Vinay Sajip
bbd95a9361
Issue #24060 : Made logging.Formatter documentation a little clearer.
2015-05-02 09:46:05 +01:00
Benjamin Peterson
a567e564ec
remove deleted method
2015-04-28 00:04:53 -04:00
Berker Peksag
0f51d04b47
Issue #24062 : Fix os.stat links. Patch by July Tikhonov.
2015-04-27 13:53:54 +03:00
Berker Peksag
2034caa0c4
Issue #24062 : Fix os.stat links. Patch by July Tikhonov.
2015-04-27 13:53:28 +03:00
Berker Peksag
a7edf1e57c
Issue #23356 : Simplify convert_arg_line_to_args example.
...
Patch by py.user.
2015-04-26 12:10:27 +03:00
Berker Peksag
8c99a6d604
Issue #23356 : Simplify convert_arg_line_to_args example.
...
Patch by py.user.
2015-04-26 12:09:54 +03:00
Gregory P. Smith
8cb6569fe1
Implements issue #9951 : Adds a hex() method to bytes, bytearray, & memoryview.
...
Also updates a few internal implementations of the same thing to use the
new built-in code.
Contributed by Arnon Yaari.
2015-04-25 23:22:26 +00:00
Benjamin Peterson
644adc6ada
merge 3.4 ( #24057 )
2015-04-25 14:16:25 -04:00
Benjamin Peterson
d87dd434c0
fix relative link ( closes #24057 )
2015-04-25 14:15:16 -04:00
Benjamin Peterson
51f58059f6
merge 3.4 ( #24049 )
2015-04-24 12:02:53 -04:00
Benjamin Peterson
9bdd61338d
remove dead *-import checking code ( closes #24049 )
2015-04-24 12:02:29 -04:00
Barry Warsaw
b5a3d9bebb
Issue #24029 : Document the name binding behavior for submodule imports.
2015-04-22 18:38:26 -04:00
Barry Warsaw
2097f53ec3
Issue #24029 : Document the name binding behavior for submodule imports.
2015-04-22 18:29:16 -04:00
Berker Peksag
d86ef05a02
Issue #23917 : Fall back to sequential compilation when ProcessPoolExecutor doesn't exist.
...
Patch by Claudiu Popa.
2015-04-22 09:39:19 +03:00
Andrew Kuchling
c3a7f18100
Merge from 3.4
2015-04-21 19:44:54 -04:00
Andrew Kuchling
333518e01d
#15183 : clarify timeit documentation to say that setup statement isn't timed
2015-04-21 19:43:33 -04:00
Greg Ward
4d9d2563f5
#17445 : difflib: add diff_bytes(), to compare bytes rather than str
...
Some applications (e.g. traditional Unix diff, version control
systems) neither know nor care about the encodings of the files they
are comparing. They are textual, but to the diff utility they are just
bytes. This worked fine under Python 2, because all of the hardcoded
strings in difflib.py are ASCII, so could safely be combined with
old-style u'' strings. But it stopped working in 3.x.
The solution is to use surrogate escapes for a lossless
bytes->str->bytes roundtrip. That means {unified,context}_diff() can
continue to just handle strings without worrying about bytes. Callers
who have to deal with bytes will need to change to using diff_bytes().
Use case: Mercurial's test runner uses difflib to compare current hg
output with known good output. But Mercurial's output is just bytes,
since it can contain:
* file contents (arbitrary unknown encoding)
* filenames (arbitrary unknown encoding)
* usernames and commit messages (usually UTF-8, but not guaranteed
because old versions of Mercurial did not enforce it)
* user messages (locale encoding)
Since the output of any given hg command can include text in multiple
encodings, it is hopeless to try to treat it as decodable Unicode
text. It's just bytes, all the way down.
This is an elaboration of a patch by Terry Reedy.
2015-04-20 20:21:21 -04:00
Benjamin Peterson
d19458ac51
merge 3.4 ( #23989 )
2015-04-20 18:22:21 -04:00
Benjamin Peterson
6de708fd46
recommend requests library ( closes #23989 )
...
Patch from Van Lindberg
2015-04-20 18:18:14 -04:00
Benjamin Peterson
cdbe29902e
fix grammar
2015-04-19 23:14:37 -04:00
Larry Hastings
770ce204ee
Regenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4.
2015-04-19 13:50:12 -07:00
Berker Peksag
662738980a
Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.
2015-04-19 04:38:01 +03:00
Berker Peksag
37de910b52
Mark TarInfo.frombuf() and TarInfo.fromtarfile() as classmethods.
2015-04-19 04:37:35 +03:00
Berker Peksag
0002d3ccf6
Issue #15566 : Document encoding and errors parameters of TarInfo.frombuf().
...
Patch by Andy Holst.
2015-04-19 04:32:52 +03:00
Berker Peksag
e4dde50c78
Issue #15566 : Document encoding and errors parameters of TarInfo.frombuf().
...
Patch by Andy Holst.
2015-04-19 04:32:23 +03:00
Vinay Sajip
1a16a8340a
Closes #23536 : Clarified scope of fileConfig()'s API.
2015-04-18 13:15:10 +01:00
Vinay Sajip
2d965c2555
Issue #23536 : Clarified scope of fileConfig()'s API.
2015-04-18 13:14:10 +01:00
Berker Peksag
6d7dced188
Fix two typos in AbstractBasicAuthHandler documentation.
2015-04-17 04:58:45 +03:00
R David Murray
2e6ad4267c
#16914 : reflow paragraph and add missing versionchanged.
2015-04-16 17:24:52 -04:00
R David Murray
0c49b896e6
#16914 : add timestamps to smtplib debugging output via new debuglevel 2.
...
Patch by Gavin Chappell and Maciej Szulik.
2015-04-16 17:14:42 -04:00
R David Murray
4c7f995e80
#7159 : generalize urllib prior auth support.
...
This fix is a superset of the functionality introduced by the issue #19494
enhancement, and supersedes that fix. Instead of a new handler, we have a new
password manager that tracks whether we should send the auth for a given uri.
This allows us to say "always send", satisfying #19494 , or track that we've
succeeded in auth and send the creds right away on every *subsequent* request.
The support for using the password manager is added to AbstractBasicAuth,
which means the proxy handler also now can handle prior auth if passed
the new password manager.
Patch by Akshit Khurana, docs mostly by me.
2015-04-16 16:36:18 -04:00
R David Murray
2b78129b3a
#18128 : use standard +NNNN timezone format in POT-Creation-Date header.
...
Patch by Michael McFadden, with a few small style tweaks.
2015-04-16 12:15:09 -04:00
Steve Dower
d2bc389e55
Issue #4254 : Adds _curses.update_lines_cols() Patch by Arnon Yaari
2015-04-15 18:06:05 -04:00
Steve Dower
cb39d1f466
Issue 19933: Provide default argument for ndigits in round. Patch by Vajrasky Kok.
2015-04-15 16:10:59 -04:00
Eric V. Smith
7a80389ce5
Issue 23193: Add numeric_owner to tarfile.TarFile.extract() and tarfile.TarFile.extractall().
2015-04-15 10:27:58 -04:00
Benjamin Peterson
ef9ffcbcd4
properly wrap
2015-04-14 22:12:14 -04:00
Gregory P. Smith
6e73000723
Add a subprocess.run() function than returns a CalledProcess instance for a
...
more consistent API than the existing call* functions.
(enhancement from issue 23342)
2015-04-14 16:14:25 -07:00
Gregory P. Smith
7c63fd3df5
issue9859: add the missing versionadded tag to the documentation.
2015-04-14 15:25:01 -07:00
R David Murray
f3cae79883
Merge: #23957 : fix typo.
2015-04-14 16:42:49 -04:00
R David Murray
5be7f1513d
#23957 : fix typo.
2015-04-14 16:42:08 -04:00
Gregory P. Smith
4e72cceb62
issue9859: Document test.support.detect_api_mismatch() and simplify its test.
2015-04-14 13:26:06 -07:00
Gregory P. Smith
a8b120641b
issue9014: Include more formatting on :c:type:`PyObject` etc.
2015-04-14 11:21:26 -07:00
Gregory P. Smith
0f2f3bc9db
issue9014: Include more formatting on :c:type:`PyObject` etc.
2015-04-14 11:21:05 -07:00
Gregory P. Smith
b8dde4f5c3
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
2015-04-14 11:13:14 -07:00
Gregory P. Smith
1b24465c93
issue9014: Properly document PyObject_HEAD and friends post-PEP-3123.
2015-04-14 11:12:53 -07:00
Gregory P. Smith
2f86a03405
remove trailing space
2015-04-14 10:05:02 -07:00
Gregory P. Smith
23a6a0daa1
remove trailing space :)
2015-04-14 10:04:30 -07:00
Gregory P. Smith
6eda1be83c
issue22046: mention that zipfile can raise NotImplementedError on unsupported
...
compression algorithms.
2015-04-14 10:02:49 -07:00
Gregory P. Smith
f2a448a66b
issue22046: mention that zipfile can raise NotImplementedError on unsupported
...
compression algorithms.
2015-04-14 10:02:20 -07:00
Andrew Kuchling
f887a6180a
#21146 : give a more efficient recipe in gzip docs
2015-04-14 11:44:40 -04:00
Berker Peksag
dfa4e045a3
Issue #23943 : Fix typos. Patch by Piotr Kasprzyk.
2015-04-14 09:35:51 +03:00
Berker Peksag
4882cacab6
Issue #23943 : Fix typos. Patch by Piotr Kasprzyk.
2015-04-14 09:30:01 +03:00
Larry Hastings
a6cc551502
Issue #22631 : Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
...
Patch courtesy of Joe Jevnik.
2015-04-13 17:48:40 -04:00
Zachary Ware
d827be8ff1
Closes #23730 : merge with 3.4
2015-04-13 16:44:05 -05:00
Zachary Ware
ae9f0fede3
Issue #23730 : Document the return value of ZipFile.extract
...
Patch by Stéphane Wirtel.
2015-04-13 16:40:49 -05:00
Zachary Ware
38019d1c34
Closes #23938 : List Windows XP as an unsupported platform.
...
Patch by Alex Walters.
2015-04-13 15:51:59 -05:00
Brett Cannon
8396b8ef08
Fix a grammar error in the porting HOWTO as found by Eric Smith.
2015-04-13 16:32:16 -04:00
Brett Cannon
fd53f98459
Issue #23733 : Mention bytes.__mod__ in the porting HOWTO.
2015-04-13 16:21:07 -04:00
Antoine Pitrou
3764fc2951
Fix doc build error
2015-04-13 21:07:57 +02:00
Antoine Pitrou
b9f2ab9eae
Fix duplicate doc entry for SSLContext.get_ca_certs()
...
(closes #18147 )
2015-04-13 21:06:51 +02:00
Antoine Pitrou
97aa953550
Fix duplicate doc entry for SSLContext.get_ca_certs()
...
(closes #18147 )
2015-04-13 21:06:15 +02:00
Brett Cannon
4269d6db93
Issue #23732 : Mention the new -b semantics in the porting HOWTO.
2015-04-13 14:37:50 -04:00
Brett Cannon
f299abdafa
Issue #23731 : Implement PEP 488.
...
The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.
2015-04-13 14:21:02 -04:00
Zachary Ware
774ac377da
Closes #17202 : Merge with 3.4
2015-04-13 12:11:40 -05:00
Zachary Ware
4c9c848159
Issue #17202 : Add .bat to .hgeol to force them to CRLF.
...
Using LF can a script to fail if it tries to use a label that is
split across 512 byte blocks. Who knows why.
2015-04-13 11:59:54 -05:00
Zachary Ware
3f103462fb
Closes #23932 : Merge with 3.4
2015-04-13 11:32:01 -05:00
Zachary Ware
f3b990e48c
Issue #23932 : Update the tutorial section on function annotations.
...
Patch by Juti Noppornpitak.
2015-04-13 11:30:47 -05:00
Larry Hastings
ab792ac704
Doc clarification / edification on the semantics of the 'w*' format unit.
2015-04-13 11:30:56 -04:00
R David Murray
e6d3abd452
Merge: #17380 : Document tp_init return value in extending docs.
2015-04-12 21:52:12 -04:00
R David Murray
354c7403c5
#17380 : Document tp_init return value in extending docs.
...
Patch by James Powell.
2015-04-12 21:51:36 -04:00
R David Murray
e81a773352
#23464 : remove JoinableQueue that was deprecated in 3.4.4.
...
Patch by A. Jesse Jiryu Davis.
2015-04-12 18:47:56 -04:00
Berker Peksag
556e08e9b2
Issue #12955 : Change the urlopen() examples to use context managers where appropriate.
...
Patch by Martin Panter.
2015-04-12 13:53:33 +03:00
Berker Peksag
9575e1891f
Issue #12955 : Change the urlopen() examples to use context managers where appropriate.
...
Patch by Martin Panter.
2015-04-12 13:52:49 +03:00
Antoine Pitrou
8ad751e024
Close #23904 : fix pathlib documentation misleadingly mentioning that bytes objects are accepted in the PurePath constructor
2015-04-12 00:08:02 +02:00
Berker Peksag
770319d6bd
Issue #23912 : Fix code formatting in datamodel.rst.
...
Patch by James Edwards.
2015-04-11 14:59:30 +03:00
Benjamin Peterson
1c69c3e3d8
use imperative
2015-04-11 07:42:42 -04:00
Berker Peksag
eb7a97c48e
Issue #23025 : Add a mention of os.urandom to RAND_bytes and RAND_pseudo_bytes docs.
...
Patch by Alex Gaynor.
2015-04-10 16:19:13 +03:00
Andrew Kuchling
d71b170a4d
#23891 : describe a few more modules in the tutorial
2015-04-09 22:20:01 -04:00
Steve Dower
fe0a41aae4
Issue #23668 : Adds support for os.truncate and os.ftruncate on Windows
2015-03-20 19:50:46 -07:00
Antoine Pitrou
8d0c478601
Close #23904 : fix pathlib documentation misleadingly mentioning that bytes objects are accepted in the PurePath constructor
2015-04-12 00:08:35 +02:00
Berker Peksag
2995cc6855
Issue #23912 : Fix code formatting in datamodel.rst.
...
Patch by James Edwards.
2015-04-11 14:59:50 +03:00
Benjamin Peterson
339e3f33b6
merge 3.4
2015-04-11 07:44:45 -04:00
Antoine Pitrou
2dbc6e6bce
Issue #23529 : Limit the size of decompressed data when reading from
...
GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks
using compressed bombs (i.e. compressed payloads which decompress to a huge
size).
Patch by Martin Panter and Nikolaus Rath.
2015-04-11 00:31:01 +02:00
Serhiy Storchaka
2ce11d296c
Null merge
2015-04-10 16:22:14 +03:00
Berker Peksag
a7b9a1f4df
Issue #23025 : Add a mention of os.urandom to RAND_bytes and RAND_pseudo_bytes docs.
...
Patch by Alex Gaynor.
2015-04-10 16:19:44 +03:00
Tim Golden
da5cbe65ae
Merge from 3.4
2015-04-08 16:53:21 +01:00
Tim Golden
fe5ac52c2b
Fix typo in telnet docs (reported by Keith Briggs)
2015-04-08 16:52:27 +01:00
Benjamin Peterson
f1c5dea3c2
merge 3.4
2015-04-08 11:11:45 -04:00
Benjamin Peterson
6f362fa6c8
actually ssl3 is just completely broken
2015-04-08 11:11:00 -04:00
Berker Peksag
291d7b0284
Issue #23400 : Raise same exception on both Python 2 and 3 if sem_open is not available.
...
Patch by Davin Potts.
2015-04-08 17:57:44 +03:00
Berker Peksag
7ecfc82edb
Issue #23400 : Raise same exception on both Python 2 and 3 if sem_open is not available.
...
Patch by Davin Potts.
2015-04-08 17:56:30 +03:00
Victor Stinner
146907081c
Issue #23853 : Methods of SSL socket don't reset the socket timeout anymore each
...
time bytes are received or sent. The socket timeout is now the maximum total
duration of the method.
This change fixes a denial of service if the application is regulary
interrupted by a signal and the signal handler does not raise an exception.
2015-04-06 22:46:13 +02:00
Victor Stinner
8912d1418e
Issue #23853 : socket.socket.sendall() does no more reset the socket timeout
...
each time data is sent successfuly. The socket timeout is now the maximum total
duration to send all data.
2015-04-06 23:16:34 +02:00
Tim Golden
3fbcafa476
Merge doc change from 3.4
2015-04-06 11:06:18 +01:00
Tim Golden
42c235e833
Added missing right bracket (reported by Daryl Klakouski)
2015-04-06 11:04:49 +01:00
R David Murray
cae7bdb424
#3566 : Clean up handling of remote server disconnects.
...
This changeset does two things: introduces a new RemoteDisconnected exception
(that subclasses ConnectionResetError and BadStatusLine) so that a remote
server disconnection can be detected by client code (and provides a better
error message for debugging purposes), and ensures that the client socket is
closed if a ConnectionError happens, so that the automatic re-connection code
can work if the application handles the error and continues on.
Tests are added that confirm that a connection is re-used or not re-used
as appropriate to the various combinations of protocol version and headers.
Patch by Martin Panter, reviewed by Demian Brecht. (Tweaked only slightly by
me.)
2015-04-05 19:26:29 -04:00
Serhiy Storchaka
fcfcf853cf
Updated pprint examples in according to issue #19105 .
2015-04-05 08:22:41 +03:00
Serhiy Storchaka
778db289b5
Issue #10590 : xml.sax.parseString() now supports string argument.
2015-04-04 10:12:26 +03:00
Serhiy Storchaka
5cf2b7253d
Issue #15582 : inspect.getdoc() now follows inheritance chains.
2015-04-03 22:38:53 +03:00
Victor Stinner
32ed750952
Merge 3.4 (asyncio doc)
2015-04-03 17:10:17 +02:00
Victor Stinner
72dcb0a765
Issue #23219 : Update asyncio.wait_for() documentation
...
the wait is cancelled, the future *fut* is now also cancelled.
2015-04-03 17:08:19 +02:00
Serhiy Storchaka
61de087f0f
Issue #2175 : SAX parsers now support a character stream of InputSource object.
2015-04-02 21:00:13 +03:00
Victor Stinner
acd8e7c1f5
Issue #23648 : Complete the list of modified functions for the PEP 475
2015-04-02 13:56:29 +02:00
Victor Stinner
81c41dbfcc
Issue #23618 : socket.socket.connect() now waits until the connection completes
...
instead of raising InterruptedError if the connection is interrupted by
signals, signal handlers don't raise an exception and the socket is blocking or
has a timeout.
socket.socket.connect() still raise InterruptedError for non-blocking sockets.
2015-04-02 11:50:57 +02:00
Victor Stinner
708d9ba5a2
Issue #23618 : Document EINTR changes in socket documentation
2015-04-02 11:49:42 +02:00
Victor Stinner
bbe3803fb5
What's New in Python 3.5: mention signal.set_wakeup_fd() enhancement on Windows
2015-04-01 16:32:32 +02:00
R David Murray
ef2a397a65
It wasn't a typo, it is the mnemonic (AT=@).
2015-04-01 09:15:02 -04:00
Benjamin Peterson
f8521d55ad
merge 3.4 ( #12855 )
2015-03-31 21:21:09 -04:00
Benjamin Peterson
8218bd4caf
document what exactly str.splitlines() splits on ( closes #12855 )
...
Patch by Martin Panter.
2015-03-31 21:20:36 -04:00
Raymond Hettinger
41290a68ba
Issue 23793: Add deque support for __add__(), __mul__(), and __imul__().
2015-03-31 08:12:23 -07:00
Serhiy Storchaka
3822093143
Issue #10395 : Added os.path.commonpath(). Implemented in posixpath and ntpath.
...
Based on patch by Rafik Draoui.
2015-03-31 15:31:53 +03:00
Victor Stinner
eb011cb8df
What's New in Python 3.5, PEP 475: mention modified signal functions
2015-03-31 12:19:15 +02:00
Serhiy Storchaka
58e4134a1c
Issue #23611 : Serializing more "lookupable" objects (such as unbound methods
...
or nested classes) now are supported with pickle protocols < 4.
2015-03-31 14:07:24 +03:00
Serhiy Storchaka
72e731cc03
Issue #13583 : sqlite3.Row now supports slice indexing.
...
Tests by Jessica McKellar.
2015-03-31 13:33:11 +03:00
Victor Stinner
b310173319
Issue #23485 : Enhance and update selectors doc and test_selectors
...
Selector.select() is now retried with the recomputed timeout when interrupted
by a signal.
Write an unit test with a signal handler raising an exception, and a unit with
a signal handler which does not raise an exception (it does nothing).
2015-03-31 12:08:09 +02:00
Victor Stinner
45ca48b03d
Issue #23485 : select.devpoll.poll() is now retried when interrupted by a signal
2015-03-31 12:10:33 +02:00
Victor Stinner
4448c08451
Issue #23485 : select.kqueue.control() is now retried when interrupted by a signal
2015-03-31 11:48:34 +02:00
Berker Peksag
b6faf0dfa7
Fix typo in Doc/whatsnew/3.5.rst.
2015-03-31 07:20:03 +03:00
Raymond Hettinger
c86f2525c9
merge
2015-03-30 20:29:55 -07:00
Raymond Hettinger
c43a666ba2
Issue #23729 : Improve docs for ElementTree namespace parsing
2015-03-30 20:29:28 -07:00
Victor Stinner
41eba224de
Issue #23485 : select.epoll.poll() is now retried when interrupted by a signal
2015-03-30 21:59:21 +02:00
Victor Stinner
3c7d6e0693
Issue #23485 : select.poll.poll() is now retried when interrupted by a signal
2015-03-30 21:38:00 +02:00
Brett Cannon
9b16666f2f
Ignore .rst files in the venv directory.
2015-03-30 15:35:37 -04:00
Victor Stinner
f70e1ca0fc
Issue #23485 : select.select() is now retried automatically with the recomputed
...
timeout when interrupted by a signal, except if the signal handler raises an
exception. This change is part of the PEP 475.
The asyncore and selectors module doesn't catch the InterruptedError exception
anymore when calling select.select(), since this function should not raise
InterruptedError anymore.
2015-03-30 21:16:11 +02:00
R David Murray
ba6ea9b237
#2211 : Fix typo, address missed review comment.
2015-03-30 11:48:50 -04:00
Victor Stinner
93692bba3e
What's New in Python 3.5: add pep 461 (bytes%args) and 465 (a@b)
2015-03-30 15:04:45 +02:00
Larry Hastings
09dab7a87e
Merge 3.5.0a3 release engineering changes back into trunk.
2015-03-30 01:50:00 -07:00
Serhiy Storchaka
7901b48a1f
Issue #23171 : csv.Writer.writerow() now supports arbitrary iterables.
2015-03-30 09:09:54 +03:00
Larry Hastings
b2c2dc3643
Regenerated pydoc topics and minor doc fixes for 3.5.0a3.
2015-03-29 15:32:55 -07:00
R David Murray
1813c1701f
#2211 : properly document the Morsel behavior changes.
...
Also deprecate the undocumented set argument instead of removing
it already in 3.5.
Initial patch by Demian Brecht.
2015-03-29 17:09:21 -04:00
Benjamin Peterson
52d1493c0c
format .. note properly
2015-03-27 16:07:35 -04:00
Victor Stinner
a766ddfa2f
Issue #23648 : Document the PEP 475 in the "Porting to Python 3.5" section and
...
add a version changed note in modified functions.
2015-03-26 23:50:57 +01:00
Serhiy Storchaka
764fc9bfac
Issue #21717 : The zipfile.ZipFile.open function now supports 'x' (exclusive
...
creation) mode.
2015-03-25 10:09:41 +02:00
Ezio Melotti
2e3998fae0
#11468 : improve unittest basic example. Initial patch by Florian Preinstorfer.
2015-03-24 12:42:41 +02:00
Raymond Hettinger
f6e31b79a8
Issue 23729: Document ElementTree namespace handling and fix an omission in the XPATH predicate table.
2015-03-22 15:29:09 -07:00
R David Murray
beed8402ca
#23539 : Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
...
Some http servers will reject PUT, POST, and PATCH requests if they
do not have a Content-Length header.
Patch by James Rutherford, with additional cleaning up of the
'request' documentation by me.
2015-03-22 15:18:23 -04:00
Benjamin Peterson
218144a94d
clarify behavior of shutil.move when destination exists ( closes #22933 )
...
Patch by Mike Short.
2015-03-22 10:11:54 -04:00
Serhiy Storchaka
a54aae0683
Issue #23622 : Unknown escapes in regular expressions that consist of ``'\'``
...
and ASCII letter now raise a deprecation warning and will be forbidden in
Python 3.6.
2015-03-24 22:58:14 +02:00
Serhiy Storchaka
b876df4cbb
Issue #23671 : string.Template now allows to specify the "self" parameter as
...
keyword argument. string.Formatter now allows to specify the "self" and
the "format_string" parameters as keyword arguments.
2015-03-24 22:30:46 +02:00
Benjamin Peterson
b365a06a84
change Σ to ν for obscure joke reasons
...
https://twitter.com/ncoghlan_dev/status/579173053793353728
2015-03-24 12:12:44 -04:00
Ezio Melotti
0f05cea057
#11468 : merge with 3.4.
2015-03-24 12:52:13 +02:00
Serhiy Storchaka
bca63b362d
Issue #23688 : Added support of arbitrary bytes-like objects and avoided
...
unnecessary copying of memoryview in gzip.GzipFile.write().
Original patch by Wolfgang Maier.
2015-03-23 14:59:48 +02:00
Serhiy Storchaka
77d899726f
Issue #23252 : Added support for writing ZIP files to unseekable streams.
2015-03-23 01:09:35 +02:00
Raymond Hettinger
1b2f4d5f0c
merge
2015-03-22 15:29:48 -07:00
R David Murray
0a0d20edfb
Merge: #23539 : Set Content-Length to 0 for PUT, POST, and PATCH if body is None.
2015-03-22 15:19:01 -04:00
Paul Moore
a4d4dd3a9d
#23657 Don't explicitly do an isinstance check for str in zipapp
...
As a result, explicitly support pathlib.Path objects as arguments.
Also added tests for the CLI interface.
2015-03-22 15:32:36 +00:00
Benjamin Peterson
67057ab57c
merge 3.4 ( #22933 )
2015-03-22 10:15:12 -04:00
Raymond Hettinger
32ea16577d
Issue 23704: Add index(), copy(), and insert() to deques. Register deques as a MutableSequence.
2015-03-21 01:37:37 -07:00
Serhiy Storchaka
17d3a58e39
Issue #22832 : Tweaked parameter names for fcntl module to better match
...
official POSIX documentation. Updated the documenttion for Python 3.
Patch by Alex Shkop.
2015-03-20 20:04:21 +02:00
R David Murray
6faa62445f
Merge: #11726 : Make linecache docs reflect that all files are treated the same.
2015-03-20 11:32:17 -04:00
R David Murray
63998a3520
#11726 : Make linecache docs reflect that all files are treated the same.
...
Being able to read non-python text files is not a purpose of linecache, but it
does work and people use it. This changeset adjusts the language to make it
clear that Python files are not treated uniquely, but does not go so far as to
say reading non-python files is explicitly supported.
2015-03-20 11:31:38 -04:00
Serhiy Storchaka
1dd49824df
Issue #23681 : The -b option now affects comparisons of bytes with int.
2015-03-20 16:54:57 +02:00
Victor Stinner
a453cd8d85
Issue #23715 : signal.sigwaitinfo() and signal.sigtimedwait() are now retried
...
when interrupted by a signal not in the *sigset* parameter, if the signal
handler does not raise an exception. signal.sigtimedwait() recomputes the
timeout with a monotonic clock when it is retried.
Remove test_signal.test_sigwaitinfo_interrupted() because sigwaitinfo() doesn't
raise InterruptedError anymore if it is interrupted by a signal not in its
sigset parameter.
2015-03-20 12:54:28 +01:00
Serhiy Storchaka
8490f5acfe
Issue #23001 : Few functions in modules mmap, ossaudiodev, socket, ssl, and
...
codecs, that accepted only read-only bytes-like object now accept writable
bytes-like object too.
2015-03-20 09:00:36 +02:00
Antoine Pitrou
31084ba528
Issue #23632 : Memoryviews now allow tuple indexing (including for multi-dimensional memoryviews).
2015-03-19 23:29:36 +01:00
Victor Stinner
79d68f929d
Issue #23646 : If time.sleep() is interrupted by a signal, the sleep is now
...
retried with the recomputed delay, except if the signal handler raises an
exception (PEP 475).
Modify also test_signal to use a monotonic clock instead of the system clock.
2015-03-19 21:54:09 +01:00
Serhiy Storchaka
009b811d67
Removed unintentional trailing spaces in non-external and non-generated C files.
2015-03-18 21:53:15 +02:00
Victor Stinner
072248ec63
Merge 3.4 (linecache doc)
2015-03-18 14:19:19 +01:00
Victor Stinner
376658fa13
Issue #11726 : Fix linecache example in the doc
...
Use a Python source file (linecache.__file__) instead of /etc/passwd.
Modify also linecache docstrings to clarify the linecache is written to cache
Python source files, not any text files.
2015-03-18 14:16:50 +01:00
Victor Stinner
58b8f3923e
Merge 3.4 (linecache doc)
2015-03-18 14:14:52 +01:00
Victor Stinner
93f0665fb6
Issue #11726 : clarify linecache doc: linecache is written to cache Python
...
source files, even if "it works" with other text files encoded to UTF-8.
2015-03-18 14:14:42 +01:00
Victor Stinner
de31134558
Issue #12155 : Fix queue doc example to join threads
...
Use None as a sentinel to stop a worker.
2015-03-18 14:05:43 +01:00
Victor Stinner
926ce70066
Merge 3.4 (marshal doc)
2015-03-18 13:59:02 +01:00
Victor Stinner
6a318d420a
Issue #19428 : Document that PyMarshal_ReadLongFromFile() and
...
PyMarshal_ReadShortFromFile() can fail.
2015-03-18 13:58:49 +01:00
Serhiy Storchaka
9c1a9b2657
Issue #2211 : Updated the implementation of the http.cookies.Morsel class.
...
Setting attributes key, value and coded_value directly now is deprecated.
update() and setdefault() now transform and check keys. Comparing for
equality now takes into account attributes key, value and coded_value.
copy() now returns a Morsel, not a dict. repr() now contains all attributes.
Optimized checking keys and quoting values. Added new tests.
Original patch by Demian Brecht.
2015-03-18 10:59:57 +02:00
Robert Collins
302dbc6792
Issue #18983 : Allow selection of output units in timeit.
...
This allows manual selection of a specific unit such as usecs rather than the
use of a heuristic. This is intended to aid machine processing of timeit
output.
Patch by Serhiy Storchaka.
2015-03-18 09:54:50 +13:00
Victor Stinner
0c2fd89777
Revert changeset d927047b1d8eb87738676980a24930d053ba2150
...
Sorry, it was a mistake, the patch is still under review: issue #23646 .
2015-03-17 10:49:17 +01:00
Berker Peksag
e010d8f031
Issue #23682 : Delete Python 2.2 mention from distutils documentation.
...
Patch by Thomas Kluyver.
2015-03-17 06:56:11 +02:00
Berker Peksag
6a98002d47
Issue #23682 : Delete Python 2.2 mention from distutils documentation.
...
Patch by Thomas Kluyver.
2015-03-17 06:55:48 +02:00
Benjamin Peterson
85586ebc39
merge 3.4 ( #23679 )
2015-03-16 12:45:27 -05:00
Benjamin Peterson
59c4eb71f2
versionchanged for rc4 removal ( closes #23679 )
2015-03-16 12:43:38 -05:00
Eli Bendersky
a84099bcc5
Issue #23549 : Clarify confusion in heapq doc - accessing the mininmal element
...
Merge 3.4
The current documentation only mentions heap[0] as the smallest element in the
beginning, and not in any of the methods' docs. There's no method to access the
minimal element without popping it, and the documentation of nsmallest is
confusing because it may suggest that min() is the way to go for n==1.
2015-03-14 20:17:38 -07:00
Eli Bendersky
39430daa3b
Issue #23549 : Clarify confusion in heapq doc - accessing the mininmal element
...
The current documentation only mentions heap[0] as the smallest element in the
beginning, and not in any of the methods' docs. There's no method to access the
minimal element without popping it, and the documentation of nsmallest is
confusing because it may suggest that min() is the way to go for n==1.
2015-03-14 20:14:23 -07:00
Berker Peksag
102029dfd6
Issue #2052 : Add charset parameter to HtmlDiff.make_file().
2015-03-15 01:18:47 +02:00
Serhiy Storchaka
fbd011dd49
Fix minor docs markup errors.
2015-03-14 21:34:25 +02:00
Serhiy Storchaka
b19542d062
Fix minor docs markup errors.
2015-03-14 21:32:57 +02:00
Benjamin Peterson
76c95a01dc
merge 3.4
2015-03-13 16:21:29 -05:00
Benjamin Peterson
0d70ab6b8c
__getslice__ certainly won't appear in the output
2015-03-13 16:21:23 -05:00
Brett Cannon
cb1dde5df5
Merge 3.4
2015-03-13 12:50:16 -04:00
Brett Cannon
2645bad04f
Make the case to only support Python 2.7 when supporting 2/3 simultaneously
2015-03-13 12:49:44 -04:00
Brett Cannon
64e4f7f96d
Strip trailing whitespace
2015-03-13 10:42:08 -04:00
Brett Cannon
cc4dfc1b75
Issue #23491 : Implement PEP 441: Improving Python Zip Application Support
...
Thanks to Paul Moore for the PEP and implementation.
2015-03-13 10:40:49 -04:00
Benjamin Peterson
f0f14f72bb
use the meth role for ZipFile.open
2015-03-12 22:41:06 -05:00
Berker Peksag
32799953b0
Issue #23081 : Document that PySequence_List also accepts iterables.
...
Patch by Lars Buitinck.
2015-03-13 02:55:45 +02:00
Berker Peksag
ce77ee9183
Issue #22154 : Add an example to show context management protocol support of ZipFile.open().
...
Patch by Mike Short.
2015-03-13 02:29:54 +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
Victor Stinner
945c82eea3
test
2015-03-12 16:19:01 +01:00
Benjamin Peterson
38dae173d1
merge 3.4
2015-03-12 22:41:14 -05:00
Berker Peksag
09bb904fda
Issue #23081 : Document that PySequence_List also accepts iterables.
...
Patch by Lars Buitinck.
2015-03-13 02:56:12 +02:00
Berker Peksag
406221ccd9
Issue #22154 : Add an example to show context management protocol support of ZipFile.open().
...
Patch by Mike Short.
2015-03-13 02:30:17 +02:00
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
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