Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #5042: Structure sub-subclass does now initialize correctly with | Thomas Heller | 2009-09-18 | 3 | -58/+95 |
| | | | | base class positional arguments. | ||||
* | Add Gawain Bolton to Misc/ACKS for his work on base 10 integer -> string ↵ | Mark Dickinson | 2009-09-18 | 1 | -0/+1 |
| | | | | optimizations. | ||||
* | Optimize optimization and fix method name in docstring. | Georg Brandl | 2009-09-18 | 1 | -3/+3 |
| | |||||
* | Use str.format() to fix beginner's mistake with %-style string formatting. | Georg Brandl | 2009-09-18 | 1 | -7/+7 |
| | |||||
* | #6938: "ident" is always a string, so use a format code which works. | Georg Brandl | 2009-09-18 | 2 | -1/+4 |
| | |||||
* | #6905: use better exception messages in inspect when the argument is of the ↵ | Georg Brandl | 2009-09-18 | 1 | -7/+7 |
| | | | | wrong type. | ||||
* | #6936: for interactive use, quit() is just fine. | Georg Brandl | 2009-09-18 | 1 | -1/+1 |
| | |||||
* | use macros | Benjamin Peterson | 2009-09-17 | 1 | -1/+1 |
| | |||||
* | Make the optparse doc style a bit more standard: use standard description ↵ | Georg Brandl | 2009-09-17 | 1 | -454/+510 |
| | | | | units for attrs/methods/etc., and use the correct referencing roles. | ||||
* | Remove duplicate doc of enable/disable_interspersed_args. | Georg Brandl | 2009-09-17 | 1 | -27/+19 |
| | |||||
* | #6932: remove paragraph that advises relying on __del__ being called. | Georg Brandl | 2009-09-17 | 1 | -19/+26 |
| | |||||
* | #6844 followup: the warning when setting Exception.message was removed, do ↵ | Georg Brandl | 2009-09-17 | 1 | -7/+0 |
| | | | | not test for it. | ||||
* | Issue #6922: Fix an infinite loop when trying to decode an invalid | Georg Brandl | 2009-09-17 | 3 | -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 Brandl | 2009-09-17 | 1 | -23/+23 |
| | |||||
* | #6912: add "with" block support to pindent. | Georg Brandl | 2009-09-17 | 1 | -2/+2 |
| | |||||
* | rationalize a bit | Benjamin Peterson | 2009-09-17 | 1 | -2/+4 |
| | |||||
* | Note in the intro to Extending... that ctypes can be a simpler, more ↵ | Brett Cannon | 2009-09-17 | 1 | -0/+7 |
| | | | | portable solution than custom C code. | ||||
* | pep 8 defaults | Benjamin Peterson | 2009-09-17 | 1 | -1/+1 |
| | |||||
* | kill bare except | Benjamin Peterson | 2009-09-17 | 1 | -1/+1 |
| | |||||
* | Issue #6713: Improve performance of str(n) and repr(n) for integers n | Mark Dickinson | 2009-09-16 | 3 | -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 Wouters | 2009-09-16 | 1 | -0/+2 |
| | |||||
* | #6844: do not emit DeprecationWarnings on access if Exception.message has ↵ | Georg Brandl | 2009-09-16 | 3 | -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 using | Mark Dickinson | 2009-09-16 | 1 | -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, by | Thomas Wouters | 2009-09-16 | 5 | -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 Brandl | 2009-09-16 | 2 | -2/+36 |
| | | | | print Nones. Add a test for that. | ||||
* | Remove some more boilerplate from the actual tests in test_pdb. | Georg Brandl | 2009-09-16 | 1 | -27/+34 |
| | |||||
* | Rewrap long lines. | Georg Brandl | 2009-09-16 | 1 | -257/+246 |
| | |||||
* | #6879 - fix misstatement about exceptions | Ezio Melotti | 2009-09-16 | 1 | -5/+3 |
| | |||||
* | #6892: fix optparse example involving help option. | Georg Brandl | 2009-09-16 | 1 | -1/+4 |
| | |||||
* | Remove strange trailing commas. | Georg Brandl | 2009-09-16 | 1 | -3/+3 |
| | |||||
* | #5621: refactor description of how class/instance attributes interact on ↵ | Georg Brandl | 2009-09-16 | 1 | -13/+24 |
| | | | | a.x=a.x+1 or augassign. | ||||
* | #6891: comment out dead link to Unicode article. | Georg Brandl | 2009-09-16 | 1 | -5/+6 |
| | |||||
* | #6876: fix base class constructor invocation in example. | Georg Brandl | 2009-09-16 | 1 | -2/+1 |
| | |||||
* | #6880: add reference to classes section in exceptions section, which comes ↵ | Georg Brandl | 2009-09-16 | 1 | -3/+4 |
| | | | | earlier. | ||||
* | Make deprecation notices as visible as warnings are right now. | Georg Brandl | 2009-09-16 | 2 | -10/+21 |
| | |||||
* | Update distutils.util tests after my changes | Ronald Oussoren | 2009-09-15 | 1 | -1/+21 |
| | | | | to --with-universal-archs | ||||
* | Add Armin Ronacher. | Georg Brandl | 2009-09-15 | 1 | -0/+4 |
| | |||||
* | Finish support for --with-universal-archs=intel | Ronald Oussoren | 2009-09-15 | 2 | -6/+26 |
| | | | | and --with-universal-archs=3-way (issue6245) | ||||
* | #6917 - typo in method name | Ezio Melotti | 2009-09-15 | 1 | -1/+1 |
| | |||||
* | MacOSX: detect the architectures supported by | Ronald Oussoren | 2009-09-15 | 1 | -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 #6913 | Benjamin Peterson | 2009-09-15 | 1 | -0/+4 |
| | |||||
* | #6908: fix association of hashlib hash attributes. | Georg Brandl | 2009-09-14 | 1 | -2/+2 |
| | |||||
* | #6574: list the future features in a table. | Georg Brandl | 2009-09-14 | 1 | -4/+31 |
| | |||||
* | #6904 - fix broken link | Ezio Melotti | 2009-09-14 | 1 | -1/+1 |
| | |||||
* | Remove an extraneous space in unittest documentation. | Michael Foord | 2009-09-13 | 1 | -1/+1 |
| | |||||
* | Test discovery in unittest will only attempt to import modules that are ↵ | Michael Foord | 2009-09-13 | 4 | -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 Brandl | 2009-09-13 | 1 | -1/+1 |
| | |||||
* | unittest.TestLoader.loadTestsFromName honors the loader suiteClass ↵ | Michael Foord | 2009-09-13 | 3 | -2/+46 |
| | | | | attribute. Issue 6866. | ||||
* | Tutorial tweaks. Issue 6849. | Michael Foord | 2009-09-13 | 1 | -12/+10 |
| | |||||
* | Note that sys._getframe is not guaranteed to exist in all implementations of ↵ | Michael Foord | 2009-09-13 | 2 | -1/+7 |
| | | | | Python, and a corresponding note in inspect.currentframe. Issue 6712. |