summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Issue #5042: Structure sub-subclass does now initialize correctly withThomas Heller2009-09-183-58/+95
| | | | base class positional arguments.
* Add Gawain Bolton to Misc/ACKS for his work on base 10 integer -> string ↵Mark Dickinson2009-09-181-0/+1
| | | | optimizations.
* Optimize optimization and fix method name in docstring.Georg Brandl2009-09-181-3/+3
|
* Use str.format() to fix beginner's mistake with %-style string formatting.Georg Brandl2009-09-181-7/+7
|
* #6938: "ident" is always a string, so use a format code which works.Georg Brandl2009-09-182-1/+4
|
* #6905: use better exception messages in inspect when the argument is of the ↵Georg Brandl2009-09-181-7/+7
| | | | wrong type.
* #6936: for interactive use, quit() is just fine.Georg Brandl2009-09-181-1/+1
|
* use macrosBenjamin Peterson2009-09-171-1/+1
|
* Make the optparse doc style a bit more standard: use standard description ↵Georg Brandl2009-09-171-454/+510
| | | | units for attrs/methods/etc., and use the correct referencing roles.
* Remove duplicate doc of enable/disable_interspersed_args.Georg Brandl2009-09-171-27/+19
|
* #6932: remove paragraph that advises relying on __del__ being called.Georg Brandl2009-09-171-19/+26
|
* #6844 followup: the warning when setting Exception.message was removed, do ↵Georg Brandl2009-09-171-7/+0
| | | | not test for it.
* Issue #6922: Fix an infinite loop when trying to decode an invalidGeorg Brandl2009-09-173-1/+16
| | | | UTF-32 stream with a non-raising error handler like "replace" or "ignore".
* String values should be shown with quotes, to avoid confusion with constants.Georg Brandl2009-09-171-23/+23
|
* #6912: add "with" block support to pindent.Georg Brandl2009-09-171-2/+2
|
* rationalize a bitBenjamin Peterson2009-09-171-2/+4
|
* Note in the intro to Extending... that ctypes can be a simpler, more ↵Brett Cannon2009-09-171-0/+7
| | | | portable solution than custom C code.
* pep 8 defaultsBenjamin Peterson2009-09-171-1/+1
|
* kill bare exceptBenjamin Peterson2009-09-171-1/+1
|
* Issue #6713: Improve performance of str(n) and repr(n) for integers nMark Dickinson2009-09-163-0/+125
| | | | | (up to 3.1 times faster in tests), by special-casing base 10 in _PyLong_Format. (Backport of r74851 from py3k.)
* Add news entry for r74841.Thomas Wouters2009-09-161-0/+2
|
* #6844: do not emit DeprecationWarnings on access if Exception.message has ↵Georg Brandl2009-09-163-18/+82
| | | | | | been set by the user. This works by always setting it in __dict__, except when it's implicitly set in __init__.
* Remove outdated include; this include was breaking OS X builds usingMark Dickinson2009-09-161-4/+0
| | | | | non-Apple gcc4.3 and gcc4.4 (because CoreFoundation/CoreFoundation.h won't compile under non-Apple gcc).
* Fix issue #1590864, multiple threads and fork() can cause deadlocks, byThomas Wouters2009-09-165-22/+108
| | | | | | | | | | | | | | | | | | | | | | acquiring the import lock around fork() calls. This prevents other threads from having that lock while the fork happens, and is the recommended way of dealing with such issues. There are two other locks we care about, the GIL and the Thread Local Storage lock. The GIL is obviously held when calling Python functions like os.fork(), and the TLS lock is explicitly reallocated instead, while also deleting now-orphaned TLS data. This only fixes calls to os.fork(), not extension modules or embedding programs calling C's fork() directly. Solving that requires a new set of API functions, and possibly a rewrite of the Python/thread_*.c mess. Add a warning explaining the problem to the documentation in the mean time. This also changes behaviour a little on AIX. Before, AIX (but only AIX) was getting the import lock reallocated, seemingly to avoid this very same problem. This is not the right approach, because the import lock is a re-entrant one, and reallocating would do the wrong thing when forking while holding the import lock. Will backport to 2.6, minus the tiny AIX behaviour change.
* Make the pdb displayhook compatible with the standard displayhook: do not ↵Georg Brandl2009-09-162-2/+36
| | | | print Nones. Add a test for that.
* Remove some more boilerplate from the actual tests in test_pdb.Georg Brandl2009-09-161-27/+34
|
* Rewrap long lines.Georg Brandl2009-09-161-257/+246
|
* #6879 - fix misstatement about exceptionsEzio Melotti2009-09-161-5/+3
|
* #6892: fix optparse example involving help option.Georg Brandl2009-09-161-1/+4
|
* Remove strange trailing commas.Georg Brandl2009-09-161-3/+3
|
* #5621: refactor description of how class/instance attributes interact on ↵Georg Brandl2009-09-161-13/+24
| | | | a.x=a.x+1 or augassign.
* #6891: comment out dead link to Unicode article.Georg Brandl2009-09-161-5/+6
|
* #6876: fix base class constructor invocation in example.Georg Brandl2009-09-161-2/+1
|
* #6880: add reference to classes section in exceptions section, which comes ↵Georg Brandl2009-09-161-3/+4
| | | | earlier.
* Make deprecation notices as visible as warnings are right now.Georg Brandl2009-09-162-10/+21
|
* Update distutils.util tests after my changesRonald Oussoren2009-09-151-1/+21
| | | | to --with-universal-archs
* Add Armin Ronacher.Georg Brandl2009-09-151-0/+4
|
* Finish support for --with-universal-archs=intelRonald Oussoren2009-09-152-6/+26
| | | | and --with-universal-archs=3-way (issue6245)
* #6917 - typo in method nameEzio Melotti2009-09-151-1/+1
|
* MacOSX: detect the architectures supported byRonald Oussoren2009-09-151-13/+11
| | | | | | | | | Tk.framework and build _tkinter only for those architectures. This replaces the hardcoded solution that is no longer valid now that 64-bit capable versions of Tk are available on OSX.
* Py_SetPythonHome uses static storage #6913Benjamin Peterson2009-09-151-0/+4
|
* #6908: fix association of hashlib hash attributes.Georg Brandl2009-09-141-2/+2
|
* #6574: list the future features in a table.Georg Brandl2009-09-141-4/+31
|
* #6904 - fix broken linkEzio Melotti2009-09-141-1/+1
|
* Remove an extraneous space in unittest documentation.Michael Foord2009-09-131-1/+1
|
* Test discovery in unittest will only attempt to import modules that are ↵Michael Foord2009-09-134-46/+85
| | | | importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
* Typo fix.Georg Brandl2009-09-131-1/+1
|
* unittest.TestLoader.loadTestsFromName honors the loader suiteClass ↵Michael Foord2009-09-133-2/+46
| | | | attribute. Issue 6866.
* Tutorial tweaks. Issue 6849.Michael Foord2009-09-131-12/+10
|
* Note that sys._getframe is not guaranteed to exist in all implementations of ↵Michael Foord2009-09-132-1/+7
| | | | Python, and a corresponding note in inspect.currentframe. Issue 6712.