summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix a function pointer declaration to silence the compiler.Brett Cannon2008-01-171-1/+1
|
* Revise 3141 section a bit; add some Windows itemsAndrew M. Kuchling2008-01-171-19/+17
|
* Fixes (accepts patch) issue1339 - http://bugs.python.org/issue1339Gregory P. Smith2008-01-173-10/+62
| | | | | | | | | - Factor out the duplication of EHLO/HELO in login() and sendmail() to a new function, ehlo_or_helo_if_needed(). - Use ehlo_or_helo_if_needed() in starttls() - Check for the starttls exception in starttls() in the same way as login() checks for the auth extension. Contributed by Bill Fenner.
* Note versionadded.Raymond Hettinger2008-01-171-0/+4
|
* entry for r60015Gregory P. Smith2008-01-171-0/+4
|
* Comply with RFC 3207.Gregory P. Smith2008-01-172-0/+14
| | | | Fixes issue 829951 - http://bugs.python.org/issue829951
* Make starmap() match its pure python definition and accept any itertable ↵Raymond Hettinger2008-01-174-8/+15
| | | | input (not just tuples).
* Add news entry.Raymond Hettinger2008-01-161-0/+2
|
* Add queues will alternative fetch orders (priority based and stack based).Raymond Hettinger2008-01-162-14/+57
|
* Minor wordsmithing.Raymond Hettinger2008-01-162-9/+29
|
* Use 'g' instead of 'D' as the ctypes typecode for c_longdouble, forThomas Heller2008-01-163-5/+5
| | | | compliance with PEP 3118.
* Doc build should work with 2.4 now.Georg Brandl2008-01-161-8/+8
|
* Add Python-specific content to Doc dir. Update configuration fileGeorg Brandl2008-01-165-18/+211
| | | | to work with the newest Sphinx.
* Raise a TypeError instead of a ValueError when too many initializersThomas Heller2008-01-163-5/+7
| | | | are used in a Structure or Union constructor.
* Raise a TypeError if conflicting positional and named arguments areThomas Heller2008-01-163-0/+27
| | | | passed to a Structure or Union constructor.
* Convert the internal ctypes array type cache to a WeakValueDict soThomas Heller2008-01-163-10/+37
| | | | that array types do not live longer than needed.
* Fix MSDN library URL. (#1854)Georg Brandl2008-01-161-1/+1
|
* Markup fixAndrew M. Kuchling2008-01-161-1/+1
|
* Add PEP 3141 sectionAndrew M. Kuchling2008-01-161-0/+94
|
* Docstring typosAndrew M. Kuchling2008-01-161-3/+3
|
* test_doctest fails since r59984.Amaury Forgeot d'Arc2008-01-151-0/+2
| | | | Not sure if these are the correct values, but save_stdout has to be set before its usage...
* Fix-up half-written paragraph in the docsRaymond Hettinger2008-01-151-7/+3
|
* Refactor if/elif chain for clarity and speed. Remove dependency on ↵Raymond Hettinger2008-01-152-30/+31
| | | | subclasses having to implement _empty and _full.
* Issue #1786 (by myself): pdb should use its own stdin/stdout around anGuido van Rossum2008-01-152-3/+13
| | | | exec call and when creating a recursive instance.
* Restore description of sys.dont_write_bytecode.Andrew M. Kuchling2008-01-151-0/+11
| | | | | | | The duplication is intentional -- this paragraph is in a section describing additions to the sys module, and there's a later section that mentions the switch. I think most people scan the what's-new and don't read it in detail, so a bit of duplication is OK.
* Add rational.Rational as an implementation of numbers.Rational with infiniteJeffrey Yasskin2008-01-156-313/+777
| | | | | | | | | | | | | precision. This has been discussed at http://bugs.python.org/issue1682. It's useful primarily for teaching, but it also demonstrates how to implement a member of the numeric tower, including fallbacks for mixed-mode arithmetic. I expect to write a couple more patches in this area: * Rational.from_decimal() * Rational.trim/approximate() (maybe with different names) * Maybe remove the parentheses from Rational.__str__() * Maybe rename one of the Rational classes * Maybe make Rational('3/2') work.
* Remove duplicate entry.Georg Brandl2008-01-151-11/+3
|
* Typo.Georg Brandl2008-01-151-1/+1
|
* Small grammar nitRaymond Hettinger2008-01-151-2/+2
|
* Temporarily revert 59967 until GC can be added.Raymond Hettinger2008-01-154-12/+1
|
* Better (?) text describing the lack of guarantees provided by qsize(),Skip Montanaro2008-01-151-6/+11
| | | | empty() and full().
* Tighten the definition of a named tuple.Raymond Hettinger2008-01-151-1/+1
|
* Issue 1820: structseq objects did not work with the % formatting operator ↵Raymond Hettinger2008-01-154-1/+12
| | | | | | or isinstance(t, tuple). Orignal patch (without tests) by Leif Walsh.
* Repair unfinished sentenceAndrew M. Kuchling2008-01-151-3/+5
|
* Add many itemsAndrew M. Kuchling2008-01-151-7/+131
|
* Markup fixAndrew M. Kuchling2008-01-151-1/+1
|
* Typo fixesAndrew M. Kuchling2008-01-153-4/+4
|
* Fix 1698398: Zipfile.printdir() crashed because the format string expected ↵Raymond Hettinger2008-01-142-2/+5
| | | | a tuple object of length six instead of a time.struct_time object.
* Update description of float_infoAndrew M. Kuchling2008-01-141-4/+4
|
* Issue 1821: configure libffi for amd64 on FreeeBSD.Thomas Heller2008-01-142-104/+57
|
* Added more comments to the new structseq repr code and implemented several ↵Christian Heimes2008-01-141-17/+36
| | | | of Neal's suggestions.
* Now that I've learnt about structseq objects I felt like converting ↵Christian Heimes2008-01-145-33/+85
| | | | | | sys.float_info to a structseq. It's readonly and help(sys.float_info) explains the attributes nicely.
* Applied patch #1816: sys.flags patchChristian Heimes2008-01-144-5/+149
|
* I missed the most important fileChristian Heimes2008-01-141-5/+58
|
* Added new an better structseq representation. E.g. repr(time.gmtime(0)) now ↵Christian Heimes2008-01-142-1/+8
| | | | returns 'time.struct_time(tm_year=1970, tm_mon=1, tm_mday=1, tm_hour=0, tm_min=0, tm_sec=0, tm_wday=3, tm_yday=1, tm_isdst=0)' instead of '(1970, 1, 1, 0, 0, 0, 3, 1, 0)'. The feature is part of #1816: sys.flags
* ?Why did my tests not notice this before?Amaury Forgeot d'Arc2008-01-141-1/+1
| | | | | Slots inheritance is very different from OO inheritance. This code lead to infinite recursion on classes derived from StructType.
* Re-apply patch #1700288 (first applied in r59931, rolled back in r59940)Amaury Forgeot d'Arc2008-01-144-6/+219
| | | | | | now that ctypes uses a more supported method to create types: Method cache optimization, by Armin Rigo, ported to 2.6 by Kevin Jacobs.
* As discussed in issue 1700288:Amaury Forgeot d'Arc2008-01-142-2/+2
| | | | | | | ctypes takes some liberties when creating python types: it modifies the types' __dict__ directly, bypassing all the machinery of type objects which deal with special methods. And this broke recent optimisations of method lookup. Now we try to modify the type with more "official" functions.
* Back out r59931 - test_ctypes fails with it.Georg Brandl2008-01-134-219/+6
|
* Check in the patch proposed by Ben Hayden (benjhayden) for issueKa-Ping Yee2008-01-131-3/+5
| | | | | | | | | #1550: help('modules') broken by several 3rd party libraries. Tested with Python build: trunk:54235:59936M -- the reported error occurs with Django installed (or with any __init__.py present on the path that raises an exception), and such errors indeed go away when this change is applied.