summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added bytes and b'' as aliases for str and ''Christian Heimes2008-01-186-4/+43
|
* Note that genexps are function scopes too and therefore won't see class ↵Georg Brandl2008-01-181-1/+7
| | | | attributes.
* Added LoggerAdapter class, changed copyright dates, made check for extra ↵Vinay Sajip2008-01-181-5/+95
| | | | parameter passed to logging methods explicitly against None rather than a truth value.
* Added section on passing contextual information to logging and documentation ↵Vinay Sajip2008-01-181-27/+134
| | | | for the LoggerAdapter class.
* Added win_add2path.py to Tools/scripts/Christian Heimes2008-01-183-0/+113
| | | | Added builddoc.bat to Doc/
* Build _ctypes after the other extensions. Its build process dependsChristian Heimes2008-01-181-2/+8
| | | | on the _weakref extension (and maybe other modules, too)
* Coverity CID #168Christian Heimes2008-01-181-0/+1
| | | | leaked_storage: Returned without freeing storage "fp"
* Coverity issue CID #169Christian Heimes2008-01-181-1/+2
| | | | | | local_ptr_assign_local: Assigning address of stack variable "namebuf" to pointer "filename" out_of_scope: Variable "namebuf" goes out of scope use_invalid: Used "filename" pointing to out-of-scope variable "namebuf"
* Coverity issue CID #182Christian Heimes2008-01-181-0/+10
| | | | size_error: Allocating 1 bytes to pointer "children", which needs at least 4 bytes
* Coverity issue CID #167Christian Heimes2008-01-181-0/+1
| | | | | | | | | | | | Event alloc_fn: Called allocation function "metacompile" [model] Event var_assign: Assigned variable "gr" to storage returned from "metacompile" gr = metacompile(n); Event pass_arg: Variable "gr" not freed or pointed-to in function "maketables" [model] g = maketables(gr); translatelabels(g); addfirstsets(g); Event leaked_storage: Returned without freeing storage "gr" return g;
* Coverity issue CID #197Christian Heimes2008-01-181-0/+2
| | | | | var_decl: Declared variable "stm" without initializer ninit_use_in_call: Using uninitialized value "stm" (field "stm".tm_zone uninitialized) in call to function "mktime"
* Typo fixAndrew M. Kuchling2008-01-181-1/+1
|
* Bump versonAndrew M. Kuchling2008-01-181-1/+1
|
* clearcache() needs to remove the dict as well as clear it.Raymond Hettinger2008-01-181-2/+1
|
* Fix markupRaymond Hettinger2008-01-171-0/+2
|
* Fix-up Timer() example.Raymond Hettinger2008-01-171-3/+4
|
* Updated new property syntax. An elaborate example for subclassing and the ↵Christian Heimes2008-01-171-4/+22
| | | | | | getter was missing. Added comment about VS 2008 and PGO builds.
* Add advice on choosing between scheduler and threading.Timer().Raymond Hettinger2008-01-171-0/+25
|
* Correction from Jordan Lewis: halfdelay() uses tenths of a second, not ↵Andrew M. Kuchling2008-01-171-2/+2
| | | | milliseconds
* Issue #1861: Add read-only attribute listing upcoming events in the order ↵Raymond Hettinger2008-01-173-8/+33
| | | | they will be run.
* 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
|