summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix #1146: TextWrap vs words 1-character shorter than the width.Georg Brandl2008-01-193-1/+22
| | | | Patch by Quentin Gallet-Gilles.
* Fix #1679: "0x" was taken as a valid integer literal.Georg Brandl2008-01-196-16/+45
| | | | | Fixes the tokenizer, tokenize.py and int() to reject this. Patches by Malte Helmert.
* Add itemAndrew M. Kuchling2008-01-191-0/+7
|
* missing from r60088 checkin.Skip Montanaro2008-01-191-0/+3
|
* Comment in NEWS regarding the change in trace.py.Facundo Batista2008-01-191-0/+3
|
* Fix #1693149. Now you can pass several modules separated byFacundo Batista2008-01-192-6/+10
| | | | | coma to trace.py in the same --ignore-module option. Thanks Raghuram Devarakonda.
* Patch #976880: add mmap .rfind() method, and 'end' paramter to .find().Andrew M. Kuchling2008-01-195-9/+88
| | | | Contributed by John Lenton.
* Sort two names into positionAndrew M. Kuchling2008-01-191-2/+2
|
* #1782: don't leak in error case in PyModule_AddXxxConstant. Patch by Hrvoje ↵Georg Brandl2008-01-191-2/+14
| | | | Nikšić.
* Clarify thread.join() docs. #1873.Georg Brandl2008-01-191-6/+7
|
* Disabled test_xmlrpc:test_404. It's causing lots of false alarms.Christian Heimes2008-01-193-4/+4
| | | | I also disabled a test in test_ssl which requires network access to svn.python.org. This fixes a bug Skip has reported a while ago.
* Add itemAndrew M. Kuchling2008-01-191-0/+7
|
* Patch #742598 from Michael Pomraning: add .timeout attribute to SocketServer ↵Andrew M. Kuchling2008-01-194-5/+60
| | | | | | that will call .handle_timeout() method when no requests are received within the timeout period.
* Fix typos.Georg Brandl2008-01-191-7/+7
|
* Polish sentenceAndrew M. Kuchling2008-01-191-4/+4
|
* Update for threading.local test.Christian Heimes2008-01-191-2/+18
|
* Added unit test to verify that threading.local doesn't cause ref leaks. It ↵Christian Heimes2008-01-191-1/+27
| | | | seems that the thread local storage always keeps the storage of the last stopped thread alive. Can anybody comment on it, please?
* Polish sentenceAndrew M. Kuchling2008-01-191-2/+2
|
* Fix issue #1822: MIMEMultipart.is_multipart() behaves correctly for aFacundo Batista2008-01-193-0/+12
| | | | | just-created (and empty) instance. Added tests for this. Thanks Jonathan Share.
* Indentation normalization.Georg Brandl2008-01-191-8/+8
|
* Amend curses docs by info how to write non-ascii characters.Georg Brandl2008-01-191-0/+13
| | | | Thanks to Jeroen Ruigrok van der Werven.
* Fix markup.Georg Brandl2008-01-191-56/+56
|
* Several tweaks: add construction from strings and .from_decimal(), changeJeffrey Yasskin2008-01-193-17/+142
| | | | | __init__ to __new__ to enforce immutability, and remove "rational." from repr and the parens from str.
* This got fixed for classic classes in r60057,Guido van Rossum2008-01-181-17/+0
| | | | and backported to 2.5.2 in 60056.
* Better variable name in an example.Raymond Hettinger2008-01-181-2/+2
|
* Fix an edge case whereby the __del__() method of a classic class couldGuido van Rossum2008-01-181-0/+10
| | | | create a new weakref to the object.
* Silence Coverity false alerts with CIDs #172, #183, #184Christian Heimes2008-01-182-1/+3
|
* 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.