Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue 3230: Do not the set specific size macro. | Raymond Hettinger | 2008-06-28 | 1 | -1/+1 |
| | |||||
* | Corrected inconsistencies in sizeof tests and addressed issue pointed | Robert Schuppenies | 2008-06-26 | 1 | -1/+1 |
| | | | | out by Jean Brouwers. | ||||
* | Revert 64424, 64438, and 64439. | Raymond Hettinger | 2008-06-24 | 4 | -83/+7 |
| | |||||
* | Fixed formatting with thousands separator and padding. Resolves issue 3140. | Eric Smith | 2008-06-24 | 1 | -13/+13 |
| | |||||
* | Typo in comment. | Eric Smith | 2008-06-24 | 1 | -1/+1 |
| | |||||
* | Modified interface to _Py_[String|Unicode]InsertThousandsGrouping, in ↵ | Eric Smith | 2008-06-24 | 2 | -20/+27 |
| | | | | anticipation of fixing issue 3140. | ||||
* | Docstring typo | Andrew M. Kuchling | 2008-06-21 | 1 | -1/+1 |
| | |||||
* | Fix build on FreeBSD gcc. | Hye-Shik Chang | 2008-06-21 | 1 | -6/+6 |
| | |||||
* | Issue 3008: hex/oct/bin can show floats exactly. | Raymond Hettinger | 2008-06-21 | 1 | -2/+60 |
| | |||||
* | Issue #3004: Minor fix to slice.indices(). slice(-10).indices(9) now | Mark Dickinson | 2008-06-20 | 1 | -2/+3 |
| | | | | | returns (0, 0, 1) instead of (0, -1, 1), and slice(None, 10, -1).indices(10) returns (9, 9, -1) instead of (9, 10, -1). | ||||
* | Make bin() implementation parallel oct() and hex() so that int/long ↵ | Raymond Hettinger | 2008-06-20 | 3 | -0/+18 |
| | | | | subclasses can override or so that other classes can support. | ||||
* | Issue 3110: Crash with weakref subclass, | Amaury Forgeot d'Arc | 2008-06-16 | 1 | -4/+12 |
| | | | | | | | | | seen after a "import multiprocessing.reduction" An instance of a weakref subclass can have attributes. If such a weakref holds the only strong reference to the object, deleting the weakref will delete the object. In this case, the callback must not be called, because the ref object is being deleted! | ||||
* | Fixed: sys.getsizeof does not take the actual length of the tuples into account. | Robert Schuppenies | 2008-06-13 | 1 | -0/+12 |
| | |||||
* | Multi-arg form for set.difference() and set.difference_update(). | Raymond Hettinger | 2008-06-11 | 1 | -14/+39 |
| | |||||
* | Merge in release25-maint r60793: | Gregory P. Smith | 2008-06-11 | 3 | -6/+27 |
| | | | | | | Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code. | ||||
* | Handle the case with zero arguments. | Raymond Hettinger | 2008-06-11 | 1 | -0/+3 |
| | |||||
* | Rename bytesobject.c back to stringobject.c to keep with the PyString theme. | Gregory P. Smith | 2008-06-10 | 1 | -0/+0 |
| | | | | Part of reverting most of r63675 per the mailing list discussion. | ||||
* | More reverting of r63675 per the mailing list discussions. This restores | Gregory P. Smith | 2008-06-10 | 2 | -479/+479 |
| | | | | | occurances of PyBytes_ in the code to their original PyString_ names. The bytesobject.c file will be renamed back to stringobject.c in a future checkin. | ||||
* | Issue 3048: Fixed sys.getsizeof for unicode objects. | Robert Schuppenies | 2008-06-10 | 1 | -0/+24 |
| | |||||
* | Added better pickling support to xrange objects. | Alexandre Vassalotti | 2008-06-10 | 1 | -3/+3 |
| | | | | Cleaned up the unit test. | ||||
* | Issue 2582: Fix pickling of xrange objects. | Alexandre Vassalotti | 2008-06-10 | 1 | -0/+11 |
| | |||||
* | Let set.intersection() and set.intersection_update() take multiple input ↵ | Raymond Hettinger | 2008-06-09 | 1 | -3/+36 |
| | | | | arguments. | ||||
* | Let set.union() and set.update() accept multiple inputs. | Raymond Hettinger | 2008-06-09 | 1 | -15/+38 |
| | |||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 33 | -610/+610 |
| | | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread. | ||||
* | Remove locking part of new buffer protocol. | Travis E. Oliphant | 2008-06-06 | 1 | -6/+0 |
| | |||||
* | Fixed complex.__getnewargs__() to not emit another complex object. | Alexandre Vassalotti | 2008-06-04 | 1 | -1/+2 |
| | |||||
* | Some style nits. Also clarify in the docstrings what __sizeof__ does. | Georg Brandl | 2008-06-01 | 5 | -5/+5 |
| | |||||
* | Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes. | Robert Schuppenies | 2008-06-01 | 5 | -0/+69 |
| | |||||
* | New environment variable PYTHONIOENCODING. | Martin v. Löwis | 2008-06-01 | 1 | -3/+32 |
| | |||||
* | Refactor and clean up str.format() code (and helpers) in advance of ↵ | Eric Smith | 2008-05-30 | 6 | -124/+138 |
| | | | | optimizations. | ||||
* | #2999: fix name of third parameter in unicode.replace()'s docstring. | Georg Brandl | 2008-05-30 | 1 | -3/+3 |
| | |||||
* | Issue 2855: Fix obscure crasher by slowing down the entire module. Mimics ↵ | Raymond Hettinger | 2008-05-30 | 1 | -0/+4 |
| | | | | what was done to dictionaries in r59223. | ||||
* | Revert #2990 patch; it's not necessary as Armin showed. | Georg Brandl | 2008-05-29 | 1 | -7/+5 |
| | |||||
* | #2990: prevent inconsistent state while updating method cache. | Georg Brandl | 2008-05-28 | 1 | -5/+7 |
| | |||||
* | #2989: add PyType_Modified(). | Georg Brandl | 2008-05-28 | 1 | -10/+9 |
| | |||||
* | Renamed bytesobject.c to bytearrayobject.c | Christian Heimes | 2008-05-26 | 3 | -8054/+8054 |
| | | | | | Renamed stringobject.c to bytesobject.c Fixed Windows builds | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 35 | -1094/+1094 |
| | |||||
* | First step of the C API rename: | Christian Heimes | 2008-05-26 | 4 | -241/+241 |
| | | | | | | renamed Include/bytesobject.h to Include/bytearrayobject.h renamed Include/stringobject.h to Include/bytesobject.h added Include/stringobject.h with aliases | ||||
* | #2592: delegate nb_index and the floor/truediv slots in weakref.proxy. | Georg Brandl | 2008-05-20 | 1 | -0/+10 |
| | |||||
* | Revert copy_reg -> copyreg rename. | Georg Brandl | 2008-05-20 | 1 | -3/+3 |
| | |||||
* | #2353: raise Py3k warning in file.xreadlines(). | Georg Brandl | 2008-05-17 | 1 | -3/+12 |
| | |||||
* | Patch by Quentin Gallet-Gilles: Renaming leftovers for 2.6. | Alexandre Vassalotti | 2008-05-16 | 1 | -1/+1 |
| | | | | | This fixes the omissions of configparser, copyreg, queue and socketserver renaming. | ||||
* | Don't allow keyword arguments to reversed(). | Georg Brandl | 2008-05-16 | 1 | -1/+4 |
| | |||||
* | Make generator repr consistent with function and code object repr. | Georg Brandl | 2008-05-16 | 1 | -1/+1 |
| | |||||
* | #2863: add gen.__name__ and add this name to generator repr(). | Georg Brandl | 2008-05-15 | 1 | -2/+32 |
| | |||||
* | #2831: add start argument to enumerate(). Patch by Scott Dial and me. | Georg Brandl | 2008-05-13 | 1 | -5/+23 |
| | |||||
* | #2809 followup: even better split docstring. | Georg Brandl | 2008-05-11 | 2 | -4/+4 |
| | |||||
* | Addresses issue 2802: 'n' formatting for integers. | Eric Smith | 2008-05-11 | 5 | -3/+154 |
| | | | | | | | | | | | | | | Adds 'n' as a format specifier for integers, to mirror the same specifier which is already available for floats. 'n' is the same as 'd', but inserts the current locale-specific thousands grouping. I added this as a stringlib function, but it's only used by str type, not unicode. This is because of an implementation detail in unicode.format(), which does its own str->unicode conversion. But the unicode version will be needed in 3.0, and it may be needed by other code eventually in 2.6 (maybe decimal?), so I left it as a stringlib implementation. As long as the unicode version isn't instantiated, there's no overhead for this. | ||||
* | #2809: elaborate str.split docstring a bit. | Georg Brandl | 2008-05-11 | 2 | -3/+5 |
| | |||||
* | Added module stub for copy_reg renaming in 3.0. | Alexandre Vassalotti | 2008-05-11 | 1 | -22/+22 |
| | | | | | | Renamed copy_reg to copyreg in the standard library, to avoid spurious warnings and ease later merging to py3k branch. Public documentation remains intact. |