Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify index entries; fix #1712. | Georg Brandl | 2008-01-05 | 3 | -97/+70 |
| | |||||
* | Remove with_statement future imports from 2.6 docs. | Georg Brandl | 2008-01-05 | 6 | -6/+6 |
| | |||||
* | Add myself. | Thomas Heller | 2008-01-05 | 1 | -0/+1 |
| | |||||
* | Continue rolling back pep-3141 changes that changed behavior from 2.5. This | Jeffrey Yasskin | 2008-01-05 | 4 | -31/+25 |
| | | | | | | | | | | | | 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. | ||||
* | Add error-checking to namedtuple's _replace() method. | Raymond Hettinger | 2008-01-05 | 1 | -1/+4 |
| | |||||
* | Improve namedtuple's _cast() method with a docstring, new name, and ↵ | Raymond Hettinger | 2008-01-05 | 1 | -16/+16 |
| | | | | error-checking. | ||||
* | Fix markup | Andrew M. Kuchling | 2008-01-04 | 1 | -3/+3 |
| | |||||
* | Fix markup | Andrew M. Kuchling | 2008-01-04 | 1 | -5/+7 |
| | |||||
* | Added interface to Windows' WSAIoctl and a simple example for a network sniffer. | Christian Heimes | 2008-01-04 | 1 | -863/+906 |
| | |||||
* | Minor fix-ups to named tuples: | Raymond Hettinger | 2008-01-04 | 1 | -10/+13 |
| | | | | | | | | | * 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. | ||||
* | Add math items; other edits | Andrew M. Kuchling | 2008-01-04 | 1 | -3/+44 |
| | |||||
* | Filled in some XXX comments | Christian Heimes | 2008-01-04 | 1 | -3/+4 |
| | |||||
* | Add items | Andrew M. Kuchling | 2008-01-04 | 1 | -3/+37 |
| | |||||
* | Markup fixes; grammar tweaks | Andrew M. Kuchling | 2008-01-04 | 1 | -8/+8 |
| | |||||
* | Added copysign(x, y) function to the math module | Christian Heimes | 2008-01-03 | 1 | -0/+8 |
| | |||||
* | Modified PyImport_Import and PyImport_ImportModule to always use absolute ↵ | Christian Heimes | 2008-01-03 | 1 | -1/+42 |
| | | | | | | imports by calling __import__ with an explicit level of 0 Added a new API function PyImport_ImportModuleNoBlock. It solves the problem with dead locks when mixing threads and imports | ||||
* | Added math.isinf() and math.isnan() | Christian Heimes | 2008-01-03 | 1 | -0/+17 |
| | |||||
* | Backport PEP 3141 from the py3k branch to the trunk. This includes r50877 (just | Jeffrey Yasskin | 2008-01-03 | 7 | -27/+160 |
| | | | | | | | 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. | ||||
* | Improve docs for itertools.groupby(). The use of xrange(0) to create a ↵ | Raymond Hettinger | 2007-12-29 | 1 | -1/+1 |
| | | | | unique object is less obvious than object(). | ||||
* | Simpler documentation for itertools.tee(). Should be backported. | Raymond Hettinger | 2007-12-29 | 1 | -7/+6 |
| | |||||
* | Some cleanup in the docs. | Georg Brandl | 2007-12-29 | 126 | -1182/+805 |
| | |||||
* | Add item | Andrew M. Kuchling | 2007-12-22 | 1 | -3/+25 |
| | |||||
* | Patch #1583 by Adam Olsen. | Guido van Rossum | 2007-12-19 | 2 | -0/+24 |
| | | | | | | | This adds signal.set_wakeup_fd(fd) which sets a file descriptor to which a zero byte will be written whenever a C exception handler runs. I added a simple C API as well, PySignal_SetWakeupFd(fd). | ||||
* | Add a bunch of items | Andrew M. Kuchling | 2007-12-19 | 1 | -4/+157 |
| | |||||
* | Users demand iterable input for named tuples. The author capitulates. | Raymond Hettinger | 2007-12-18 | 1 | -16/+21 |
| | |||||
* | Applied patch #1635: Float patch for inf and nan on Windows (and other ↵ | Christian Heimes | 2007-12-18 | 3 | -6/+31 |
| | | | | | | platforms). The patch unifies float("inf") and repr(float("inf")) on all platforms. | ||||
* | Simplify and speedup _asdict() for named tuples. | Raymond Hettinger | 2007-12-18 | 1 | -2/+2 |
| | |||||
* | Add more namedtuple() test cases. Neaten the code and comments. | Raymond Hettinger | 2007-12-18 | 1 | -3/+5 |
| | |||||
* | Don't use quotes for non-string code. | Georg Brandl | 2007-12-16 | 1 | -1/+1 |
| | |||||
* | Use PEP 8. | Georg Brandl | 2007-12-16 | 1 | -6/+6 |
| | |||||
* | Simplify. | Georg Brandl | 2007-12-16 | 1 | -3/+1 |
| | |||||
* | Adapt conf.py to new option names. | Georg Brandl | 2007-12-16 | 2 | -14/+35 |
| | |||||
* | Remove curious space-like characters. | Georg Brandl | 2007-12-16 | 1 | -3/+3 |
| | |||||
* | Remove another unnecessary Unicode character. | Georg Brandl | 2007-12-16 | 1 | -1/+1 |
| | |||||
* | Remove gratuitous unicode character. | Georg Brandl | 2007-12-16 | 1 | -1/+1 |
| | |||||
* | Remove orphaned footnote reference. | Georg Brandl | 2007-12-16 | 1 | -1/+1 |
| | |||||
* | Argh, wrong version. | Georg Brandl | 2007-12-15 | 1 | -4/+0 |
| | |||||
* | Add note about future import needed for with statement. | Georg Brandl | 2007-12-15 | 1 | -0/+4 |
| | |||||
* | Bump the version number, and make a few small edits | Andrew M. Kuchling | 2007-12-14 | 1 | -13/+15 |
| | |||||
* | Remove warning about URL | Andrew M. Kuchling | 2007-12-14 | 1 | -3/+1 |
| | |||||
* | Add usage note | Raymond Hettinger | 2007-12-14 | 1 | -2/+10 |
| | |||||
* | Faster and simpler _replace() method | Raymond Hettinger | 2007-12-14 | 1 | -1/+1 |
| | |||||
* | Add a section about nested listcomps to the tutorial. | Georg Brandl | 2007-12-14 | 2 | -0/+43 |
| | | | | Thanks to Ian Bruntlett and Robert Lehmann. | ||||
* | Update method names for named tuples. | Raymond Hettinger | 2007-12-14 | 1 | -3/+3 |
| | |||||
* | Add line spacing for readability | Raymond Hettinger | 2007-12-14 | 1 | -1/+8 |
| | |||||
* | Cleaner method naming convention | Raymond Hettinger | 2007-12-14 | 1 | -15/+15 |
| | |||||
* | Simplify implementation of __replace__() | Raymond Hettinger | 2007-12-13 | 1 | -1/+1 |
| | |||||
* | Add another GHOP contributor. | Georg Brandl | 2007-12-11 | 1 | -0/+1 |
| | |||||
* | Added wide char api variants of getch and putch to msvcrt module. The wide ↵ | Christian Heimes | 2007-12-10 | 1 | -0/+32 |
| | | | | char methods are required to fix #1578 in py3k. I figured out that they might be useful in 2.6, too. | ||||
* | Use a versionchanged directive. | Brett Cannon | 2007-12-09 | 1 | -2/+5 |
| |