Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | remove (un)transform methods | Benjamin Peterson | 2010-12-12 | 3 | -181/+1 |
| | |||||
* | Reverted accidental commit (from r87159) | Alexander Belopolsky | 2010-12-10 | 1 | -17/+3 |
| | |||||
* | Updated UCD version and unicode.org links to Unicode 6.0.0 | Alexander Belopolsky | 2010-12-10 | 1 | -3/+17 |
| | |||||
* | use the more direct API | Benjamin Peterson | 2010-12-07 | 1 | -3/+3 |
| | |||||
* | return views from dict proxy items/values/keys #10630 | Benjamin Peterson | 2010-12-07 | 1 | -3/+3 |
| | |||||
* | Fix typo. | Georg Brandl | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | Removed static function complex_format, moved it into complex_repr. Modified ↵ | Eric Smith | 2010-12-04 | 1 | -10/+8 |
| | | | | tests to check both str and repr, which are the same for complex. | ||||
* | Use copysign to produce appropriately signed zeros instead of trying to worm ↵ | Mark Dickinson | 2010-12-04 | 1 | -12/+5 |
| | | | | around possible compiler optimizations. | ||||
* | Issue #10596: Fix float.__mod__ to have the same behaviour as | Mark Dickinson | 2010-12-04 | 1 | -4/+14 |
| | | | | float.__divmod__ with respect to signed zeros. | ||||
* | Remove some unecessary '#ifdef Py_NAN's from floatobject.c | Mark Dickinson | 2010-12-04 | 1 | -6/+0 |
| | |||||
* | Fix indentation in Objects/longobject.c | Mark Dickinson | 2010-12-04 | 1 | -3/+3 |
| | |||||
* | Regenerate. | Martin v. Löwis | 2010-12-04 | 1 | -0/+1 |
| | |||||
* | Add Revision keyword. | Martin v. Löwis | 2010-12-04 | 1 | -0/+1 |
| | |||||
* | Make script 2-vs-3-agnostic. | Martin v. Löwis | 2010-12-04 | 1 | -1/+1 |
| | |||||
* | Issue #10557: Fixed error messages from float() and other numeric | Alexander Belopolsky | 2010-12-04 | 4 | -48/+106 |
| | | | | | | types. Added a new API function, PyUnicode_TransformDecimalToASCII(), which transforms non-ASCII decimal digits in a Unicode string to their ASCII equivalents. | ||||
* | Merge branches/pep-0384. | Martin v. Löwis | 2010-12-03 | 15 | -20/+186 |
| | |||||
* | #6780: fix complex() constructor TypeError message | Victor Stinner | 2010-12-03 | 1 | -1/+1 |
| | |||||
* | Issue 2690: Add support for slicing and negative indices to range objects ↵ | Nick Coghlan | 2010-12-03 | 1 | -100/+184 |
| | | | | | | (includes precalculation and storage of the range length). Refer to the tracker issue for the language moratorium implications of this change | ||||
* | Remove redundant check for PyBytes in unicode_encode. | Georg Brandl | 2010-12-03 | 1 | -17/+1 |
| | |||||
* | code style | Benjamin Peterson | 2010-12-03 | 1 | -5/+10 |
| | |||||
* | Issue9915: speeding up sorting with a key | Daniel Stutzbach | 2010-12-02 | 1 | -225/+238 |
| | |||||
* | #7475: add (un)transform method to bytes/bytearray and str, add back codecs ↵ | Georg Brandl | 2010-12-02 | 3 | -1/+182 |
| | | | | that can be used with them from Python 2. | ||||
* | Issue #8685: Speed up set difference `a - b` when source set `a` is | Antoine Pitrou | 2010-11-30 | 1 | -7/+22 |
| | | | | much larger than operand `b`. Patch by Andrew Bennetts. | ||||
* | Remove redundant includes of headers that are already included by Python.h. | Georg Brandl | 2010-11-30 | 5 | -6/+0 |
| | |||||
* | Include structseq.h in Python.h, and remove now-redundant includes in ↵ | Georg Brandl | 2010-11-30 | 3 | -3/+0 |
| | | | | individual sources. | ||||
* | Indentation cleanup. | Stefan Krah | 2010-11-26 | 1 | -9/+9 |
| | |||||
* | Issue #7094: Add alternate ('#') flag to __format__ methods for float, ↵ | Eric Smith | 2010-11-25 | 1 | -16/+6 |
| | | | | complex and Decimal. Allows greater control over when decimal points appear. Added to make transitioning from %-formatting easier. '#g' still has a problem with Decimal which I'll fix soon. | ||||
* | pep 7 actually wants the brace on a new line | Benjamin Peterson | 2010-11-20 | 1 | -22/+44 |
| | |||||
* | code style and simplification | Benjamin Peterson | 2010-11-20 | 1 | -72/+31 |
| | |||||
* | Add error handling in range_count. | Georg Brandl | 2010-11-20 | 1 | -1/+4 |
| | |||||
* | count() should return integers #10474 | Benjamin Peterson | 2010-11-20 | 1 | -2/+2 |
| | |||||
* | code style | Benjamin Peterson | 2010-11-20 | 1 | -8/+4 |
| | |||||
* | #1574217: only swallow AttributeErrors in isinstance, not everything. | R. David Murray | 2010-11-20 | 1 | -3/+12 |
| | | | | Patch and tests by Brian Harring, with improvements by Ralf Schmitt. | ||||
* | handle dict subclasses gracefully in PyArg_ValidateKeywordArguments | Benjamin Peterson | 2010-11-17 | 1 | -1/+1 |
| | |||||
* | Issue #10359: Remove ";" after function definition, invalid in ISO C | Victor Stinner | 2010-11-09 | 1 | -1/+1 |
| | |||||
* | PyUnicode_DecodeFSDefaultAndSize() raises MemoryError if _Py_char2wchar() fails | Victor Stinner | 2010-11-08 | 1 | -1/+1 |
| | |||||
* | PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails | Victor Stinner | 2010-11-08 | 1 | -3/+20 |
| | | | | | | * Add error_pos optional argument to _Py_wchar2char() * PyUnicode_EncodeFS() raises a UnicodeEncodeError or MemoryError if _Py_wchar2char() fails | ||||
* | str, bytes, bytearray docstring: remove unnecessary [...] | Victor Stinner | 2010-11-07 | 3 | -3/+3 |
| | |||||
* | Fix encode/decode method doc of str, bytes, bytearray types | Victor Stinner | 2010-11-07 | 3 | -9/+9 |
| | | | | | | * Specify the default encoding: write 'utf-8' instead of sys.getdefaultencoding(), because the default encoding is now constant * Specify the default errors value | ||||
* | Added more to docstrings for str.format, format_map, and __format__. | Eric Smith | 2010-11-06 | 1 | -3/+5 |
| | |||||
* | Issue #10288: The deprecated family of "char"-handling macros | David Malcolm | 2010-11-05 | 2 | -24/+24 |
| | | | | | (ISLOWER()/ISUPPER()/etc) have now been removed: use Py_ISLOWER() etc instead. | ||||
* | Followup to r86170: fix reference leak in str.format | Antoine Pitrou | 2010-11-05 | 1 | -1/+0 |
| | |||||
* | Issue #10293: Remove obsolete field in the PyMemoryView structure, | Antoine Pitrou | 2010-11-04 | 1 | -44/+1 |
| | | | | | unused undocumented value PyBUF_SHADOW, and strangely-looking code in PyMemoryView_GetContiguous. | ||||
* | Issue #6081: Add str.format_map. str.format_map(mapping) is similar to ↵ | Eric Smith | 2010-11-04 | 2 | -1/+16 |
| | | | | str.format(**mapping), except mapping does not get converted to a dict. | ||||
* | deuglify | Benjamin Peterson | 2010-11-03 | 1 | -2/+3 |
| | |||||
* | Issue 10221: Improve error message for dict.pop(). | Raymond Hettinger | 2010-10-30 | 1 | -2/+1 |
| | |||||
* | Issue #5437: A preallocated MemoryError instance should not hold traceback | Antoine Pitrou | 2010-10-28 | 1 | -10/+87 |
| | | | | data (including local variables caught in the stack trace) alive infinitely. | ||||
* | Simplify PyUnicode_Encode/DecodeFSDefault on Windows/Mac OS X | Victor Stinner | 2010-10-27 | 1 | -16/+18 |
| | | | | | * Windows always uses mbcs * Mac OS X always uses utf-8 | ||||
* | Add a new warning gategory, ResourceWarning, as discussed on python-dev. It ↵ | Georg Brandl | 2010-10-24 | 1 | -0/+10 |
| | | | | | | | | is silent by default, except when configured --with-pydebug. Emit this warning from the GC shutdown procedure, rather than just printing to stderr. | ||||
* | Follow up to #9778: fix regressions on 64-bit Windows builds | Antoine Pitrou | 2010-10-23 | 2 | -16/+7 |
| |