| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Issue #23055: Fixed read-past-the-end error in PyUnicode_FromFormatV. | Serhiy Storchaka | 2015-01-30 | 1 | -0/+2 |
| | | |||||
| * | Issue #23055: Fixed a buffer overflow in PyUnicode_FromFormatV. Analysis | Serhiy Storchaka | 2015-01-27 | 1 | -17/+20 |
| | | | | | and fix by Guido Vranken. | ||||
| * | Fix unicode_aswidechar() for 4b unicode and 2b wchar_t (AIX). | Georg Brandl | 2014-10-01 | 1 | -1/+1 |
| | | |||||
| * | Issue #17043: The unicode-internal decoder no longer read past the end of | Serhiy Storchaka | 2013-02-07 | 1 | -27/+24 |
| | | | | | input buffer. | ||||
| * | Issue #16979: Fix error handling bugs in the unicode-escape-decode decoder. | Serhiy Storchaka | 2013-01-29 | 1 | -51/+28 |
| | | |||||
| * | Issue #10156: In the interpreter's initialization phase, unicode globals | Serhiy Storchaka | 2013-01-26 | 1 | -52/+45 |
| | | | | | are now initialized dynamically as needed. | ||||
| * | Issue #16335: Fix integer overflow in unicode-escape decoder. | Serhiy Storchaka | 2013-01-21 | 1 | -1/+2 |
| | | |||||
| * | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 1 | -2/+2 |
| | | | | | | | when result of PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| * | Issue #14850: Now a chamap decoder treates U+FFFE as "undefined mapping" | Serhiy Storchaka | 2013-01-15 | 1 | -21/+25 |
| | | | | | in any mapping, not only in an unicode string. | ||||
| * | Issue #11461: Fix the incremental UTF-16 decoder. Original patch by | Serhiy Storchaka | 2013-01-08 | 1 | -1/+4 |
| | | | | | | Amaury Forgeot d'Arc. Added tests for partial decoding of non-BMP characters. | ||||
| * | Fix out of bound read in UTF-32 decoder on "narrow Unicode" builds. | Serhiy Storchaka | 2013-01-08 | 1 | -1/+1 |
| | | |||||
| * | Issue #16455: On FreeBSD and Solaris, if the locale is C, the | Victor Stinner | 2013-01-03 | 1 | -4/+4 |
| | | | | | | | | ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice. | ||||
| * | Fix the internals of our hash functions to used unsigned values during hash | Gregory P. Smith | 2012-12-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | computation as the overflow behavior of signed integers is undefined. In practice we require compiling everything with -fwrapv which forces overflow to be defined as twos compliment but this keeps the code cleaner for checkers or in the case where someone has compiled it without -fwrapv or their compiler's equivalent. Found by Clang trunk's Undefined Behavior Sanitizer (UBSan). Cleanup only - no functionality or hash values change. | ||||
| * | Issue #16416: On Mac OS X, operating system data are now always | Victor Stinner | 2012-12-03 | 1 | -4/+5 |
| | | | | | | | | encoded/decoded to/from UTF-8/surrogateescape, instead of the locale encoding (which may be ASCII if no locale environment variable is set), to avoid inconsistencies with os.fsencode() and os.fsdecode() functions which are already using UTF-8/surrogateescape. | ||||
| * | initialize more global type objects (closes #16369) | Benjamin Peterson | 2012-10-31 | 1 | -0/+6 |
| | | |||||
| * | Issue #14700: Fix buggy overflow checks for large precision and width in ↵ | Mark Dickinson | 2012-10-28 | 1 | -2/+2 |
| | | | | | new-style and old-style formatting. | ||||
| * | Issue #14783: Improve int() docstring and also str(), range(), and slice(). | Chris Jerdonek | 2012-10-07 | 1 | -1/+2 |
| | | | | | | | 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. | ||||
| * | Issue #15379: Fix passing of non-BMP characters as integers for the charmap ↵ | Antoine Pitrou | 2012-09-23 | 1 | -2/+26 |
| | | | | | | | decoder (already working as unicode strings). Patch by Serhiy Storchaka. | ||||
| * | use the stricter PyMapping_Check (closes #15801) | Benjamin Peterson | 2012-08-28 | 1 | -2/+1 |
| | | |||||
| * | Fix str docstring | Nick Coghlan | 2012-08-16 | 1 | -4/+8 |
| | | |||||
| * | Issue #14579: Fix CVE-2012-2135: vulnerability in the utf-16 decoder after ↵ | Antoine Pitrou | 2012-07-20 | 1 | -31/+21 |
| | | | | | | | error handling. Patch by Serhiy Storchaka. | ||||
| * | merge 3.1 (#14509) | Benjamin Peterson | 2012-04-09 | 1 | -0/+2 |
| |\ | |||||
| | * | fix build without Py_DEBUG and DNDEBUG (closes #14509) | Benjamin Peterson | 2012-04-09 | 1 | -0/+2 |
| | | | |||||
| * | | kill this terribly outdated comment | Benjamin Peterson | 2012-03-26 | 1 | -4/+0 |
| | | | |||||
| * | | merge 3.2 | Benjamin Peterson | 2012-02-21 | 1 | -0/+1 |
| |\ \ | |/ | |||||
| | * | ensure no one tries to hash things before the random seed is found | Benjamin Peterson | 2012-02-21 | 1 | -0/+1 |
| | | | |||||
| * | | Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵ | Georg Brandl | 2012-02-20 | 1 | -1/+11 |
| |\ \ | |/ | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
| | * | Issue #13703: add a way to randomize the hash values of basic types (str, ↵ | Georg Brandl | 2012-02-20 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior. | ||||
| * | | Issue #13913: normalize utf-8 codec name in UTF-8 decoder | Victor Stinner | 2012-02-14 | 1 | -1/+1 |
| | | | |||||
| * | | Issue #13848: open() and the FileIO constructor now check for NUL characters ↵ | Antoine Pitrou | 2012-01-29 | 1 | -0/+13 |
| | | | | | | | | | | | | | in the file name. Patch by Hynek Schlawack. | ||||
| * | | Consolidate the occurrances of the prime used as the multiplier when hashing | Gregory P. Smith | 2012-01-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | to a single #define instead of having several copies in several files. This excludes the Modules/ tree (datetime and expat both have a copy for their own purposes with no need for it to be the same). | ||||
| * | | fix possible if unlikely leak | Benjamin Peterson | 2011-12-20 | 1 | -1/+5 |
| | | | |||||
| * | | Issue #13093: Fix error handling on PyUnicode_EncodeDecimal() | Victor Stinner | 2011-11-22 | 1 | -6/+4 |
| | | | | | | | | | | | * Add tests for PyUnicode_EncodeDecimal() and PyUnicode_TransformDecimalToASCII() * Remove the unused "e" variable in replace() | ||||
| * | | Issue #13333: The UTF-7 decoder now accepts lone surrogates | Antoine Pitrou | 2011-11-15 | 1 | -9/+5 |
| | | | | | | | | | (the encoder already accepts them). | ||||
| * | | Fix PyUnicode_AsWideCharString() doc: size doesn't contain the null character | Victor Stinner | 2011-09-06 | 1 | -5/+5 |
| | | | | | | | | | Fix also spelling of the null character. | ||||
| * | | #9200: The str.is* methods now work with strings that contain non-BMP ↵ | Ezio Melotti | 2011-08-22 | 1 | -41/+60 |
| | | | | | | | | | characters even in narrow Unicode builds. | ||||
| * | | the named of the character is actually NUL | Benjamin Peterson | 2011-08-18 | 1 | -1/+1 |
| | | | |||||
| * | | NUL -> NULL | Benjamin Peterson | 2011-08-18 | 1 | -1/+1 |
| | | | |||||
| * | | #12266: Fix str.capitalize() to correctly uppercase/lowercase titlecased and ↵ | Ezio Melotti | 2011-08-15 | 1 | -2/+2 |
| | | | | | | | | | cased non-letter characters. | ||||
| * | | in narrow builds, make sure to test codepoints as identifier characters ↵ | Benjamin Peterson | 2011-08-13 | 1 | -8/+23 |
| | | | | | | | | | | | | | (closes #12732) This fixes the use of Unicode identifiers outside the BMP in narrow builds. | ||||
| * | | Fix closes Issue12621 - Fix docstrings of find and rfind methods of ↵ | Senthil Kumaran | 2011-07-27 | 1 | -2/+2 |
| | | | | | | | | | bytes/bytearry/unicodeobject. | ||||
| * | | Fix closes issue12471 - wrong TypeError message when '%i' format spec was used. | Senthil Kumaran | 2011-07-04 | 1 | -3/+1 |
| | | | |||||
| * | | Issue #10914: Initialize correctly the filesystem codec when creating a new | Victor Stinner | 2011-04-26 | 1 | -7/+22 |
| | | | | | | | | | | | | | | | subinterpreter to fix a bootstrap issue with codecs implemented in Python, as the ISO-8859-15 codec. Add fscodec_initialized attribute to the PyInterpreterState structure. | ||||
| * | | #6780: merge with 3.1. | Ezio Melotti | 2011-04-26 | 1 | -3/+10 |
| |\ \ | |/ | |||||
| | * | #6780: fix starts/endswith error message to mention that tuples are accepted ↵ | Ezio Melotti | 2011-04-26 | 1 | -7/+14 |
| | | | | | | | | | too. | ||||
| * | | MERGE: startswith and endswith don't accept None as slice index. Patch by ↵ | Jesus Cea | 2011-04-20 | 1 | -19/+16 |
| |\ \ | |/ | | | | | Torsten Becker. (closes #11828) | ||||
| | * | startswith and endswith don't accept None as slice index. Patch by Torsten ↵ | Jesus Cea | 2011-04-20 | 1 | -19/+16 |
| | | | | | | | | | Becker. (closes #11828) | ||||
| | * | Merged revisions 86277 via svnmerge from | Eric Smith | 2010-11-06 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86277 | eric.smith | 2010-11-06 15:27:37 -0400 (Sat, 06 Nov 2010) | 1 line Added more to docstrings for str.format, format_map, and __format__. ........ | ||||
| | * | Merged revisions 81936 via svnmerge from | Georg Brandl | 2010-10-17 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r81936 | mark.dickinson | 2010-06-12 11:10:14 +0200 (Sa, 12 Jun 2010) | 2 lines Silence 'unused variable' gcc warning. Patch by Éric Araujo. ........ | ||||
| | * | Merged revisions 84394 via svnmerge from | Antoine Pitrou | 2010-09-01 | 1 | -27/+26 |
| | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84394 | antoine.pitrou | 2010-09-01 17:10:12 +0200 (mer., 01 sept. 2010) | 4 lines Issue #7415: PyUnicode_FromEncodedObject() now uses the new buffer API properly. Patch by Stefan Behnel. ........ | ||||
