Yury Selivanov
82796193f9
Issue 24191: Document BoundArguments.signature
11 years ago
R David Murray
2249d9f7d6
Make sentence correct English.
11 years ago
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.
11 years ago
Raymond Hettinger
3afdb2870f
Fix mangled wording
11 years ago
Benjamin Peterson
14ef1a12c7
remove extra space
11 years ago
Benjamin Peterson
5562c90377
remove % from title, since it makes latex barf
11 years ago
Raymond Hettinger
a3780259e4
Issue #19934 : Document *None* as an acceptable input to Counter.most_common([n])
11 years ago
Raymond Hettinger
0907a45eb1
Issue #23695 : Explain the zip() example for clustering a data series into n-length groups.
11 years ago
Berker Peksag
2f3742b0d8
Issue #1322 : platform.dist() and platform.linux_distribution() functions are now deprecated.
Initial patch by Vajrasky Kok.
11 years ago
Berker Peksag
de7cafaa63
Issue #24064 : Add __doc__ to the example in collections.rst.
11 years ago
Raymond Hettinger
eac503aeac
Issue #24064 : Property() docstrings are now writeable.
(Patch by Berker Peksag.)
11 years ago
Benjamin Peterson
19a3f17cb3
use imperative
11 years ago
Benjamin Peterson
e960d18bb2
versionadded
11 years ago
Serhiy Storchaka
48e47aaa28
Issue #22486 : Added the math.gcd() function. The fractions.gcd() function now is
deprecated. Based on patch by Mark Dickinson.
11 years ago
Serhiy Storchaka
f0eeedf0d8
Issue #22681 : Added support for the koi8_t encoding.
11 years ago
Serhiy Storchaka
ad8a1c3fb2
Issue #22682 : Added support for the kz1048 encoding.
11 years ago
Serhiy Storchaka
0d4df752ac
Issue #15027 : The UTF-32 encoder is now 3x to 7x faster.
11 years ago
Berker Peksag
c2dd680115
Issue #23983 : Update the pty module example.
Changes:
* Fixed a ResourceWarning warning
* Used argparse instead of getopt
11 years ago
Yury Selivanov
5096088c07
doc: Briefly mention C API changes in whatsnew.
11 years ago
Yury Selivanov
b5d6a9d470
Mention PEP 492 in whatsnew.
11 years ago
Yury Selivanov
7544508f02
PEP 0492 -- Coroutines with async and await syntax. Issue #24017 .
11 years ago
Yury Selivanov
d7e19bb566
docs/asyncio: Document new ensure_future() and deprecated async()
11 years ago
Yury Selivanov
7185461897
docs/asyncio: Document set_task_factory/get_task_factory
11 years ago
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.
11 years ago
R David Murray
a6429db4b8
#21800 : Add RFC 6855 support to imaplib.
Original patch by Milan Oberkirch, updated by myself and
Maciej Szulik.
11 years ago
Yury Selivanov
8170e8c0d1
PEP 479: Change StopIteration handling inside generators.
Closes issue #22906 .
11 years ago
Raymond Hettinger
bd60e8dece
Issue #24018 : Add a collections.Generator abstract base class.
11 years ago
Andrew Svetlov
b79e01248d
Fix doc: asyncio.Semaphore.release() actually is a regular function, not coroutine
11 years ago
Larry Hastings
38337d1e15
Issue #24000 : Improved Argument Clinic's mapping of converters to legacy
"format units". Updated the documentation to match.
11 years ago
Benjamin Peterson
ad643b59ce
remove word we don't need
11 years ago
Zachary Ware
828946e561
Fix copy/paste errors.
Basically, s/thread/coroutine/.
11 years ago
Guido van Rossum
d0150ad59e
Issue 24088: Clarify semantics of yield expression.
11 years ago
Steve Dower
1d4880db3d
Enables shortcuts to be deselected when installing on Windows.
11 years ago
Benjamin Peterson
ac87ed7e9f
update example, since python.org is HTTPS-only now ( closes #24118 )
11 years ago
Serhiy Storchaka
24559e4834
Issue #22619 : Added negative limit support in the traceback module.
Based on patch by Dmitry Kazakov.
11 years ago
Steve Dower
9a578d9ee6
Updates documentation for installing Python on Windows.
11 years ago
R David Murray
4590c3d944
#24108 : Update fnmatch.translate example to show correct output.
Patch by Merlijn van Deen.
11 years ago
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.
11 years ago
Serhiy Storchaka
a7db0576ac
Fixed a typo.
11 years ago
Vinay Sajip
bbd95a9361
Issue #24060 : Made logging.Formatter documentation a little clearer.
11 years ago
Benjamin Peterson
a567e564ec
remove deleted method
11 years ago
Berker Peksag
2034caa0c4
Issue #24062 : Fix os.stat links. Patch by July Tikhonov.
11 years ago
Berker Peksag
8c99a6d604
Issue #23356 : Simplify convert_arg_line_to_args example.
Patch by py.user.
11 years ago
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.
11 years ago
Benjamin Peterson
d87dd434c0
fix relative link ( closes #24057 )
11 years ago
Benjamin Peterson
9bdd61338d
remove dead *-import checking code ( closes #24049 )
11 years ago
Barry Warsaw
2097f53ec3
Issue #24029 : Document the name binding behavior for submodule imports.
11 years ago
Berker Peksag
d86ef05a02
Issue #23917 : Fall back to sequential compilation when ProcessPoolExecutor doesn't exist.
Patch by Claudiu Popa.
11 years ago
Andrew Kuchling
333518e01d
#15183 : clarify timeit documentation to say that setup statement isn't timed
11 years ago
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.
11 years ago