summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge #13159: Replace FileIO's quadratic-time buffer growth algorithm with a ↵Nadeem Vawda2011-10-133-27/+11
|\ | | | | | | | | | | linear-time one. Also fix the bz2 module, which suffered from the same problem.
| * Issue #13159: Replace FileIO's quadratic-time buffer growth algorithm with a ↵Nadeem Vawda2011-10-133-30/+11
| | | | | | | | | | | | linear-time one. Also fix the bz2 module, whose classes used the same algorithm.
* | Optimize unicode_subscript() for step != 1 and ascii stringsVictor Stinner2011-10-121-8/+12
| |
* | Don't use PyUnicode_MAX_CHAR_VALUE() macro in Py_MAX()Victor Stinner2011-10-121-2/+3
| |
* | Simplify PyUnicode_MAX_CHAR_VALUEVictor Stinner2011-10-121-6/+5
| | | | | | | | | | | | | | Use PyUnicode_IS_ASCII instead of PyUnicode_IS_COMPACT_ASCII, so the following test can be removed: PyUnicode_DATA(op) == (((PyCompactUnicodeObject *)(op))->utf8)
* | Optimize findchar() for PyUnicode_1BYTE_KIND: use memchr and memrchrVictor Stinner2011-10-121-0/+8
| |
* | Issue #13155: Optimize finding the optimal character width of an unicode stringAntoine Pitrou2011-10-123-87/+206
| |
* | Unicode replace() avoids calling unicode_adjust_maxchar() when it's uselessVictor Stinner2011-10-121-40/+38
| | | | | | | | Add also a special case if the result is an empty string.
* | Issue #13157: Fix building Python outside its source treeVictor Stinner2011-10-121-88/+92
| |
* | Issue #12367: Add a test on error attribute of select.errorVictor Stinner2011-10-121-3/+15
| | | | | | | | | | Thanks to the PEP 3151, select.error (which is just an alias to OSError) has now an error attribute.
* | What's New in Python 3.3: mention the PEP 3151Victor Stinner2011-10-121-0/+63
| |
* | Replace mentions of IOErrorAntoine Pitrou2011-10-1217-39/+85
| |
* | Instantiate the OS-related exception as soon as we raise it, so thatAntoine Pitrou2011-10-122-6/+22
| | | | | | | | "except" works properly.
* | This shameful limitation of the fileinput module is not relevant anymore.Antoine Pitrou2011-10-121-4/+0
| |
* | Fix some mentions of IOErrorAntoine Pitrou2011-10-124-6/+14
| |
* | Fix mentions of IOError in the io module docsAntoine Pitrou2011-10-121-9/+13
| |
* | Update doc for BlockingIOError and its alias in the io moduleAntoine Pitrou2011-10-122-10/+11
| |
* | Replace mentions of WindowsErrorAntoine Pitrou2011-10-122-13/+56
| |
* | Replace a mention of EnvironmentError in the distutils docs.Antoine Pitrou2011-10-121-6/+5
| |
* | Update index entriesAntoine Pitrou2011-10-121-3/+17
| |
* | Update the C-API docs for exception typesAntoine Pitrou2011-10-121-59/+110
| |
* | Replace mentions of socket.error.Antoine Pitrou2011-10-125-25/+30
| |
* | Mention the merging of other exceptions into OSError.Antoine Pitrou2011-10-121-0/+5
| |
* | Minimal update of select docs for PEP 3151.Antoine Pitrou2011-10-121-8/+4
| |
* | Minimal update of socket docs for PEP 3151.Antoine Pitrou2011-10-121-11/+12
| | | | | | | | More editing is probably desirable.
* | Update exceptions doc for PEP 3151Antoine Pitrou2011-10-121-53/+142
| |
* | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.Antoine Pitrou2011-10-1221-441/+676
| |
* | Backed out changeset 952d91a7d376Victor Stinner2011-10-111-1/+1
| | | | | | | | If maxchar == PyUnicode_MAX_CHAR_VALUE(unicode), we do an useless copy.
* | Relax conditionAntoine Pitrou2011-10-111-1/+1
| |
* | stringlib: Fix STRINGLIB_STR for UCS2/UCS4Victor Stinner2011-10-112-2/+2
| |
* | Fix compiler warning in _PyUnicode_FromUCS2()Victor Stinner2011-10-111-1/+1
| |
* | Fix fastsearch for UCS2 and UCS4Victor Stinner2011-10-118-2/+15
| | | | | | | | | | * If needle is 0, try (p[0] >> 16) & 0xff for UCS4 * Disable fastsearch_memchr_1char() if needle is zero for UCS2 and UCS4
* | Fix FileIO.readall() (new_buffersize()) for large filesVictor Stinner2011-10-111-1/+5
| | | | | | | | Truncate the buffer size to PY_SSIZE_T_MAX.
* | Use _PyUnicode_CONVERT_BYTES() where applicable.Antoine Pitrou2011-10-111-12/+17
| |
* | MergeAntoine Pitrou2011-10-111-4/+4
|\ \
| * | Fix io.FileIO.readall() on Windows 64 bitsVictor Stinner2011-10-111-4/+4
| | | | | | | | | | | | Use Py_off_t type (64 bits) instead of off_t (32 bits).
* | | Fix deprecation warningAntoine Pitrou2011-10-111-2/+2
|/ /
* | Fix a compiler warning in _localeVictor Stinner2011-10-111-1/+1
| |
* | Fix a compiler warning in zipimportVictor Stinner2011-10-111-1/+1
| |
* | Fix typo in import.cVictor Stinner2011-10-111-1/+1
| |
* | PyUnicode_AsUnicodeCopy() now checks if PyUnicode_AsUnicode() failedVictor Stinner2011-10-111-2/+5
| |
* | Strip trailing spaces in _json.cVictor Stinner2011-10-111-15/+15
| |
* | Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH insteadVictor Stinner2011-10-116-12/+10
| |
* | Reuse PyUnicode_Copy() in validate_and_copy_tuple()Victor Stinner2011-10-111-3/+1
| |
* | Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE()Victor Stinner2011-10-113-9/+15
| |
* | Issue #13136: speed up conversion between different character widths.Antoine Pitrou2011-10-111-5/+14
| |
* | Issue #13134: optimize finding single-character strings using memchrAntoine Pitrou2011-10-114-1/+95
| |
* | MergeAntoine Pitrou2011-10-111-4/+4
|\ \
| * \ Merge issue #13145 fix.Mark Dickinson2011-10-111-4/+4
| |\ \ | | |/
| | * Issue #13145. Fix incorrect documentation for PyNumber_ToBase. Thanks Sven ↵Mark Dickinson2011-10-111-4/+4
| | | | | | | | | | | | Marnach.