- 24 Eki, 2017 9 kayıt (commit)
-
-
Alexander Belopolsky yazdı
Calendar.itermonthdates() will now consistently raise an exception when a date falls outside of the 0001-01-01 through 9999-12-31 range. To support applications that cannot tolerate such exceptions, the new methods itermonthdays3() and itermonthdays4() are added. The new methods return tuples and are not restricted by the range supported by datetime.date. Thanks @serhiy-storchaka for suggesting the itermonthdays4() method and for the review.
-
Serhiy Storchaka yazdı
-
Masayuki Yamamoto yazdı
Make more sense to replace the word "default value" with "initializer" for Py_tss_NEEDS_INIT.
-
Thomas Kluyver yazdı
-
Victor Stinner yazdı
test_unparse.DirectoryTestCase now stores the names sample to always test the same files. It prevents false alarms when hunting reference leaks.
-
Julien Palard yazdı
-
Victor Stinner yazdı
-
Victor Stinner yazdı
* Add Tools/scripts/smelly.py: script checking if all symbols exported by libpython start with "Py" or "_Py". * Modify "make smelly" to run smelly.py: the command now fails with a non-zero exit code if libpython leaks a "smelly" symbol. * Travis CI now runs "make smelly"
-
Michał Górny yazdı
Rework the code choosing BLAKE2 code paths from using the optimized variant on all x86_64 machines to using it when SSSE3 or better supported instructions sets are available. Firstly, this solves the problem of using pure SSE2 code path on x86_64 machines. As reported in the bug, this code is slower than the reference code on all tested x86_64 machines. Furthermore, on Athlon64 that lacks SSSE3, it is even 2.5 times slower than the reference code! Checking for SSSE3 therefore ensures that the optimized implementation will only be used when it has a chance of performing better. Secondly, this makes it possible to use SSSE3+ optimizations on 32-bit x86 systems. This allows for even 2 times speed gain on modern 32-bit x86 systems (tested in a 32-bit chroot).
-
- 23 Eki, 2017 6 kayıt (commit)
-
-
Serhiy Storchaka yazdı
SyntaxError now is raised instead of SyntaxWarning.
-
Victor Stinner yazdı
Fix the following Coverity warning: >>> CID 1420038: Control flow issues (DEADCODE) >>> Execution cannot reach this statement: "res = sem_trywait(self->han...". 321 res = sem_trywait(self->handle); The deadcode was introduced by the commit c872d39d.
-
Christoph Sarnowski yazdı
-
xdegaye yazdı
-
Serhiy Storchaka yazdı
Bad remainder in divmod() in intermediate calculations caused an assertion failure.
-
andyclegg yazdı
Improve human friendliness of the Popen API: Add text=False as a keyword-only argument to subprocess.Popen along with a Popen attribute .text_mode and set this based on the encoding/errors/universal_newlines/text arguments. The universal_newlines parameter and attribute are maintained for backwards compatibility.
-
- 22 Eki, 2017 6 kayıt (commit)
-
-
Mark Shannon yazdı
Move exception state information from frame objects to coroutine (generator/thread) object where it belongs.
-
Cheryl Sabella yazdı
-
Serhiy Storchaka yazdı
-
Antoine Pitrou yazdı
-
Serhiy Storchaka yazdı
-
Antoine Pitrou yazdı
-
- 21 Eki, 2017 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 20 Eki, 2017 2 kayıt (commit)
-
-
Oren Milman yazdı
bpo-31781: Prevent crashes when calling methods of an uninitialized zipimport.zipimporter object (GH-3986)
-
Serhiy Storchaka yazdı
and in codecs.escape_decode() when decode an escaped non-ascii byte.
-
- 19 Eki, 2017 7 kayıt (commit)
-
-
Antoine Pitrou yazdı
* bpo-31819: Add AbstractEventLoop.sock_recv_into() * Add NEWS * Add doc
-
jlacoline yazdı
-
Łukasz Langa yazdı
This used to be the case on Python 2. Commit 212b590e changed the implementation for Python 3, making the `log()` method of LogAdapter call `logger._log()` directly. This makes nested log adapters not execute their ``process()`` method. This patch fixes the issue. Also, now proxying `name`, too, to make `repr()` work with nested log adapters. New tests added.
-
George King yazdı
-
Benjamin Peterson yazdı
-
George King yazdı
-
Łukasz Langa yazdı
Due to a bug in the initial fix, the setter was in fact creating a different property. This is now fixed.
-
- 18 Eki, 2017 3 kayıt (commit)
-
-
Ron yazdı
The word "difference" from missing the sentence. This clarifies that it compares the difference between the two objects.
-
Pablo Galindo yazdı
Fix timeout rounding in time.sleep(), threading.Lock.acquire() and socket.socket.settimeout() to round correctly negative timeouts between -1.0 and 0.0. The functions now block waiting for events as expected. Previously, the call was incorrectly non-blocking.
-
Mariatta yazdı
-
- 17 Eki, 2017 6 kayıt (commit)
-
-
Terry Jan Reedy yazdı
-
Terry Jan Reedy yazdı
Even if one selects a font that defines a limited subset of the unicode Basic Multilingual Plane, tcl/tk will use other fonts that define a character. The expanded example give users of non-Latin characters a better idea of what they might see in the IDLE shell and editors. To make room for the expanded sample, frames on the Font tab are re-arranged. The Font/Tabs help explains a bit about the additions.
-
Victor Stinner yazdı
bpo-31803: time.clock() and time.get_clock_info('clock') now emit a DeprecationWarning warning. Replace time.clock() with time.perf_counter() in tests and demos. Remove also hasattr(time, 'monotonic') in test_time since time.monotonic() is now always available since Python 3.5.
-
Zane Bitter yazdı
-
Barry Warsaw yazdı
bpo-31799: Make module.__spec__ more discoverable
-
Riccardo Coccioli yazdı
Always pass -1, or INFTIM where defined, to the poll() system call when a negative timeout is passed to the poll.poll([timeout]) method in the select module. Various OSes throw an error with arbitrary negative values.
-