- 09 Nis, 2016 3 kayıt (commit)
-
-
Berker Peksag yazdı
-
Berker Peksag yazdı
Patch by Giampaolo Rodola'.
-
Berker Peksag yazdı
Patch by Geoff Wilson.
-
- 08 Nis, 2016 2 kayıt (commit)
-
-
Brett Cannon yazdı
-
Serhiy Storchaka yazdı
-
- 06 Nis, 2016 3 kayıt (commit)
-
-
Martin Panter yazdı
ByteArrayAsStringTest.fixtype() was converting test data to bytes, not byte- array, therefore many of the test cases inherited in this class were not actually being run on the bytearray type. The tests in buffer_tests.py were redundant with methods in string_tests .MixinStrUnicodeUserStringTest and string_tests.CommonTest. These methods are now moved into string_tests.BaseTest, where they will also get run for bytes and bytearray. This change also moves test_additional_split(), test_additional_rsplit(), and test_strip() from CommonTest to BaseTest, meaning these tests are now run for bytes and bytearray. I plan to eliminate redundancies with existing tests in test_bytes.py soon.
-
Steve Dower yazdı
-
Serhiy Storchaka yazdı
-
- 05 Nis, 2016 4 kayıt (commit)
-
-
Guido van Rossum yazdı
-
https://github.com/python/typingGuido van Rossum yazdı
This syncs to rev 7b43ada77821d23e55e3a4b35f6055a59b9e1ad7 there. Summary: - Add typing.DefaultDict (as a generic variant of collections.defaultdict). - Use collections.Reversible if it exists (only relevant for Python 3.6). - Revamped generic class behavior to conform to updated PEP 484. - Improve speed of Generic.__new__. - Make sure __init__ is called for new Generic instances. Fix issue #26391. - Refactor async support to be compatible with 3.2, 3.3, 3.4. - Remove 'io' and 're' from __all__ (they still exist, just not included by "import *"). Fix issue #26234. - Change @overload -- you can now use it outside stubs (you still cannot call the decorated function though).
-
Martin Panter yazdı
* 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 yazdı
-
- 03 Nis, 2016 3 kayıt (commit)
-
-
Martin Panter yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
-
- 02 Nis, 2016 2 kayıt (commit)
-
-
Berker Peksag yazdı
Patch by Robert Bachmann and SilentGhost.
-
Berker Peksag yazdı
Patch by Ashley Anderson.
-
- 01 Nis, 2016 5 kayıt (commit)
-
-
Martin Panter yazdı
Also fix links to the “tzinfo” class and attributes.
-
Vinay Sajip yazdı
-
Victor Stinner yazdı
Issue #26509: In fatal error handlers, don't log ConnectionAbortedError which occur on Windows.
-
Victor Stinner yazdı
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 yazdı
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 kayıt (commit)
-
-
Martin Panter yazdı
-
Serhiy Storchaka yazdı
-
Martin Panter yazdı
-
Martin Panter yazdı
Also change BufferedReader.writable() and BufferedWriter.readable() to always return False.
-
- 30 Mar, 2016 4 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
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 yazdı
Reported by Matthew Cole on docs@p.o.
-
Victor Stinner yazdı
Use the default timeout of 30 seconds to avoid blocking forever.
-
- 29 Mar, 2016 4 kayıt (commit)
-
-
Victor Stinner yazdı
-
Victor Stinner yazdı
* 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 yazdı
-
Andrew Svetlov yazdı
-
- 20 Kas, 2011 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 28 Mar, 2016 1 kayıt (commit)
-
-
Martin Panter yazdı
-
- 27 Mar, 2016 4 kayıt (commit)
-
-
Berker Peksag yazdı
_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 yazdı
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 yazdı
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 yazdı
-