Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 9856: Change object.__format__ with a non-empty format string from a ↵ | Eric V. Smith | 2011-03-12 | 1 | -13/+13 |
| | | | | PendingDeprecationWarning to a DeprecationWarning. | ||||
* | Issue #9935: Speed up pickling of instances of user-defined classes. | Antoine Pitrou | 2011-03-11 | 1 | -30/+48 |
| | |||||
* | avoid casting with this nice macro | Benjamin Peterson | 2011-03-06 | 1 | -2/+1 |
| | |||||
* | Issue #3080: Add PyModule_NewObject() function | Victor Stinner | 2011-03-04 | 1 | -7/+16 |
| | |||||
* | Issue #11386: Fixed the exception thrown by bytearray.pop() for empty bytearrays | Eli Bendersky | 2011-03-04 | 1 | -2/+2 |
| | |||||
* | Issue #10516: added copy() and clear() methods to bytearrays as well | Eli Bendersky | 2011-03-03 | 1 | -0/+26 |
| | |||||
* | #11335: Fix memory leak when a sort key function throws an exception | Daniel Stutzbach | 2011-03-02 | 1 | -0/+2 |
| | |||||
* | Fix my previous commit (r88709) for str.encode(errors=...) | Victor Stinner | 2011-03-02 | 1 | -5/+10 |
| | |||||
* | Issue #8923: cache str.encode() result | Victor Stinner | 2011-03-02 | 1 | -9/+16 |
| | | | | | | When a string is encoded to UTF-8 in strict mode, the result is cached into the object. Examples: str.encode(), str.encode('utf-8'), PyUnicode_AsUTF8String() and PyUnicode_AsEncodedString(unicode, "utf-8", NULL). | ||||
* | Remove useless argument of _PyUnicode_AsDefaultEncodedString() | Victor Stinner | 2011-03-02 | 2 | -6/+3 |
| | |||||
* | Issue #10831: PyUnicode_FromFormat() supports %li, %lli and %zi formats | Victor Stinner | 2011-03-02 | 1 | -9/+5 |
| | |||||
* | Fix my previous commit (r88702): initialize size_tflag in parse_format_flags() | Victor Stinner | 2011-03-02 | 1 | -0/+1 |
| | |||||
* | Issue #10829: Refactor PyUnicode_FromFormat() | Victor Stinner | 2011-03-01 | 1 | -69/+82 |
| | | | | | * Use the same function to parse the format string in the 3 steps * Fix crashs on invalid format strings | ||||
* | Issue #11246: Fix PyUnicode_FromFormat("%V") | Victor Stinner | 2011-03-01 | 1 | -7/+19 |
| | | | | | Decode the byte string from UTF-8 (with replace error handler) instead of ISO-8859-1 (in strict mode). Patch written by Ray Allen. | ||||
* | PEP 7 conformance changes (whitespace only). | Alexander Belopolsky | 2011-02-26 | 1 | -284/+350 |
| | |||||
* | Issue #11303: Added shortcuts for utf8 and latin1 encodings. | Alexander Belopolsky | 2011-02-25 | 1 | -4/+10 |
| | | | | | Documented the list of optimized encodings as CPython implementation detail. | ||||
* | Issue #10516: adding list.clear() and list.copy() methods | Eli Bendersky | 2011-02-25 | 1 | -1/+20 |
| | |||||
* | Issue #11286: Raise a ValueError from calling PyMemoryView_FromBuffer with | Antoine Pitrou | 2011-02-24 | 1 | -0/+5 |
| | | | | a buffer struct having a NULL data pointer. | ||||
* | Issue #3080: Add PyModule_GetNameObject() | Victor Stinner | 2011-02-23 | 1 | -14/+29 |
| | | | | | repr(module) uses %R to format module name and filenames, instead of '%s' and '%U', so surrogates from undecodable bytes in a filename (PEP 383) are escaped. | ||||
* | Issue #8914: fix various warnings from the Clang static analyzer v254. | Brett Cannon | 2011-02-22 | 8 | -21/+22 |
| | |||||
* | Fix PyUnicode_FromFormatV("%c") for non-BMP char | Victor Stinner | 2011-02-21 | 1 | -2/+23 |
| | | | | | Issue #10830: Fix PyUnicode_FromFormatV("%c") for non-BMP characters on narrow build. | ||||
* | Remove bootstrap code of PyUnicode_AsEncodedString() | Victor Stinner | 2011-02-21 | 1 | -15/+0 |
| | | | | | | | | Issue #11187: Remove bootstrap code (use ASCII) of PyUnicode_AsEncodedString(), it was replaced by a better fallback (use the locale encoding) in PyUnicode_EncodeFSDefault(). Prepare also empty sections in NEWS. | ||||
* | - Check for NULL result in PyType_FromSpec. | Martin v. Löwis | 2011-02-21 | 1 | -0/+2 |
| | |||||
* | #11249: in PyType_FromSpec, copy tp_doc slot since it usually will point to ↵ | Georg Brandl | 2011-02-19 | 1 | -0/+11 |
| | | | | a static string literal which should not be deallocated together with the type. | ||||
* | Issue #11134: Add missing fields to typeslots.h. | Martin v. Löwis | 2011-02-11 | 1 | -0/+3 |
| | | | | Reviewed by Georg Brandl. | ||||
* | Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check | Martin v. Löwis | 2011-02-05 | 1 | -0/+6 |
| | | | | in the limited ABI | ||||
* | Issue #11302: missing type check on _string.formatter_field_name_split and ↵ | Eric Smith | 2011-01-29 | 1 | -0/+10 |
| | | | | | | _string.formatter_parser caused crash. Originial patch by haypo, reviewed by me, okayed by Georg. | ||||
* | Issue #10451: memoryview objects could allow to mutate a readable buffer. | Antoine Pitrou | 2011-01-18 | 1 | -3/+0 |
| | | | | Initial patch by Ross Lagerwall. | ||||
* | remove unneeded assertion | Benjamin Peterson | 2011-01-17 | 1 | -1/+0 |
| | |||||
* | correct assertion | Benjamin Peterson | 2011-01-17 | 1 | -1/+1 |
| | |||||
* | turn some checks into assertions, since they are implied by the caller | Benjamin Peterson | 2011-01-17 | 1 | -4/+2 |
| | | | | Reviewed by Georg. | ||||
* | rangeobject.c (compute_slice_indices): Make function static. | Matthias Klose | 2011-01-16 | 1 | -1/+1 |
| | |||||
* | plug reference leak | Benjamin Peterson | 2011-01-13 | 1 | -2/+4 |
| | |||||
* | use PyErr_SetString instead of PyErr_Format | Benjamin Peterson | 2011-01-12 | 1 | -2/+2 |
| | |||||
* | don't segfault on deleting __abstractmethods__ #10892 | Benjamin Peterson | 2011-01-12 | 1 | -2/+11 |
| | |||||
* | Issue 10889: Support slicing and indexing of large ranges (no docs changes, ↵ | Nick Coghlan | 2011-01-12 | 1 | -67/+306 |
| | | | | since, as far as I know, we never said anywhere that this *didn't* work) | ||||
* | Issue #8020: Avoid a crash where the small objects allocator would read | Antoine Pitrou | 2011-01-07 | 1 | -6/+22 |
| | | | | | non-Python managed memory while it is being modified by another thread. Patch by Matt Bandy. | ||||
* | Drop bf_getbuffer/bf_releasebuffer from stable ABI, | Martin v. Löwis | 2011-01-06 | 1 | -3/+3 |
| | | | | see #10181. | ||||
* | Support comment lines and missing indices in typeslots.h. | Martin v. Löwis | 2011-01-06 | 1 | -1/+6 |
| | |||||
* | Remove arbitrary string length limits | Victor Stinner | 2011-01-05 | 1 | -2/+2 |
| | | | | | PyUnicode_FromFormat() and PyErr_Format() allocates a buffer of the needed size, it is no more a fixed-buffer of 500 bytes. | ||||
* | Issue #9015, #9611: stdprinter.write() clamps the length to 2^31-1 on Windows | Victor Stinner | 2011-01-04 | 1 | -2/+8 |
| | |||||
* | Issue #9566: use Py_ssize_t instead of int | Victor Stinner | 2011-01-04 | 3 | -6/+7 |
| | |||||
* | Removed unneeded #include | Alexander Belopolsky | 2010-12-22 | 1 | -2/+0 |
| | |||||
* | #5587: add a repr to dict_proxy objects. Patch by David Stanek and Daniel ↵ | Ezio Melotti | 2010-12-18 | 1 | -1/+7 |
| | | | | Urban. | ||||
* | #4236: avoid possible Fatal Error when import is called from __del__ | R. David Murray | 2010-12-14 | 1 | -2/+3 |
| | | | | Patch by Simon Cross, crasher test code by Martin von Löwis. | ||||
* | remove (un)transform methods | Benjamin Peterson | 2010-12-12 | 3 | -181/+1 |
| | |||||
* | Reverted accidental commit (from r87159) | Alexander Belopolsky | 2010-12-10 | 1 | -17/+3 |
| | |||||
* | Updated UCD version and unicode.org links to Unicode 6.0.0 | Alexander Belopolsky | 2010-12-10 | 1 | -3/+17 |
| | |||||
* | use the more direct API | Benjamin Peterson | 2010-12-07 | 1 | -3/+3 |
| | |||||
* | return views from dict proxy items/values/keys #10630 | Benjamin Peterson | 2010-12-07 | 1 | -3/+3 |
| |