| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* You may now specify an expression as the default value for a
parameter! Example: "sys.maxsize - 1". This support is
intentionally quite limited; you may only use values that
can be represented as static C values.
* Removed "doc_default", simplified support for "c_default"
and "py_default". (I'm not sure we still even need
"py_default", but I'm leaving it in for now in case a
use presents itself.)
* Parameter lines support a trailing '\\' as a line
continuation character, allowing you to break up long lines.
* The argument parsing code generated when supporting optional
groups now uses PyTuple_GET_SIZE instead of PyTuple_GetSize,
leading to a 850% speedup in parsing. (Just kidding, this
is an unmeasurable difference.)
* A bugfix for the recent regression where the generated
prototype from pydoc for builtins would be littered with
unreadable "=<object ...>"" default values for parameters
that had no default value.
* Converted some asserts into proper failure messages.
* Many doc improvements and fixes.
|
|\
| |
| |
| |
| |
| |
| | |
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang lines in the unittestgui and checkpip scripts.
|
| |
| |
| |
| |
| |
| |
| | |
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface. Fixed
shebang line to use python3 executable in the unittestgui script.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Negative integer support in binary plists was broken
* Better exception for invalid data
* Fix the versionadded/versionchanged markup in the documentation
* Add the interface cleanup to what's new for 3.4
|
| |
| |
| |
| | |
and return converter from existing functions.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
illegal attribute name. Found by INADA Naoki.
|
| |\ |
|
| | | |
|
| | | |
|
|\ \ \
| |/ / |
|
| | |
| | |
| | |
| | | |
formatting styles.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | | |
(No idea why test_tarfile is listed as changed...it isn't.)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This fixes an edge case (20206) where if the input ended in a character
needing encoding but there was no newline on the string, the last byte
of the encoded character would be dropped. The fix is to use a more
efficient algorithm, provided by Serhiy Storchaka (5803), that does not
have the bug.
|
|\ \ \
| |/ /
| | |
| | | |
Issue #19082: Working xmlrpc.server and xmlrpc.client examples. Both in modules and in documentation.
|
| | |
| | |
| | |
| | | |
modules and in documentation.
|
| | |
| | |
| | |
| | | |
methods.
|
| | |
| | |
| | |
| | | |
Argument Clinic (see issue for details).
|
| | |
| | |
| | |
| | |
| | | |
parsing code for functions with positional-only parameters where all arguments
are optional.
|
|\ \ \
| |/ /
| | |
| | | |
functions now conform to PEP 3333 when handle non-ASCII URLs.
|
| | |
| | |
| | |
| | | |
functions now conform to PEP 3333 when handle non-ASCII URLs.
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
Issue #19092 - Raise a correct exception when cgi.FieldStorage is given an
invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage
object.
|
| | |
| | |
| | |
| | |
| | | |
invalid file-obj. Also use __bool__ to determine the bool of the FieldStorage
object.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | | |
ifconfig executable is not available.
|
| | |
| | |
| | |
| | | |
ifconfig executable is not available.
|
|\ \ \
| |/ /
| | |
| | | |
Incorrect requirements can cause memory swapping.
|
| | |
| | |
| | |
| | | |
Incorrect requirements can cause memory swapping.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
a help on environment with too small COLUMNS. Based on patch by
Elazar Gershuni.
|
| | |
| | |
| | |
| | |
| | | |
a help on environment with too small COLUMNS. Based on patch by
Elazar Gershuni.
|
|\ \ \
| |/ /
| | |
| | | |
asked for.
|
| | |
| | |
| | |
| | | |
asked for.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.
* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.
* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* The first line of Python script could be executed twice when the source
encoding (not equal to 'utf-8') was specified on the second line.
* Now the source encoding declaration on the second line isn't effective if
the first line contains anything except a comment.
* As a consequence, 'python -x' works now again with files with the source
encoding declarations specified on the second file, and can be used again
to make Python batch files on Windows.
* The tokenize module now ignore the source encoding declaration on the second
line if the first line contains anything except a comment.
* IDLE now ignores the source encoding declaration on the second line if the
first line contains anything except a comment.
* 2to3 and the findnocoding.py script now ignore the source encoding
declaration on the second line if the first line contains anything except
a comment.
|
|\ \ \
| |/ /
| | |
| | | |
consumption.
|
| | |
| | |
| | |
| | | |
consumption.
|
| | |
| | |
| | |
| | | |
And a news item rephrase.
|
|\ \ \
| |/ / |
|
| | | |
|
| | |
| | |
| | |
| | | |
And more news item tweaks.
|
|\ \ \
| |/ /
| | |
| | | |
exception on error instead of returning -1.
|
| | |
| | |
| | |
| | | |
error instead of returning -1.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | | |
is modified during the lifetime of the Python process after zipimport has
already cached the zip's table of contents we detect this and recover
rather than read bad data from the .zip (causing odd import errors).
|
| | |
| | |
| | |
| | |
| | |
| | | |
is modified during the lifetime of the Python process after zipimport has
already cached the zip's table of contents we detect this and recover
rather than read bad data from the .zip (causing odd import errors).
|