3545 Commits (f89ebdc358402588db893e18e4dd31bc8272b7bf)

Author SHA1 Message Date
Victor Stinner 3a50e7056e Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore 14 years ago
Victor Stinner 9ea8e4c29d Instantiate the OS-related exception as soon as we raise it, so that "except" 15 years ago
Antoine Pitrou 707033a694 Issue #13146: Writing a pyc file is now atomic under POSIX. 15 years ago
Martin v. Löwis 1c67dd9b15 Port SetAttrString/HasAttrString to SetAttrId/GetAttrId. 15 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 15 years ago
Victor Stinner f5cff56a1b Issue #13088: Add shared Py_hexdigits constant to format a number into base 16 15 years ago
Victor Stinner 9d663d0788 convertsimple(): "str without bytes" => "str without characters" 15 years ago
Antoine Pitrou 5d6fbe8207 Instantiate the OS-related exception as soon as we raise it, so that 15 years ago
Antoine Pitrou 6b4883dec0 PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. 15 years ago
Victor Stinner 8c9818980b Fix typo in import.c 15 years ago
Victor Stinner c4f281eba3 Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead 15 years ago
Victor Stinner beac78bb24 Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE() 15 years ago
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 15 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 15 years ago
Martin v. Löwis c47adb04b3 Change PyUnicode_KIND to 1,2,4. Drop _KIND_SIZE and _CHARACTER_SIZE. 15 years ago
Victor Stinner 46084bad88 Fix find_module_path(): make the string ready 15 years ago
Victor Stinner b62a7b268a Fix _warnings.c: make the filename string ready 15 years ago
Victor Stinner fb9ea8c57e Don't check for the maximum character when copying from unicodeobject.c 15 years ago
Victor Stinner a336de7ae1 traceback: fix dump_ascii() for string with kind=PyUnicode_WCHAR_KIND 15 years ago
Victor Stinner c3cec7868b Add asciilib: similar to ucs1, ucs2 and ucs4 library, but specialized to ASCII 15 years ago
Victor Stinner e1335c711c Fix usage og PyUnicode_READY() 15 years ago
Victor Stinner d2a915dbf6 ceval.c: restore str+=str optimization 15 years ago
Victor Stinner 67002af323 Check error when calling PyUnicode_AppendAndDel() 15 years ago
Victor Stinner 1a15aba71d PyCodec_ReplaceErrors() uses "C" format instead of "u#" to build result 15 years ago
Benjamin Peterson 014cc42db8 remove unused label 15 years ago
Martin v. Löwis 0b1d348990 Issue 13085: Fix some memory leaks. Patch by Stefan Krah. 15 years ago
Benjamin Peterson 811c2f1369 remove "fast-path" for (i)adding strings 15 years ago
Victor Stinner bec0fda264 Remove commented code: str+=str is no more super-optimized 15 years ago
Victor Stinner d9c563e84d modsupport.c reuses Py_UNICODE_strlen() 15 years ago
Victor Stinner 639418812f Use the new Py_ARRAY_LENGTH macro 15 years ago
Ezio Melotti 48a2f8fd97 #13054: sys.maxunicode is now always 0x10FFFF. 15 years ago
Victor Stinner fd85c3aa8d fill_number() and format_string_internal() check for PyUnicode_CopyCharacters() failure 15 years ago
Victor Stinner dba2deeca2 fill_number() ensures that the 'digits' string is ready 15 years ago
Victor Stinner afbaa20fb9 fill_char() can now propagate an error 15 years ago
Victor Stinner 6c7a52a46f Check for PyUnicode_CopyCharacters() failure 15 years ago
Georg Brandl 4cb0de246c Rename new macros to conform to naming rules (function macros have "Py" prefix, not "PY"). 15 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Victor Stinner 53ffdc53bf Issue #7732: Don't open a directory as a file anymore while importing a 15 years ago
Stefan Krah 472d280d8b Issue #13002: Fix Visual Studio warning (not enough actual parameters). 15 years ago
Barry Warsaw 916048d780 - Issue #13021: Missing decref on an error path. Thanks to Suman Saha for 15 years ago
Victor Stinner 9561d7c526 import.c: remove now useless arbitrary limit 15 years ago
Victor Stinner 1619132e5d Fix the import machinery if there is an error on sys.path or sys.meta_path 15 years ago
Victor Stinner 0af0306396 Remove unused variable if Python is build without threads 15 years ago
Benjamin Peterson 0224d4e699 accept bytes for the AST 'string' type 15 years ago
Benjamin Peterson 4058211e8d accept bytes for the AST 'string' type 15 years ago
Benjamin Peterson ea281a54f3 include header with PyAST_Validate 15 years ago
Benjamin Peterson 832bfe2ebd add a AST validator (closes #12575) 15 years ago
Benjamin Peterson e249841903 add a asdl bytes type, so Bytes.s be properly typechecked 15 years ago
Benjamin Peterson 405f32c14c plug refleak 15 years ago
Benjamin Peterson 4f921c2e06 bytes -> bytearray 15 years ago