Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | add space | Benjamin Peterson | 2010-07-02 | 1 | -1/+1 |
| | |||||
* | remove unused last argument to property_copy | Benjamin Peterson | 2010-06-28 | 1 | -16/+12 |
| | |||||
* | Fix extra space. | Ezio Melotti | 2010-06-26 | 2 | -2/+2 |
| | |||||
* | remove INT_MAX assertions; they can fail with large Py_ssize_t #9058 | Benjamin Peterson | 2010-06-22 | 1 | -3/+0 |
| | |||||
* | fix warning with ucs4 | Benjamin Peterson | 2010-06-12 | 1 | -1/+2 |
| | |||||
* | Issue #8941: decoding big endian UTF-32 data in UCS-2 builds could crash | Antoine Pitrou | 2010-06-11 | 1 | -19/+21 |
| | | | | | the interpreter with characters outside the Basic Multilingual Plane (higher than 0x10000). | ||||
* | Issue #8930: fix some C code indentation | Antoine Pitrou | 2010-06-09 | 2 | -217/+217 |
| | |||||
* | remove extra byte and fix comment | Benjamin Peterson | 2010-06-07 | 1 | -2/+2 |
| | |||||
* | correctly overflow when indexes are too large | Benjamin Peterson | 2010-06-07 | 1 | -0/+4 |
| | |||||
* | locale grouping strings should end in '\0' | Benjamin Peterson | 2010-06-07 | 1 | -1/+1 |
| | |||||
* | Update PyUnicode_DecodeUTF8 from RFC 2279 to RFC 3629. | Ezio Melotti | 2010-06-05 | 1 | -63/+56 |
| | | | | | | | | | | | | | | | 1) #8271: when a byte sequence is invalid, only the start byte and all the valid continuation bytes are now replaced by U+FFFD, instead of replacing the number of bytes specified by the start byte. See http://www.unicode.org/versions/Unicode5.2.0/ch03.pdf (pages 94-95); 2) 5- and 6-bytes-long UTF-8 sequences are now considered invalid (no changes in behavior); 3) Add code and tests to reject surrogates (U+D800-U+DFFF) as defined in RFC 3629, but leave it commented out since it's not backward compatible; 4) Change the error messages "unexpected code byte" to "invalid start byte" and "invalid data" to "invalid continuation byte"; 5) Add an extensive set of tests in test_unicode; 6) Fix test_codeccallbacks because it was failing after this change. | ||||
* | Fix comment typo. | Mark Dickinson | 2010-06-05 | 1 | -1/+1 |
| | |||||
* | Issue #8627: Fix "XXX undetected error" from unchecked PyErr_WarnPy3k return. | Mark Dickinson | 2010-06-05 | 1 | -4/+10 |
| | | | | | This is just a quick fix: if the warning is turned into an exception, the exception simply gets ignored. | ||||
* | Issue #8627: remove out-of-date warning about overriding __cmp__ | Mark Dickinson | 2010-06-05 | 1 | -7/+0 |
| | |||||
* | _PyObject_LookupSpecial returns a new reference | Benjamin Peterson | 2010-06-05 | 1 | -0/+1 |
| | |||||
* | fix ref counting | Benjamin Peterson | 2010-06-05 | 1 | -1/+1 |
| | |||||
* | implement object.__format__ with PyObject_Format | Benjamin Peterson | 2010-06-05 | 1 | -12/+1 |
| | |||||
* | remove PyType_Ready call; float should be initialized in interpreter startup | Benjamin Peterson | 2010-06-05 | 1 | -6/+1 |
| | |||||
* | properly lookup the __format__ special method | Benjamin Peterson | 2010-06-05 | 1 | -21/+11 |
| | |||||
* | Issue #8748: Fix incorrect results from comparisons between an integer | Mark Dickinson | 2010-05-30 | 1 | -9/+54 |
| | | | | and a complex instance. Based on a patch by Meador Inge. | ||||
* | Remove declaration for unused variable. | Mark Dickinson | 2010-05-30 | 1 | -1/+0 |
| | |||||
* | Issue #5211: Complete removal of implicit coercions for the complex | Mark Dickinson | 2010-05-30 | 1 | -19/+2 |
| | | | | | type. Coercion for arithmetic operations was already removed in r78280, but that commit didn't remove coercion for rich comparisons. | ||||
* | #8635: document enumerate() start parameter in docstring. | Georg Brandl | 2010-05-22 | 1 | -3/+4 |
| | |||||
* | Issue #7079: Fix a possible crash when closing a file object while using | Antoine Pitrou | 2010-05-17 | 1 | -2/+4 |
| | | | | it from another thread. Patch by Daniel Stutzbach. | ||||
* | Wrap multiline macros in a 'do {} while(0)', for safety. | Mark Dickinson | 2010-05-09 | 1 | -37/+43 |
| | |||||
* | Post-detabification cleanup: whitespace fixes and long line rewraps only. | Mark Dickinson | 2010-05-09 | 1 | -159/+155 |
| | |||||
* | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 34 | -37897/+37897 |
| | |||||
* | Issue #8659: Remove redundant ABS calls. Thanks Daniel Stutzbach. | Mark Dickinson | 2010-05-08 | 1 | -5/+2 |
| | |||||
* | Add back in a line that was unneeded which advanced a pointer, but commented | Brett Cannon | 2010-05-06 | 1 | -0/+1 |
| | | | | | | out as it is currently unneeded. This effectively adds back in the line removed in r80809 as a comment. | ||||
* | Remove an unneeded assignment. | Brett Cannon | 2010-05-05 | 1 | -2/+2 |
| | | | | Found using Clang's static analyzer. | ||||
* | Remove an unneeded variable assignment. | Brett Cannon | 2010-05-05 | 1 | -2/+1 |
| | | | | Found using Clang's static analyzer. | ||||
* | Remove an unneeded variable. | Brett Cannon | 2010-05-05 | 1 | -2/+0 |
| | | | | Found using Clang's static analyzer. | ||||
* | Remove an unneeded variable increment. | Brett Cannon | 2010-05-05 | 1 | -1/+0 |
| | | | | Found using Clang's static analyzer. | ||||
* | Issue #8404: Fix set operations on dictionary views. | Alexandre Vassalotti | 2010-05-04 | 1 | -3/+6 |
| | |||||
* | Pull a NULL pointer check up to cover more cases in the function. | Brett Cannon | 2010-05-04 | 1 | -2/+4 |
| | | | | Found using Clang's static analyzer. | ||||
* | Remove an unneeded variable and assignment. | Brett Cannon | 2010-05-04 | 1 | -3/+2 |
| | | | | Found using Clang's static analyzer. | ||||
* | Improve error message from nb_int returning a non-integer, in various ↵ | Mark Dickinson | 2010-05-02 | 1 | -4/+4 |
| | | | | PyInt_As* functions: | ||||
* | Issue 8436: set.__init__ accepts keyword args | Raymond Hettinger | 2010-04-18 | 1 | -0/+2 |
| | |||||
* | tiny simplification | Benjamin Peterson | 2010-04-16 | 1 | -2/+1 |
| | |||||
* | have a clear error when passing something > sys.maxsize to bytearray | Benjamin Peterson | 2010-04-16 | 1 | -7/+11 |
| | |||||
* | Issue #8328: Silence Visual Studio warnings. | Stefan Krah | 2010-04-07 | 1 | -6/+6 |
| | |||||
* | Silence a 'comparison between signed and unsigned integer expressions' gcc ↵ | Mark Dickinson | 2010-04-06 | 1 | -1/+1 |
| | | | | warning. | ||||
* | Issue #8259: Get rid of 'outrageous left shift count' error when | Mark Dickinson | 2010-04-06 | 1 | -14/+6 |
| | | | | | left-shifting an integer by more than 2**31 on a 64-bit machine. Also convert shift counts to a Py_ssize_t instead of a C long. | ||||
* | Use a better NaN test in _Py_HashDouble as well. | Mark Dickinson | 2010-04-05 | 1 | -3/+6 |
| | |||||
* | Use a more robust infinity check in _Py_HashDouble. | Mark Dickinson | 2010-04-05 | 1 | -3/+3 |
| | | | | | This fixes a test_decimal failure on FreeBSD 8.0. (modf apparently doesn't follow C99 Annex F on FreeBSD.) | ||||
* | Silence a compiler warning. | Raymond Hettinger | 2010-04-03 | 1 | -1/+1 |
| | |||||
* | more _PyString_Resize error checking | Benjamin Peterson | 2010-04-03 | 2 | -12/+18 |
| | |||||
* | always check _PyString_Resize for error | Benjamin Peterson | 2010-04-02 | 1 | -10/+12 |
| | | | | also normalize how this error is checked | ||||
* | Issue 7994: Make object.__format__ with a non-empty format string a ↵ | Eric Smith | 2010-04-02 | 2 | -14/+62 |
| | | | | PendingDecprecationWarning. Still need to remove uses of this from various tests. | ||||
* | Capsule-related changes: | Larry Hastings | 2010-04-02 | 1 | -0/+20 |
| | | | | | | | | | | | * PyCObject_AsVoidPtr() can now open capsules. This addresses most of the remaining backwards-compatibility concerns about the conversion of Python 2.7 from CObjects to capsules. * CObjects were marked Pending Deprecation. * Documentation about this pending deprecation was added to cobject.h. * The capsule source files were added to the legacy PC build processes. |