Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Expand comment. | Raymond Hettinger | 2008-01-08 | 1 | -1/+2 |
| | |||||
* | Use get() instead of pop() for the optimized version of _replace(). | Raymond Hettinger | 2008-01-07 | 1 | -1/+1 |
| | |||||
* | Cleanup named tuple subclassing example. | Raymond Hettinger | 2008-01-07 | 1 | -3/+4 |
| | |||||
* | Fixed indention problem that caused the second TIPC test to run on systems ↵ | Christian Heimes | 2008-01-07 | 1 | -1/+1 |
| | | | | without TIPC | ||||
* | #467924, patch by Alan McIntyre: Add ZipFile.extract and ZipFile.extractall. | Georg Brandl | 2008-01-07 | 2 | -1/+113 |
| | |||||
* | Issue #1646: Make socket support TIPC. The socket module now has support | Christian Heimes | 2008-01-07 | 1 | -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 Hettinger | 2008-01-07 | 1 | -0/+8 |
| | |||||
* | Fix issue 1747: allow classic classes to be checked for being subclasses of | Jeffrey Yasskin | 2008-01-07 | 2 | -5/+12 |
| | | | | ABCs. | ||||
* | Cleanup subclassing example to more clearly show fixed-width print format. | Raymond Hettinger | 2008-01-07 | 1 | -2/+1 |
| | |||||
* | Add subclassing example to docs for named tuples. | Raymond Hettinger | 2008-01-07 | 1 | -2/+9 |
| | |||||
* | Speed-up named tuple's _make() constructor. | Raymond Hettinger | 2008-01-06 | 1 | -2/+2 |
| | |||||
* | #1325: Add docs and tests for zipimporter.archive and zipimporter.prefix. | Georg Brandl | 2008-01-06 | 1 | -0/+5 |
| | |||||
* | #1591: Clarify docstring of Popen3. | Georg Brandl | 2008-01-06 | 1 | -2/+2 |
| | |||||
* | #1742: don't raise exception on os.path.relpath("a", "a"), but return os.curdir. | Georg Brandl | 2008-01-06 | 4 | -0/+6 |
| | | | | Reported by Jesse Towner. | ||||
* | #1696393: don't check for '.' and '..' in ntpath.walk since | Georg Brandl | 2008-01-06 | 1 | -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 Hettinger | 2008-01-06 | 1 | -1/+1 |
| | | | | intances. | ||||
* | Patch #1637: fix urlparse for URLs like 'http://x.com?arg=/foo'. | Guido van Rossum | 2008-01-05 | 2 | -7/+11 |
| | | | | Fix by John Nagle. | ||||
* | Doc patch #1730 from Robin Stocker; minor corrections mostly to os.rst. | Georg Brandl | 2008-01-05 | 1 | -1/+1 |
| | |||||
* | Fix comment typo | Andrew M. Kuchling | 2008-01-05 | 1 | -1/+1 |
| | |||||
* | Continue rolling back pep-3141 changes that changed behavior from 2.5. This | Jeffrey Yasskin | 2008-01-05 | 4 | -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 comment | Fred Drake | 2008-01-05 | 1 | -2/+2 |
| | |||||
* | Add error-checking to namedtuple's _replace() method. | Raymond Hettinger | 2008-01-05 | 2 | -1/+11 |
| | |||||
* | Improve namedtuple's _cast() method with a docstring, new name, and ↵ | Raymond Hettinger | 2008-01-05 | 2 | -6/+16 |
| | | | | error-checking. | ||||
* | Patch #1698 by Senthil: allow '@' in username when parsed by urlparse.py. | Guido van Rossum | 2008-01-05 | 2 | -4/+22 |
| | |||||
* | Patch #1725 by Mark Dickinson, fixes incorrect conversion of -1e1000 | Guido van Rossum | 2008-01-05 | 2 | -0/+13 |
| | | | | and adds errors for -0x. | ||||
* | socket.ioctl is only available on Windows | Christian Heimes | 2008-01-04 | 2 | -1/+14 |
| | |||||
* | Added interface to Windows' WSAIoctl and a simple example for a network sniffer. | Christian Heimes | 2008-01-04 | 1 | -1/+1 |
| | |||||
* | Issue #1735: TarFile.extractall() now correctly sets | Lars Gustäbel | 2008-01-04 | 2 | -4/+21 |
| | | | | | | directory permissions and times. (will backport to 2.5) | ||||
* | Bug #1713: posixpath.ismount() claims symlink to a mountpoint is a mountpoint. | Christian Heimes | 2008-01-04 | 1 | -2/+2 |
| | |||||
* | Make math.{floor,ceil}({int,long}) return float again for backwards | Jeffrey Yasskin | 2008-01-04 | 1 | -0/+8 |
| | | | | compatibility after r59671 made them return integral types. | ||||
* | Minor fix-ups to named tuples: | Raymond Hettinger | 2008-01-04 | 2 | -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 tests | Christian Heimes | 2008-01-04 | 2 | -0/+2 |
| | |||||
* | Fixed refleak tests for _struct changes | Christian Heimes | 2008-01-04 | 1 | -1/+0 |
| | |||||
* | Bug #1481296: Fixed long(float('nan'))!=0L. | Christian Heimes | 2008-01-04 | 1 | -0/+4 |
| | |||||
* | Fixed #1687: plistlib.py restricts <integer> to Python int when writing | Christian Heimes | 2008-01-04 | 1 | -2/+2 |
| | |||||
* | Finish-up the struct module optimizations started at the Iceland NFS sprint. | Raymond Hettinger | 2008-01-04 | 1 | -99/+1 |
| | |||||
* | Added copysign(x, y) function to the math module | Christian Heimes | 2008-01-03 | 1 | -0/+7 |
| | |||||
* | Added math.isinf() and math.isnan() | Christian Heimes | 2008-01-03 | 1 | -0/+16 |
| | |||||
* | Issue #1700, reported by Nguyen Quan Son, fix by Fredruk Lundh: | Guido van Rossum | 2008-01-03 | 2 | -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 (just | Jeffrey Yasskin | 2008-01-03 | 7 | -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 Rossum | 2008-01-02 | 1 | -1/+2 |
| | |||||
* | Change docstrings to comments so test output will display normally. | Kurt B. Kaiser | 2008-01-02 | 1 | -3/+3 |
| | |||||
* | Issue1177 | Kurt B. Kaiser | 2008-01-02 | 2 | -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öwis | 2008-01-01 | 1 | -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.sysconfig | Christian Heimes | 2008-01-01 | 1 | -0/+4 |
| | |||||
* | Fix an odd error which would only occur close to new year's eve, due | Guido van Rossum | 2008-01-01 | 1 | -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 2008 | Christian Heimes | 2007-12-31 | 4 | -1/+1 |
| | | | | Integrated bdist_wininst into PCBuild9 directory | ||||
* | Configure Dialog: improved layout for keybinding. Patch 1457 Tal Einat. | Kurt B. Kaiser | 2007-12-28 | 2 | -20/+24 |
| | |||||
* | Remove a straggling debugging print line. | Brett Cannon | 2007-12-25 | 1 | -1/+0 |
| | |||||
* | Actually execute the tests for the getter/setter/deleter tests on properties. | Brett Cannon | 2007-12-25 | 1 | -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. |