Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge #13159: Replace FileIO's quadratic-time buffer growth algorithm with a ↵ | Nadeem Vawda | 2011-10-13 | 3 | -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 Vawda | 2011-10-13 | 3 | -30/+11 |
| | | | | | | | | | | | | linear-time one. Also fix the bz2 module, whose classes used the same algorithm. | ||||
* | | Optimize unicode_subscript() for step != 1 and ascii strings | Victor Stinner | 2011-10-12 | 1 | -8/+12 |
| | | |||||
* | | Don't use PyUnicode_MAX_CHAR_VALUE() macro in Py_MAX() | Victor Stinner | 2011-10-12 | 1 | -2/+3 |
| | | |||||
* | | Simplify PyUnicode_MAX_CHAR_VALUE | Victor Stinner | 2011-10-12 | 1 | -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 memrchr | Victor Stinner | 2011-10-12 | 1 | -0/+8 |
| | | |||||
* | | Issue #13155: Optimize finding the optimal character width of an unicode string | Antoine Pitrou | 2011-10-12 | 3 | -87/+206 |
| | | |||||
* | | Unicode replace() avoids calling unicode_adjust_maxchar() when it's useless | Victor Stinner | 2011-10-12 | 1 | -40/+38 |
| | | | | | | | | Add also a special case if the result is an empty string. | ||||
* | | Issue #13157: Fix building Python outside its source tree | Victor Stinner | 2011-10-12 | 1 | -88/+92 |
| | | |||||
* | | Issue #12367: Add a test on error attribute of select.error | Victor Stinner | 2011-10-12 | 1 | -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 3151 | Victor Stinner | 2011-10-12 | 1 | -0/+63 |
| | | |||||
* | | Replace mentions of IOError | Antoine Pitrou | 2011-10-12 | 17 | -39/+85 |
| | | |||||
* | | Instantiate the OS-related exception as soon as we raise it, so that | Antoine Pitrou | 2011-10-12 | 2 | -6/+22 |
| | | | | | | | | "except" works properly. | ||||
* | | This shameful limitation of the fileinput module is not relevant anymore. | Antoine Pitrou | 2011-10-12 | 1 | -4/+0 |
| | | |||||
* | | Fix some mentions of IOError | Antoine Pitrou | 2011-10-12 | 4 | -6/+14 |
| | | |||||
* | | Fix mentions of IOError in the io module docs | Antoine Pitrou | 2011-10-12 | 1 | -9/+13 |
| | | |||||
* | | Update doc for BlockingIOError and its alias in the io module | Antoine Pitrou | 2011-10-12 | 2 | -10/+11 |
| | | |||||
* | | Replace mentions of WindowsError | Antoine Pitrou | 2011-10-12 | 2 | -13/+56 |
| | | |||||
* | | Replace a mention of EnvironmentError in the distutils docs. | Antoine Pitrou | 2011-10-12 | 1 | -6/+5 |
| | | |||||
* | | Update index entries | Antoine Pitrou | 2011-10-12 | 1 | -3/+17 |
| | | |||||
* | | Update the C-API docs for exception types | Antoine Pitrou | 2011-10-12 | 1 | -59/+110 |
| | | |||||
* | | Replace mentions of socket.error. | Antoine Pitrou | 2011-10-12 | 5 | -25/+30 |
| | | |||||
* | | Mention the merging of other exceptions into OSError. | Antoine Pitrou | 2011-10-12 | 1 | -0/+5 |
| | | |||||
* | | Minimal update of select docs for PEP 3151. | Antoine Pitrou | 2011-10-12 | 1 | -8/+4 |
| | | |||||
* | | Minimal update of socket docs for PEP 3151. | Antoine Pitrou | 2011-10-12 | 1 | -11/+12 |
| | | | | | | | | More editing is probably desirable. | ||||
* | | Update exceptions doc for PEP 3151 | Antoine Pitrou | 2011-10-12 | 1 | -53/+142 |
| | | |||||
* | | PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy. | Antoine Pitrou | 2011-10-12 | 21 | -441/+676 |
| | | |||||
* | | Backed out changeset 952d91a7d376 | Victor Stinner | 2011-10-11 | 1 | -1/+1 |
| | | | | | | | | If maxchar == PyUnicode_MAX_CHAR_VALUE(unicode), we do an useless copy. | ||||
* | | Relax condition | Antoine Pitrou | 2011-10-11 | 1 | -1/+1 |
| | | |||||
* | | stringlib: Fix STRINGLIB_STR for UCS2/UCS4 | Victor Stinner | 2011-10-11 | 2 | -2/+2 |
| | | |||||
* | | Fix compiler warning in _PyUnicode_FromUCS2() | Victor Stinner | 2011-10-11 | 1 | -1/+1 |
| | | |||||
* | | Fix fastsearch for UCS2 and UCS4 | Victor Stinner | 2011-10-11 | 8 | -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 files | Victor Stinner | 2011-10-11 | 1 | -1/+5 |
| | | | | | | | | Truncate the buffer size to PY_SSIZE_T_MAX. | ||||
* | | Use _PyUnicode_CONVERT_BYTES() where applicable. | Antoine Pitrou | 2011-10-11 | 1 | -12/+17 |
| | | |||||
* | | Merge | Antoine Pitrou | 2011-10-11 | 1 | -4/+4 |
|\ \ | |||||
| * | | Fix io.FileIO.readall() on Windows 64 bits | Victor Stinner | 2011-10-11 | 1 | -4/+4 |
| | | | | | | | | | | | | Use Py_off_t type (64 bits) instead of off_t (32 bits). | ||||
* | | | Fix deprecation warning | Antoine Pitrou | 2011-10-11 | 1 | -2/+2 |
|/ / | |||||
* | | Fix a compiler warning in _locale | Victor Stinner | 2011-10-11 | 1 | -1/+1 |
| | | |||||
* | | Fix a compiler warning in zipimport | Victor Stinner | 2011-10-11 | 1 | -1/+1 |
| | | |||||
* | | Fix typo in import.c | Victor Stinner | 2011-10-11 | 1 | -1/+1 |
| | | |||||
* | | PyUnicode_AsUnicodeCopy() now checks if PyUnicode_AsUnicode() failed | Victor Stinner | 2011-10-11 | 1 | -2/+5 |
| | | |||||
* | | Strip trailing spaces in _json.c | Victor Stinner | 2011-10-11 | 1 | -15/+15 |
| | | |||||
* | | Fix misuse of PyUnicode_GET_SIZE, use PyUnicode_GET_LENGTH instead | Victor Stinner | 2011-10-11 | 6 | -12/+10 |
| | | |||||
* | | Reuse PyUnicode_Copy() in validate_and_copy_tuple() | Victor Stinner | 2011-10-11 | 1 | -3/+1 |
| | | |||||
* | | Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE() | Victor Stinner | 2011-10-11 | 3 | -9/+15 |
| | | |||||
* | | Issue #13136: speed up conversion between different character widths. | Antoine Pitrou | 2011-10-11 | 1 | -5/+14 |
| | | |||||
* | | Issue #13134: optimize finding single-character strings using memchr | Antoine Pitrou | 2011-10-11 | 4 | -1/+95 |
| | | |||||
* | | Merge | Antoine Pitrou | 2011-10-11 | 1 | -4/+4 |
|\ \ | |||||
| * \ | Merge issue #13145 fix. | Mark Dickinson | 2011-10-11 | 1 | -4/+4 |
| |\ \ | | |/ | |||||
| | * | Issue #13145. Fix incorrect documentation for PyNumber_ToBase. Thanks Sven ↵ | Mark Dickinson | 2011-10-11 | 1 | -4/+4 |
| | | | | | | | | | | | | Marnach. |