summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* whoops - revertSkip Montanaro2008-02-101-1/+1
|
* Get the saying right. ;-)Skip Montanaro2008-02-101-1/+1
|
* Typos in decimal comment and documentationMark Dickinson2008-02-102-3/+3
|
* Forgot to modify header file in r60707.Eric Smith2008-02-101-0/+9
|
* Turn classmethods into staticmethods, and avoid calling the constructorMark Dickinson2008-02-101-16/+16
| | | | of subclasses of Rational. (See discussion in issue #1682.)
* Add missing NEWS entry for r60695Nick Coghlan2008-02-101-0/+4
|
* Clarify that decimal also supports fixed-point arithmetic.Raymond Hettinger2008-02-101-3/+15
|
* Added PyNumber_ToBase and supporting routines _PyInt_Format andEric Smith2008-02-105-33/+126
| | | | | | | | | | | | | | | | | _PyLong_Format. In longobject.c, changed long_format to _PyLong_Format. In intobject.c, changed uses of PyOS_snprintf to _PyInt_Format instead. _PyLong_Format is similar to py3k's routine of the same name, except it has 2 additional parameters: addL and newstyle. addL was existing in long_format, and controls adding the trailing "L". This is unneeded in py3k. newstyle is used to control whether octal prepends "0" (the pre-2.6 style), or "0o" (the 3.0 sytle). PyNumber_ToBase is needed for PEP 3127 (Integer Literal Support and Syntax) and PEP 3101 (Advanced String Formatting). This changeset does not need merging into py3k.
* Fix for newest doctools.Georg Brandl2008-02-092-11/+11
|
* Fix link.Georg Brandl2008-02-091-1/+1
|
* Docs are rst now.Georg Brandl2008-02-091-1/+1
|
* Needs only 2.4 now.Georg Brandl2008-02-091-1/+1
|
* Issue #1706: Require Windows 2000+Christian Heimes2008-02-097-20/+35
| | | | | | Added Py_BUILD_CORE_MODULES macro to set WINVER and NTDDI_VERSION to Windows 2000 for core modules, too Added -d option to build.bat (same as -c Debug) and fixed warning about /build option Updated Windows related readme.txt files
* Issue 2021: Allow NamedTemporaryFile and SpooledTemporaryFile to be used as ↵Nick Coghlan2008-02-093-8/+104
| | | | context managers. (The NamedTemporaryFile fix should be considered for backporting to 2.5)
* Temporarily disable this test. It's been broken for a week.Raymond Hettinger2008-02-091-15/+15
|
* Metaclass declaration is inheritedRaymond Hettinger2008-02-091-7/+0
|
* Add -3 warnings that set.copy(), dict.copy(), and defaultdict.copy() will go ↵Raymond Hettinger2008-02-093-3/+31
| | | | away in Py3.x
* Merge with r60683.Raymond Hettinger2008-02-091-2/+2
|
* Make ABC containers inherit as documented.Raymond Hettinger2008-02-091-31/+5
|
* Add advice on choosing between DictMixin and MutableMappingRaymond Hettinger2008-02-081-0/+2
|
* Fill-in missing Set comparisonsRaymond Hettinger2008-02-081-0/+13
|
* Speed-up __iter__() mixin method.Raymond Hettinger2008-02-081-6/+6
|
* Remove unnecessary modulo division.Raymond Hettinger2008-02-081-1/+1
| | | | The preceding test guarantees that 0 <= i < len.
* Update big5hkscs codec to conform to the HKSCS:2004 revision.Hye-Shik Chang2008-02-086-1802/+1893
|
* Oops! 2.6's Rational.__ne__ didn't work.Jeffrey Yasskin2008-02-082-1/+6
|
* issue 2045: Infinite recursion when printing a subclass of defaultdict,Amaury Forgeot d'Arc2008-02-083-1/+37
| | | | | | if default_factory is set to a bound method. Will backport.
* Use prefix decrementChristian Heimes2008-02-082-4/+3
|
* Deallocate content of the dict free list on interpreter shutdownChristian Heimes2008-02-084-0/+17
|
* Make sure a switch statement does not have repetitive case statements.Brett Cannon2008-02-071-0/+2
| | | | Error found through LLVM post-2.1 svn.
* Fix typoRaymond Hettinger2008-02-071-2/+2
|
* The float conversion recipe is simpler in Py2.6Raymond Hettinger2008-02-071-25/+15
|
* Fix typo in docstring for Calendar.itermonthdays().Walter Dörwald2008-02-071-2/+2
|
* Fix documentation for Calendar.iterweekdays(): firstweekday is a property.Walter Dörwald2008-02-071-3/+3
| | | | Fixes second part of #2018.
* Clarify that the output of TextCalendar.formatmonth() andWalter Dörwald2008-02-071-8/+10
| | | | | TextCalendar.formatyear() for custom instances won't be influenced by calls to the module global setfirstweekday() function. Fixes #2018.
* Fixes Issue 1401. When redirected, a possible POST get convertedFacundo Batista2008-02-072-1/+13
| | | | | | to GET, so it loses its payload. So, it also must lose the headers related to the payload (if it has no content any more, it shouldn't indicate content length and type).
* Added some statistics code to dict and list object code. I wanted to test ↵Christian Heimes2008-02-072-0/+54
| | | | how a larger freelist affects the reusage of freed objects. Contrary to my gut feelings 80 objects is more than fine for small apps. I haven't profiled a large app yet.
* Fixes issue 2026. Tests converted to unittest. ThanksFacundo Batista2008-02-071-151/+164
| | | | Giampaolo Rodola.
* Update URLAndrew M. Kuchling2008-02-071-1/+1
|
* Remove unnecessary curly braces around an int literal.Brett Cannon2008-02-071-2/+2
|
* Cast a struct to a void pointer so as to do a type-safe pointer comparisonBrett Cannon2008-02-071-3/+3
| | | | (mistmatch found by clang).
* Merge r60628, r60631, and r60633. Register UserList and UserString will the ↵Raymond Hettinger2008-02-073-45/+14
| | | | appropriate ABCs.
* Merge 60627.Raymond Hettinger2008-02-071-1/+6
|
* Return ints instead of longs for tuple.count() and tuple.index().Raymond Hettinger2008-02-071-2/+2
|
* IEEE 754 should be IEEE 854; give precise reference forMark Dickinson2008-02-071-6/+6
| | | | comparisons involving NaNs.
* Fix broken link in decimal documentation.Mark Dickinson2008-02-071-1/+1
|
* Issue 2025: Add tuple.count() and tuple.index() to follow the ABC in ↵Raymond Hettinger2008-02-073-0/+119
| | | | collections.Sequence.
* Revert accidental changes to test_queue in r60605.Georg Brandl2008-02-061-20/+16
|
* Remove incorrect usage of :const: in documentation.Mark Dickinson2008-02-061-2/+2
|
* Issue 1979: Make Decimal comparisons (other than !=, ==) involving NaNMark Dickinson2008-02-064-40/+145
| | | | raise InvalidOperation (and return False if InvalidOperation is trapped).
* Fixed refcounts and error handling.Thomas Heller2008-02-061-8/+12
| | | | Should not be merged to py3k branch.