| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
This affects documentation, code comments, and a debugging messages.
|
|
|
|
|
|
|
|
|
| |
It can be seen on various buildbots like 3.x.cea-indiana-amd64
and 3.x.murray-snowleopard:
/export/home/buildbot/64bits/3.x.cea-indiana-amd64/build/Modules/_ssl.c:2227: warning: unused variable 'libver'
/Users/buildbot/buildarea/3.x.murray-snowleopard/build/Modules/_ssl.c:2227: warning: unused variable ‘libver’
|
| |
|
| |
|
|
|
|
| |
in places where Py_DECREF was used.
|
| |
|
|
|
|
| |
Issue #26716. IOError is a deprecated alias to OSError since Python 3.3.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
On Python 3.3, use aliases:
* PyMem_RawMalloc = PyMem_Malloc
* PyMem_RawFree = PyMem_Free
These aliases are not need in Python 3.5, but this change makes synchronization
of code base simpler.
|
|
|
|
|
| |
Also change BufferedReader.writable() and BufferedWriter.readable() to always
return False.
|
|
|
|
|
|
| |
Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.
|
| |
|
|
|
|
| |
Fix a warning on Windows 64-bit.
|
| |
|
|
|
|
| |
Issue #26588: Enhance assertion in set_reentrant()
|
|
|
|
|
|
|
|
|
| |
Issue #26588: Fix _tracemalloc start/stop: don't play with the reentrant flag.
set_reentrant(1) fails with an assertion error if tracemalloc_init() is called
first in a thread A and tracemalloc_start() is called second in a thread B. The
tracemalloc is imported in a thread A. Importing the module calls
tracemalloc_init(). tracemalloc.start() is called in a thread B.
|
| |
|
| |
|
|
|
|
|
|
| |
Issue #26563: Replace PyMem_Malloc() with PyMem_RawFree() since
PostToQueueCallback() calls PyMem_RawFree() (previously PyMem_Free()) in a new
C thread which doesn't hold the GIL.
|
|
|
|
| |
Issue #26564. Cleanup the code, lineno is never negative.
|
|
|
|
| |
Issue #26558.
|
|
|
|
| |
Patch by Alex Willmer.
|
|
|
|
| |
total is None.
|
|
|
|
| |
current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis.
|
|\ |
|
| |
| |
| |
| | |
Patch from Chi Hsuan Yen.
|
| |
| |
| |
| | |
versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis.
|
| |
| |
| |
| |
| | |
The original form is incorrect grammar and feels awkward, even though the
meaning is clear.
|
| |
| |
| |
| | |
when the iteration is finished, but when it was failed with error.
|
| |
| |
| |
| |
| |
| |
| | |
Fixed a crash when unpickle the functools.partial object with wrong state.
Fixed a leak in failed functools.partial constructor.
"args" and "keywords" attributes of functools.partial have now always types
tuple and dict correspondingly.
|
| |
| |
| |
| | |
Based on patch by Aviv Palivoda.
|
| | |
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Issue #26227: On Windows, getnameinfo(), gethostbyaddr() and gethostbyname_ex()
functions of the socket module now decode the hostname from the ANSI code page
rather than UTF-8.
|
|/ /
| |
| |
| | |
of PyArg_Parse*() functions.
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Issue #26154: Add a new private _PyThreadState_UncheckedGet() function which
gets the current thread state, but don't call Py_FatalError() if it is NULL.
Python 3.5.1 removed the _PyThreadState_Current symbol from the Python C API to
no more expose complex and private atomic types. Atomic types depends on the
compiler or can even depend on compiler options. The new function
_PyThreadState_UncheckedGet() allows to get the variable value without having
to care of the exact implementation of atomic types.
Changes:
* Replace direct usage of the _PyThreadState_Current variable with a call to
_PyThreadState_UncheckedGet().
* In pystate.c, replace direct usage of the _PyThreadState_Current variable
with the PyThreadState_GET() macro for readability.
* Document also PyThreadState_Get() in pystate.h
|