- 05 Eki, 2014 1 kayıt (commit)
-
-
R David Murray yazdı
Some time ago we changed the docs to consistently use the term 'bytes-like object' in all the contexts where bytes, bytearray, memoryview, etc are used. This patch (by Ezio Melotti) completes that work by changing the error messages that previously reported that certain types did "not support the buffer interface" to instead say that a bytes-like object is required. (The glossary entry for bytes-like object references the discussion of the buffer protocol in the docs.)
-
- 28 Eyl, 2014 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
Corresponding functions now accept `const char *` (issue #1772673).
-
- 15 Agu, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
warnings in the Objects/ subdirectory. PyType_FromSpecWithBases() and PyType_FromSpec() now reject explicitly negative slot identifiers.
-
- 14 May, 2014 1 kayıt (commit)
-
-
Victor Stinner yazdı
Keep _Py_STRINGIZE() in PC/pyconfig.h to not introduce a dependency between pyconfig.h and pymacros.h.
-
- 11 Nis, 2014 1 kayıt (commit)
-
-
Mark Dickinson yazdı
Issue #21193: Make (e.g.,) pow(2, -3, 5) raise ValueError rather than TypeError. Patch by Josh Rosenberg.
-
- 15 Mar, 2014 2 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Benjamin Peterson yazdı
-
- 14 Ara, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 11 Ara, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
return not int instance. Introduced _PyLong_FromNbInt() and refactored PyLong_As*() functions.
-
- 04 Ara, 2013 1 kayıt (commit)
-
-
Christian Heimes yazdı
The PyObject_INIT() macros returns obj: ../cpython/Objects/methodobject.c:32:23: warning: expression result unused [-Wunused-value] PyObject_INIT(op, &PyCFunction_Type); ^~ ../cpython/Include/objimpl.h:139:69: note: expanded from macro 'PyObject_INIT' ( Py_TYPE(op) = (typeobj), _Py_NewReference((PyObject *)(op)), (op) ) ^ 1 warning generated.
-
- 19 Eki, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
- 05 Eki, 2013 1 kayıt (commit)
-
-
Tim Peters yazdı
Reduce the base by the modulus when the base is larger than the modulus. This can unboundedly speed the "startup costs" of doing modular exponentiation, particularly in cases where the base is much larger than the modulus. Original patch by Armin Rigo, inspired by https://github.com/pyca/ed25519.
-
- 27 Agu, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
error messages and comments.
-
- 13 Agu, 2013 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 03 Agu, 2013 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Mark Dickinson yazdı
- replace 'long int' / 'long' by 'int' - fix capitalization of "Python" in PyLong_AsUnsignedLong - "is too large" -> "too large", for consistency with other messages.
-
- 22 Tem, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
PyStructSequence_InitType() except that it has a return value (0 on success, -1 on error). * PyStructSequence_InitType2() now raises MemoryError on memory allocation failure * Fix also some calls to PyDict_SetItemString(): handle error
-
- 17 Tem, 2013 2 kayıt (commit)
-
-
Victor Stinner yazdı
small integers (0 or 1 digit)
-
Victor Stinner yazdı
-
- 04 Haz, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
multiprocessing.h: remove unused MIN and MAX macros
-
- 17 Nis, 2013 1 kayıt (commit)
-
-
Victor Stinner yazdı
* Add also min_char attribute to _PyUnicodeWriter structure (currently unused) * _PyUnicodeWriter_Init() has no more argument (except the writer itself): min_length and overallocate must be set explicitly * In error handlers, only enable overallocation if the replacement string is longer than 1 character * CJK decoders don't use overallocation anymore * Set min_length, instead of preallocating memory using _PyUnicodeWriter_Prepare(), in many decoders * _PyUnicode_DecodeUnicodeInternal() checks for integer overflow
-
- 09 Şub, 2013 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
I've left a couple of them in: zlib (third-party lib), getaddrinfo.c (doesn't include Python.h, and probably obsolete), _sre.c (legitimate use for the re.LOCALE flag).
-
- 27 Ock, 2013 1 kayıt (commit)
-
-
Mark Dickinson yazdı
-
- 19 Ock, 2013 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
when result of PyInt_AsLong() or PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
-
Serhiy Storchaka yazdı
when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277.
-
- 14 Ock, 2013 1 kayıt (commit)
-
-
Serhiy Storchaka yazdı
when result of PyLong_AsLong() narrowed to int without checks.
-
- 28 Ara, 2012 2 kayıt (commit)
-
-
Serhiy Storchaka yazdı
-
Serhiy Storchaka yazdı
-
- 26 Ara, 2012 2 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
Gregory P. Smith yazdı
objects as the base by using PyNumber_AsSsize_t similar to round().
-
- 25 Ara, 2012 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
Consistent with the behavior in Python 2.
-
- 18 Eki, 2012 2 kayıt (commit)
-
-
Mark Dickinson yazdı
-
Mark Dickinson yazdı
-
- 17 Eki, 2012 1 kayıt (commit)
-
-
Christian Heimes yazdı
endianess detection and handling.
-
- 08 Eki, 2012 1 kayıt (commit)
-
-
Chris Jerdonek yazdı
-
- 07 Eki, 2012 1 kayıt (commit)
-
-
Chris Jerdonek yazdı
This commit rewrites the docstring for int() to incorporate the documentation changes made in issue #16036. It also switches the docstrings for int(), str(), range(), and slice() to use multi-line signatures.
-
- 06 Eki, 2012 1 kayıt (commit)
-
-
Mark Dickinson yazdı
-
- 04 Eki, 2012 1 kayıt (commit)
-
-
Victor Stinner yazdı
-
- 20 Eyl, 2012 1 kayıt (commit)
-
-
Mark Dickinson yazdı
-
- 12 Eyl, 2012 1 kayıt (commit)
-
-
Christian Heimes yazdı
Fix out of bounds read in long_new() for empty bytes with an explicit base. int(b'', somebase) calls PyLong_FromString() with char* of length 1 but the function accesses the first argument at offset 1. CID 715359
-