summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis2011-10-1457-262/+262
|
* Merge with 3.2: Issue #13158: Fix decoding and encoding of base-256 number ↵Lars Gustäbel2011-10-143-21/+49
|\ | | | | | | | | | | | | | | fields in tarfile. The nti() function that converts a number field from a tar header to a number failed to decode GNU tar specific base-256 fields. I also added support for decoding and encoding negative base-256 number fields.
| * Issue #13158: Fix decoding and encoding of base-256 number fields in tarfile.Lars Gustäbel2011-10-143-21/+49
| | | | | | | | | | | | The nti() function that converts a number field from a tar header to a number failed to decode GNU tar specific base-256 fields. I also added support for decoding and encoding negative base-256 number fields.
* | (Merge 3.2) Issue #13025: mimetypes is now reading MIME types using the UTF-8Victor Stinner2011-10-144-3/+1464
|\ \ | |/ | | | | encoding, instead of the locale encoding.
| * Issue #13025: mimetypes is now reading MIME types using the UTF-8 encoding,Victor Stinner2011-10-144-3/+1464
| | | | | | | | instead of the locale encoding.
* | (Merge 3.2) Issue #10653: On Windows, use strftime() instead of wcsftime()Victor Stinner2011-10-142-0/+8
|\ \ | |/ | | | | because wcsftime() doesn't format time zone correctly.
| * Issue #10653: On Windows, use strftime() instead of wcsftime() becauseVictor Stinner2011-10-142-0/+8
| | | | | | | | wcsftime() doesn't format time zone correctly.
* | Issue #13088: Add shared Py_hexdigits constant to format a number into base 16Victor Stinner2011-10-1416-135/+118
| |
* | What's new in Python 3.3: document new functions of the os moduleVictor Stinner2011-10-131-0/+73
| |
* | Fix typo in the os doc: lremoveattr => lremovexattrVictor Stinner2011-10-131-2/+2
| |
* | convertsimple(): "str without bytes" => "str without characters"Victor Stinner2011-10-131-3/+3
| |
* | dictviews_or() uses _Py_identifierVictor Stinner2011-10-131-1/+3
| |
* | Use GetAttrId directly. Proposed by Amaury.Martin v. Löwis2011-10-131-8/+1
| |
* | Reuse the stringlib in findchar(), and make its signature more convenientAntoine Pitrou2011-10-131-39/+41
| |
* | Add a comment explaining this heuristic.Antoine Pitrou2011-10-131-0/+3
| |
* | Simplify heuristic for when to use memchrAntoine Pitrou2011-10-131-11/+1
| |
* | 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
| |