Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added bytes and b'' as aliases for str and '' | Christian Heimes | 2008-01-18 | 6 | -4/+43 |
| | |||||
* | Note that genexps are function scopes too and therefore won't see class ↵ | Georg Brandl | 2008-01-18 | 1 | -1/+7 |
| | | | | attributes. | ||||
* | Added LoggerAdapter class, changed copyright dates, made check for extra ↵ | Vinay Sajip | 2008-01-18 | 1 | -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 Sajip | 2008-01-18 | 1 | -27/+134 |
| | | | | for the LoggerAdapter class. | ||||
* | Added win_add2path.py to Tools/scripts/ | Christian Heimes | 2008-01-18 | 3 | -0/+113 |
| | | | | Added builddoc.bat to Doc/ | ||||
* | Build _ctypes after the other extensions. Its build process depends | Christian Heimes | 2008-01-18 | 1 | -2/+8 |
| | | | | on the _weakref extension (and maybe other modules, too) | ||||
* | Coverity CID #168 | Christian Heimes | 2008-01-18 | 1 | -0/+1 |
| | | | | leaked_storage: Returned without freeing storage "fp" | ||||
* | Coverity issue CID #169 | Christian Heimes | 2008-01-18 | 1 | -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 #182 | Christian Heimes | 2008-01-18 | 1 | -0/+10 |
| | | | | size_error: Allocating 1 bytes to pointer "children", which needs at least 4 bytes | ||||
* | Coverity issue CID #167 | Christian Heimes | 2008-01-18 | 1 | -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 #197 | Christian Heimes | 2008-01-18 | 1 | -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 fix | Andrew M. Kuchling | 2008-01-18 | 1 | -1/+1 |
| | |||||
* | Bump verson | Andrew M. Kuchling | 2008-01-18 | 1 | -1/+1 |
| | |||||
* | clearcache() needs to remove the dict as well as clear it. | Raymond Hettinger | 2008-01-18 | 1 | -2/+1 |
| | |||||
* | Fix markup | Raymond Hettinger | 2008-01-17 | 1 | -0/+2 |
| | |||||
* | Fix-up Timer() example. | Raymond Hettinger | 2008-01-17 | 1 | -3/+4 |
| | |||||
* | Updated new property syntax. An elaborate example for subclassing and the ↵ | Christian Heimes | 2008-01-17 | 1 | -4/+22 |
| | | | | | | getter was missing. Added comment about VS 2008 and PGO builds. | ||||
* | Add advice on choosing between scheduler and threading.Timer(). | Raymond Hettinger | 2008-01-17 | 1 | -0/+25 |
| | |||||
* | Correction from Jordan Lewis: halfdelay() uses tenths of a second, not ↵ | Andrew M. Kuchling | 2008-01-17 | 1 | -2/+2 |
| | | | | milliseconds | ||||
* | Issue #1861: Add read-only attribute listing upcoming events in the order ↵ | Raymond Hettinger | 2008-01-17 | 3 | -8/+33 |
| | | | | they will be run. | ||||
* | Fix a function pointer declaration to silence the compiler. | Brett Cannon | 2008-01-17 | 1 | -1/+1 |
| | |||||
* | Revise 3141 section a bit; add some Windows items | Andrew M. Kuchling | 2008-01-17 | 1 | -19/+17 |
| | |||||
* | Fixes (accepts patch) issue1339 - http://bugs.python.org/issue1339 | Gregory P. Smith | 2008-01-17 | 3 | -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 Hettinger | 2008-01-17 | 1 | -0/+4 |
| | |||||
* | entry for r60015 | Gregory P. Smith | 2008-01-17 | 1 | -0/+4 |
| | |||||
* | Comply with RFC 3207. | Gregory P. Smith | 2008-01-17 | 2 | -0/+14 |
| | | | | Fixes issue 829951 - http://bugs.python.org/issue829951 | ||||
* | Make starmap() match its pure python definition and accept any itertable ↵ | Raymond Hettinger | 2008-01-17 | 4 | -8/+15 |
| | | | | input (not just tuples). | ||||
* | Add news entry. | Raymond Hettinger | 2008-01-16 | 1 | -0/+2 |
| | |||||
* | Add queues will alternative fetch orders (priority based and stack based). | Raymond Hettinger | 2008-01-16 | 2 | -14/+57 |
| | |||||
* | Minor wordsmithing. | Raymond Hettinger | 2008-01-16 | 2 | -9/+29 |
| | |||||
* | Use 'g' instead of 'D' as the ctypes typecode for c_longdouble, for | Thomas Heller | 2008-01-16 | 3 | -5/+5 |
| | | | | compliance with PEP 3118. | ||||
* | Doc build should work with 2.4 now. | Georg Brandl | 2008-01-16 | 1 | -8/+8 |
| | |||||
* | Add Python-specific content to Doc dir. Update configuration file | Georg Brandl | 2008-01-16 | 5 | -18/+211 |
| | | | | to work with the newest Sphinx. | ||||
* | Raise a TypeError instead of a ValueError when too many initializers | Thomas Heller | 2008-01-16 | 3 | -5/+7 |
| | | | | are used in a Structure or Union constructor. | ||||
* | Raise a TypeError if conflicting positional and named arguments are | Thomas Heller | 2008-01-16 | 3 | -0/+27 |
| | | | | passed to a Structure or Union constructor. | ||||
* | Convert the internal ctypes array type cache to a WeakValueDict so | Thomas Heller | 2008-01-16 | 3 | -10/+37 |
| | | | | that array types do not live longer than needed. | ||||
* | Fix MSDN library URL. (#1854) | Georg Brandl | 2008-01-16 | 1 | -1/+1 |
| | |||||
* | Markup fix | Andrew M. Kuchling | 2008-01-16 | 1 | -1/+1 |
| | |||||
* | Add PEP 3141 section | Andrew M. Kuchling | 2008-01-16 | 1 | -0/+94 |
| | |||||
* | Docstring typos | Andrew M. Kuchling | 2008-01-16 | 1 | -3/+3 |
| | |||||
* | test_doctest fails since r59984. | Amaury Forgeot d'Arc | 2008-01-15 | 1 | -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 docs | Raymond Hettinger | 2008-01-15 | 1 | -7/+3 |
| | |||||
* | Refactor if/elif chain for clarity and speed. Remove dependency on ↵ | Raymond Hettinger | 2008-01-15 | 2 | -30/+31 |
| | | | | subclasses having to implement _empty and _full. | ||||
* | Issue #1786 (by myself): pdb should use its own stdin/stdout around an | Guido van Rossum | 2008-01-15 | 2 | -3/+13 |
| | | | | exec call and when creating a recursive instance. | ||||
* | Restore description of sys.dont_write_bytecode. | Andrew M. Kuchling | 2008-01-15 | 1 | -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 infinite | Jeffrey Yasskin | 2008-01-15 | 6 | -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 Brandl | 2008-01-15 | 1 | -11/+3 |
| | |||||
* | Typo. | Georg Brandl | 2008-01-15 | 1 | -1/+1 |
| | |||||
* | Small grammar nit | Raymond Hettinger | 2008-01-15 | 1 | -2/+2 |
| | |||||
* | Temporarily revert 59967 until GC can be added. | Raymond Hettinger | 2008-01-15 | 4 | -12/+1 |
| |