- 25 Eki, 2018 5 kayıt (commit)
-
-
Tim Graham yazdı
Regression in b0bf51b3.
-
madman-bob yazdı
-
Victor Stinner yazdı
* Modify object.h to ensure that pymem.h is included, to get _Py_tracemalloc_config variable. * Move _PyTraceMalloc_XXX() functions to tracemalloc.h, they need PyObject type. Break circular dependency between pymem.h and object.h.
-
Victor Stinner yazdı
tracemalloc now tries to update the traceback when an object is reused from a "free list" (optimization for faster object creation, used by the builtin list type for example). Changes: * Add _PyTraceMalloc_NewReference() function which tries to update the Python traceback of a Python object. * _Py_NewReference() now calls _PyTraceMalloc_NewReference(). * Add an unit test.
-
Quentin yazdı
-
- 24 Eki, 2018 8 kayıt (commit)
-
-
serge-sans-paille yazdı
.o generated by clang in LTO mode actually are LLVM bitcode files, which leads to a few errors during configure/build step: - add lto flags to the BASECFLAGS instead of CFLAGS, as CFLAGS are used to build autoconf test case, and some are not compatible with clang LTO (they assume binary in the .o, not bitcode) - force llvm-ar instead of ar, as ar is not aware of .o files generated by clang -flto
-
Ned Batchelder yazdı
-
orlnub123 yazdı
The spec gets stored on modules with the __spec__ attribute, not spec.
-
TilmanK yazdı
-
Actually time calculations were remove in commit 891a1f86.
-
Mariatta yazdı
Replace str.format with f-strings in the code examples of asyncio-task documentation.
-
jdemeyer yazdı
-
Tal Einat yazdı
-
- 23 Eki, 2018 11 kayıt (commit)
-
-
Serhiy Storchaka yazdı
They no longer cache the wchar_t* representation of string objects.
-
Serhiy Storchaka yazdı
Based on the investigation by Xiang Zhang.
-
Zackery Spytz yazdı
References could leak, NULL could be dereferenced, and the Expat parser could be double freed when some errors raised.
-
Victor Stinner yazdı
_PyObject_Dump() now uses an heuristic to check if the object memory has been freed: log "<freed object>" in that case. The heuristic rely on the debug hooks on Python memory allocators which fills the memory with DEADBYTE (0xDB) when memory is deallocated. Use PYTHONMALLOC=debug to always enable these debug hooks.
-
Ned Deily yazdı
-
Jeremy Kloth yazdı
-
Zsolt Cserna yazdı
Fix the documentation of copy2, as it does not copy file ownership (user and group), only mode, mtime, atime and flags. The original text was confusing to developers as it suggested that this command is the same as 'cp -p', but according to cp(1), '-p' copies file ownership as well. Clarify which metadata is copied by shutil.copystat in its docstring.
-
-
Josh Snyder yazdı
-
Alexey Izbyshev yazdı
-
Andrei Petre yazdı
-
- 22 Eki, 2018 3 kayıt (commit)
-
-
Paul Ganssle yazdı
* Use _PyUnicode_Copy in sanitize_isoformat_str * Use repr in fromisoformat error message This reverses commit 67b74a98b2 per Serhiy Storchaka's suggestion: I suggested to use %R in the error message because including the raw string can be confusing in the case of empty string, or string containing trailing whitespaces, invisible or unprintable characters. We agree that it is better to change both the C and pure Python versions to use repr. * Retain non-sanitized dtstr for error printing This does not create an extra string, it just holds on to a reference to the original input string for purposes of creating the error message. * PEP 7 fixes to from_isoformat * Separate handling of Unicode and other errors In the initial implementation, errors other than encoding errors would both raise an error indicating an invalid format, which would not be true for errors like MemoryError. * Drop needs_decref from _sanitize_isoformat_str Instead _sanitize_isoformat_str returns a new reference, even to the original string.
-
Eric Lippert yazdı
The assignment of i/2 to nk is redundant because on this code path, nk is already the size of the dictionary, and i is already twice the size of the dictionary. I've replaced the store with an assertion that i/2 is nk.
-
Tal Einat yazdı
Raise ValueError OverflowError in case of a negative _length_ in a ctypes.Array subclass. Also raise TypeError instead of AttributeError for non-integer _length_. Co-authored-by: Oren Milman <orenmn@gmail.com>
-
- 21 Eki, 2018 8 kayıt (commit)
-
-
Xtreak yazdı
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
Constructing bytes from mutating list could cause a crash.
-
Sanyam Khurana yazdı
For builtin types with builtin subclasses, help() on the type now shows up to 4 of the subclasses. This partially replaces the exception hierarchy information previously displayed in Python 2.7.
-
Serhiy Storchaka yazdı
If SyntaxWarning was raised as an exception, it will be replaced with a SyntaxError for better error reporting.
-
Nick Coghlan yazdı
-
Max Bélanger yazdı
Guard the `CLOCK_GETTIME` et al macros in `timemodule` based on the availability of the parent functions
-
- 20 Eki, 2018 5 kayıt (commit)
-
-
Benjamin Peterson yazdı
Fixes doc build breakage from 890a4b92.
-
Xtreak yazdı
-
Senthil Kumaran yazdı
* bpo-34576 - Fix the formatting for security considerations in http.server.rst * Address review comment.
-
Zachary Ware yazdı
This should reduce false failure reports to the Zulip 'core/test runs' stream from Travis failures on private forks.
-
-