- 05 Apr, 2016 2 commits
-
-
Martin Panter authored
* 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
-
Martin Panter authored
-
- 03 Apr, 2016 3 commits
-
-
Martin Panter authored
-
Martin Panter authored
-
Martin Panter authored
-
- 02 Apr, 2016 2 commits
-
-
Berker Peksag authored
Patch by Robert Bachmann and SilentGhost.
-
Berker Peksag authored
Patch by Ashley Anderson.
-
- 01 Apr, 2016 5 commits
-
-
Martin Panter authored
Also fix links to the “tzinfo” class and attributes.
-
Vinay Sajip authored
-
Victor Stinner authored
Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which occur on Windows.
-
Victor Stinner authored
Fix GH#325: Allow to pass None as a timeout value to disable timeout logic. Change written by Andrew Svetlov and merged by Guido van Rossum.
-
Victor Stinner authored
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.
-
- 31 Mar, 2016 4 commits
-
-
Martin Panter authored
-
Serhiy Storchaka authored
-
Martin Panter authored
-
Martin Panter authored
Also change BufferedReader.writable() and BufferedWriter.readable() to always return False.
-
- 30 Mar, 2016 4 commits
-
-
Serhiy Storchaka authored
-
Serhiy Storchaka authored
Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
-
Berker Peksag authored
Reported by Matthew Cole on docs@p.o.
-
Victor Stinner authored
Use the default timeout of 30 seconds to avoid blocking forever.
-
- 29 Mar, 2016 4 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
* Fix test_os.BytesWalkTests on Windows * Mimick better the reference os.DirEntry on Windows * _DummyDirEntry now caches os.stat() result * _DummyDirEntry constructor now tries to get os.stat() * Fix os._DummyDirEntry.is_symlink(), don't follow symbolic links: use os.stat(path, follow_symlinks=False).
-
Victor Stinner authored
-
Andrew Svetlov authored
-
- 20 Nov, 2011 1 commit
-
-
Raymond Hettinger authored
-
- 28 Mar, 2016 1 commit
-
-
Martin Panter authored
-
- 27 Mar, 2016 5 commits
-
-
Berker Peksag authored
_Call is a subclass of tuple (changeset 3603bae63c13 only works for classes) so we need to implement __ne__ ourselves. Patch by Andrew Plummer.
-
Berker Peksag authored
If you pass -1, the callable can take any number of arguments. Added tests to verify the behavior. Initial patch by Cédric Krier.
-
Berker Peksag authored
The behaviour of the close method is tested by ClosedCurTests in Lib/sqlite3/test/dbapi.py. This is basically a backport of https://github.com/ghaering/pysqlite/issues/73.
-
Berker Peksag authored
-
Martin Panter authored
-
- 14 Mar, 2016 1 commit
-
-
Victor Stinner authored
Fix a warning on Windows 64-bit.
-
- 25 Mar, 2016 4 commits
-
-
Alexander Belopolsky authored
-
Victor Stinner authored
Write the module name rather than <module> in the error message, if module has no __file__ attribute (ex: package).
-
Victor Stinner authored
* multiprocessing: open file with closefd=False to avoid ResourceWarning * _test_multiprocessing: open file with O_EXCL to detect bugs in tests (if a previous test forgot to remove TESTFN) * test_sys_exit(): remove TESTFN after each loop iteration Initial patch written by Serhiy Storchaka.
-
Victor Stinner authored
Use -Wd comment line option to log the ResourceWarning.
-
- 22 Jan, 2016 1 commit
-
-
Victor Stinner authored
Issue #26161: Use Py_uintptr_t instead of void* for atomic pointers in pyatomic.h. Use atomic_uintptr_t when <stdatomic.h> is used. Using void* causes compilation warnings depending on which implementation of atomic types is used.
-
- 24 Mar, 2016 3 commits
-
-
Victor Stinner authored
Declare the function even if thread support is disabled.
-
Victor Stinner authored
Issue #21925: warnings.formatwarning() now catches exceptions on linecache.getline(...) to be able to log ResourceWarning emitted late during the Python shutdown process.
-
Victor Stinner authored
test_warnings: only run test_improper_option() and test_warnings_bootstrap() once. The unit test doesn't depend on self.module.
-