| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
also specified.
|
|
|
|
|
|
| |
PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type)
have been modified to provide introspection information for builtins.
Also: many additional Lib, test suite, and Argument Clinic fixes.
|
|
|
|
|
| |
docstring for __new__ and __init__, and always use "goto exit" instead of
returning "NULL" for failure to parse (as _new__ and __init__ return ints).
|
| |
|
| |
|
|
|
|
| |
to None.
|
|
|
|
| |
__init__ functions.
|
|
|
|
| |
value of c_default and py_default with a class member.
|
| |
|
|
|
|
| |
for strings with explicit encodings.
|
|
|
|
| |
delaying its output or even redirecting it to a separate file.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|\
| |
| |
| | |
test files.
|
| |
| |
| |
| | |
test files.
|
|\ \
| |/
| |
| |
| |
| |
| | |
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.
|
| | |
|
| |
| |
| |
| | |
and return converter from existing functions.
|
| | |
|
| | |
|
| |
| |
| |
| | |
methods.
|
| |
| |
| |
| | |
Argument Clinic (see issue for details).
|
| |
| |
| |
| |
| | |
parsing code for functions with positional-only parameters where all arguments
are optional.
|
|\ \
| |/
| |
| | |
The application object must return an iterable yielding bytestrings.
|
| |
| |
| |
| | |
The application object must return an iterable yielding bytestrings.
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
to improve readability.
|
| |
| |
| |
| | |
collides with a C keyword, it no longer exposes that rename to PyArg_Parse.
|
| |
| |
| |
| | |
format unit.
|
| |
| |
| |
| |
| | |
default values. inspect.Signature correspondingly supports them in
__text_signature__ fields for builtins.
|
| |
| |
| |
| | |
now more accurate.
|
| |
| |
| |
| | |
initialized with a default value.
|
| | |
|
| | |
|
| |
| |
| |
| | |
take two parameters.
|
| |
| |
| |
| | |
Patch by Christian Heimes, with modifications.
|
| | |
|
| |
| |
| |
| | |
calculated. Generalized support of the euro modifier.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| | |
the same result as in 2.x.
|
| |
| |
| |
| | |
the same result as in 2.x.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
run Python's unit tests with multiple versions of OpenSSL.
|
|\ \
| |/
| |
| |
| | |
pythoncore sub-project. This should prevent build errors due a previous
build's python(_d).exe still running.
|
| |
| |
| |
| |
| | |
pythoncore sub-project. This should prevent build errors due a previous
build's python(_d).exe still running.
|
| | |
|