summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Expand comment.Raymond Hettinger2008-01-081-1/+2
|
* Use get() instead of pop() for the optimized version of _replace().Raymond Hettinger2008-01-071-1/+1
|
* Cleanup named tuple subclassing example.Raymond Hettinger2008-01-071-3/+4
|
* Fixed indention problem that caused the second TIPC test to run on systems ↵Christian Heimes2008-01-071-1/+1
| | | | without TIPC
* #467924, patch by Alan McIntyre: Add ZipFile.extract and ZipFile.extractall.Georg Brandl2008-01-072-1/+113
|
* Issue #1646: Make socket support TIPC. The socket module now has supportChristian Heimes2008-01-071-0/+82
| | | | | for TIPC under Linux, see http://tipc.sf.net/ for more information. Thanks to Alberto Bertogli for the patch
* Add another named tuple subclassing example.Raymond Hettinger2008-01-071-0/+8
|
* Fix issue 1747: allow classic classes to be checked for being subclasses ofJeffrey Yasskin2008-01-072-5/+12
| | | | ABCs.
* Cleanup subclassing example to more clearly show fixed-width print format.Raymond Hettinger2008-01-071-2/+1
|
* Add subclassing example to docs for named tuples.Raymond Hettinger2008-01-071-2/+9
|
* Speed-up named tuple's _make() constructor.Raymond Hettinger2008-01-061-2/+2
|
* #1325: Add docs and tests for zipimporter.archive and zipimporter.prefix.Georg Brandl2008-01-061-0/+5
|
* #1591: Clarify docstring of Popen3.Georg Brandl2008-01-061-2/+2
|
* #1742: don't raise exception on os.path.relpath("a", "a"), but return os.curdir.Georg Brandl2008-01-064-0/+6
| | | | Reported by Jesse Towner.
* #1696393: don't check for '.' and '..' in ntpath.walk sinceGeorg Brandl2008-01-061-5/+3
| | | | | they aren't returned from os.listdir anymore. Reported by Michael Haggerty.
* Small code simplification. Forgot that classmethods can be called from ↵Raymond Hettinger2008-01-061-1/+1
| | | | intances.
* Patch #1637: fix urlparse for URLs like 'http://x.com?arg=/foo'.Guido van Rossum2008-01-052-7/+11
| | | | Fix by John Nagle.
* Doc patch #1730 from Robin Stocker; minor corrections mostly to os.rst.Georg Brandl2008-01-051-1/+1
|
* Fix comment typoAndrew M. Kuchling2008-01-051-1/+1
|
* Continue rolling back pep-3141 changes that changed behavior from 2.5. ThisJeffrey Yasskin2008-01-054-39/+16
| | | | | | | | | | | | round included: * Revert round to its 2.6 behavior (half away from 0). * Because round, floor, and ceil always return float again, it's no longer necessary to have them delegate to __xxx___, so I've ripped that out of their implementations and the Real ABC. This also helps in implementing types that work in both 2.6 and 3.0: you return int from the __xxx__ methods, and let it get enabled by the version upgrade. * Make pow(-1, .5) raise a ValueError again.
* clean up a commentFred Drake2008-01-051-2/+2
|
* Add error-checking to namedtuple's _replace() method.Raymond Hettinger2008-01-052-1/+11
|
* Improve namedtuple's _cast() method with a docstring, new name, and ↵Raymond Hettinger2008-01-052-6/+16
| | | | error-checking.
* Patch #1698 by Senthil: allow '@' in username when parsed by urlparse.py.Guido van Rossum2008-01-052-4/+22
|
* Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000Guido van Rossum2008-01-052-0/+13
| | | | and adds errors for -0x.
* socket.ioctl is only available on WindowsChristian Heimes2008-01-042-1/+14
|
* Added interface to Windows' WSAIoctl and a simple example for a network sniffer.Christian Heimes2008-01-041-1/+1
|
* Issue #1735: TarFile.extractall() now correctly setsLars Gustäbel2008-01-042-4/+21
| | | | | | directory permissions and times. (will backport to 2.5)
* Bug #1713: posixpath.ismount() claims symlink to a mountpoint is a mountpoint.Christian Heimes2008-01-041-2/+2
|
* Make math.{floor,ceil}({int,long}) return float again for backwardsJeffrey Yasskin2008-01-041-0/+8
| | | | compatibility after r59671 made them return integral types.
* Minor fix-ups to named tuples:Raymond Hettinger2008-01-042-12/+3
| | | | | | | | | * Make the _replace() method respect subclassing. * Using property() to make _fields read-only wasn't a good idea. It caused len(Point._fields) to fail. * Add note to _cast() about length checking and alternative with the star-operator.
* Added _struct._clearcache() for regression testsChristian Heimes2008-01-042-0/+2
|
* Fixed refleak tests for _struct changesChristian Heimes2008-01-041-1/+0
|
* Bug #1481296: Fixed long(float('nan'))!=0L.Christian Heimes2008-01-041-0/+4
|
* Fixed #1687: plistlib.py restricts <integer> to Python int when writingChristian Heimes2008-01-041-2/+2
|
* Finish-up the struct module optimizations started at the Iceland NFS sprint.Raymond Hettinger2008-01-041-99/+1
|
* Added copysign(x, y) function to the math moduleChristian Heimes2008-01-031-0/+7
|
* Added math.isinf() and math.isnan()Christian Heimes2008-01-031-0/+16
|
* Issue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh:Guido van Rossum2008-01-032-1/+31
| | | | | Regular Expression inline flags not handled correctly for some unicode characters. (Forward port from 2.5.2.)
* Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (justJeffrey Yasskin2008-01-037-5/+582
| | | | | | | the complex_pow part), r56649, r56652, r56715, r57296, r57302, r57359, r57361, r57372, r57738, r57739, r58017, r58039, r58040, and r59390, and new documentation. The only significant difference is that round(x) returns a float to preserve backward-compatibility. See http://bugs.python.org/issue1689.
* Patch #1696. Don't attempt to close None in dry-run mode.Guido van Rossum2008-01-021-1/+2
|
* Change docstrings to comments so test output will display normally.Kurt B. Kaiser2008-01-021-3/+3
|
* Issue1177Kurt B. Kaiser2008-01-022-2/+15
| | | | | | | r58207 and r58247 patch logic is reversed. I noticed this when I tried to use urllib to retrieve a file which required auth. Fix that and add a test for 401 error to verify.
* Always convert Text.index result to string.Martin v. Löwis2008-01-011-1/+1
| | | | | This improves compatibility with Tcl 8.5, which would otherwise return textindex objects.
* Added support for new Windows build dirs in PC/ to distutils.sysconfigChristian Heimes2008-01-011-0/+4
|
* Fix an odd error which would only occur close to new year's eve, dueGuido van Rossum2008-01-011-2/+1
| | | | | | to use of datetime.datetime.now() instead of utcnow() for comparison. (I think the test can still fail if it's executed pretty much *at* new year's eve, but that's not worth fixing.)
* Added wininst-9.0.exe executable for VS 2008Christian Heimes2007-12-314-1/+1
| | | | Integrated bdist_wininst into PCBuild9 directory
* Configure Dialog: improved layout for keybinding. Patch 1457 Tal Einat.Kurt B. Kaiser2007-12-282-20/+24
|
* Remove a straggling debugging print line.Brett Cannon2007-12-251-1/+0
|
* Actually execute the tests for the getter/setter/deleter tests on properties.Brett Cannon2007-12-251-7/+12
| | | | | | | | Also fix the test by having the test classes inherit from object. Are the getter/setter/deleter attributes supposed to be able to chain? As of right now they can't as the property tries to call what the property returns, which is another property when they are chained.