Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implemented PEP 370 | Christian Heimes | 2008-05-06 | 3 | -55/+296 | |
| | ||||||
* | Make the Python implementation of warnings compatible with the C ↵ | Benjamin Peterson | 2008-05-06 | 1 | -0/+3 | |
| | | | | implementation regarding non-callable showwarning | |||||
* | Fix logic error in Python/_warnings.c and add a test to verify | Benjamin Peterson | 2008-05-06 | 1 | -0/+9 | |
| | ||||||
* | Intern static string | Christian Heimes | 2008-05-06 | 1 | -11/+1 | |
| | | | | Use float constructors instead of magic code for float constants | |||||
* | fix issue2707 - os.walk docstring example correctness typo. | Gregory P. Smith | 2008-05-06 | 1 | -1/+2 | |
| | ||||||
* | Fix a bug in the handling of the stacklevel argument in warnings.warn() where | Brett Cannon | 2008-05-06 | 1 | -0/+2 | |
| | | | | the stack was being unwound by two levels instead of one each time. | |||||
* | PEP 8 nits in json package | Benjamin Peterson | 2008-05-06 | 3 | -2/+3 | |
| | ||||||
* | Fix a bug introduced in r62627. see issue2760 and issue2632. | Gregory P. Smith | 2008-05-05 | 2 | -19/+45 | |
| | | | | | | | | | | | | | An assertion in readline() would fail as data was already in the internal buffer even though the socket was in unbuffered read mode. That case is now handled. More importantly, read() has been fixed to not over-recv() and leave newly recv()d data in the _fileobject buffer. The max() vs min() issue in read() is now gone. Neither was correct. On bounded reads, always ask recv() for the exact amount of data we still need. Candidate for backporting to release25-maint along with r62627. | |||||
* | Add the 'json' package. Code taken from simplejson 1.9 and contributed by Bob | Brett Cannon | 2008-05-05 | 22 | -0/+1797 | |
| | | | | | | Ippolito. Closes issue #2750. | |||||
* | Revert bogus checkin in r62724 to that file. | Martin v. Löwis | 2008-05-05 | 1 | -1/+1 | |
| | ||||||
* | Fix Unicode filename test. | Martin v. Löwis | 2008-05-05 | 1 | -4/+6 | |
| | ||||||
* | Issue #1734346: Support Unicode file names for zipfiles. | Martin v. Löwis | 2008-05-05 | 3 | -7/+34 | |
| | ||||||
* | Remove the use of 'inspect' from 'warnings' for detected deprecated use of the | Brett Cannon | 2008-05-05 | 1 | -5/+12 | |
| | | | | | showwarning API. Turns out 'inspect' uses 'operator' which is an extension module. That's a problem when it has not been built yet by setup.py. | |||||
* | Add a DeprecationWarning for when warnings.showwarning() is set to a function | Brett Cannon | 2008-05-05 | 2 | -1/+42 | |
| | | | | that lacks support for the new 'line' argument. | |||||
* | Remove method signatures from the docstrings of io.py | Benjamin Peterson | 2008-05-04 | 1 | -50/+38 | |
| | ||||||
* | #2695: Do case-insensitive check for algorithms. | Georg Brandl | 2008-05-04 | 1 | -0/+2 | |
| | ||||||
* | Implemented feature request 2157: Converter names are cut off at '(' | Gerhard Häring | 2008-05-04 | 1 | -1/+16 | |
| | | | | | | characters. This avoids the common case of something like 'NUMBER(10)' not being parsed as 'NUMBER', like expected. Also corrected the docs about converter names being case-sensitive. They aren't any longer. | |||||
* | Applied sqliterow-richcmp.diff patch from Thomas Heller in Issue2152. The | Gerhard Häring | 2008-05-04 | 1 | -0/+20 | |
| | | | | sqlite3.Row type is now correctly hashable. | |||||
* | Make sure that Context traps and flags dictionaries have values 0 and 1 | Mark Dickinson | 2008-05-04 | 1 | -2/+2 | |
| | | | | (as documented) rather than True and False. | |||||
* | Some very minor changes to decimal.py in Python 2.6, aimed | Mark Dickinson | 2008-05-04 | 1 | -9/+9 | |
| | | | | | | | | | | at reducing the size of the diff between the 2.x decimal.py and 3.x decimal.py and thereby making future merges easier: - replace one instnace of an old-style raise statement - define __div__ in terms of __truediv__ instead of the other way around - make wording match on an exception message | |||||
* | Moved testing of builtin types out of test_builtin and into type specific ↵ | Benjamin Peterson | 2008-05-03 | 7 | -694/+745 | |
| | | | | modules | |||||
* | Backport Raymond's changes in r60508 to Python 2.6. | Mark Dickinson | 2008-05-03 | 1 | -4/+4 | |
| | | | | 'Context flags get set, not incremented' | |||||
* | In test_io, StatefulIncrementalDecoderTest was not part of the test suite. | Amaury Forgeot d'Arc | 2008-05-03 | 2 | -8/+7 | |
| | | | | | | | | | And of course, the test failed: a bytearray was used without reason in io.TextIOWrapper.tell(). The difference is that iterating over bytes (i.e. str in python2.6) returns 1-char bytes, whereas bytearrays yield integers. This code should still work with python3.0 | |||||
* | Fix the C implementation of 'warnings' to infer the filename of the module that | Brett Cannon | 2008-05-03 | 1 | -0/+71 | |
| | | | | | | | raised an exception properly when __file__ is not set, __name__ == '__main__', and sys.argv[0] is a false value. Closes issue2743. | |||||
* | Fix for issue #2520 (cannot import macerrors) | Ronald Oussoren | 2008-05-02 | 1 | -0/+1 | |
| | ||||||
* | Fix for #1905: PythonLauncher not working correctly on OSX 10.5/Leopard | Ronald Oussoren | 2008-05-02 | 2 | -1/+2 | |
| | | | | This fixes both Python Launchar and the terminalcommand module. | |||||
* | Merged revisions 62263-62646 via svnmerge from | Martin v. Löwis | 2008-05-02 | 2 | -4/+53 | |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r62470 | david.wolever | 2008-04-24 02:11:07 +0200 (Do, 24 Apr 2008) | 3 lines Fixed up and applied the patch for #2431 -- speeding up 2to3 with a lookup table. ........ r62646 | martin.v.loewis | 2008-05-02 23:29:27 +0200 (Fr, 02 Mai 2008) | 2 lines Fix whitespace. ........ | |||||
* | Fixed some test structures. Thanks Mark Dickinson. | Facundo Batista | 2008-05-02 | 2 | -21/+10 | |
| | ||||||
* | #2581: Vista UAC/elevation support for bdist_wininst | Mark Hammond | 2008-05-02 | 6 | -1/+31 | |
| | ||||||
* | This should fix issue2632. A long description of the two competing | Gregory P. Smith | 2008-05-02 | 1 | -59/+104 | |
| | | | | | | | | | | | | | | | | | | | | problems is in the bug report (one old, one recently introduced trying to fix the old one). In short: buffer data during socket._fileobject.read() and readlines() within a cStringIO object instead of a [] of str()s returned from the recv() call. This prevents excessive memory use due to the size parameter being passed to recv() being grossly larger than the actual size of the data returned *and* prevents excessive cpu usage due to looping in python calling recv() with a very tiny size value if min() is used as the previous memory-use bug "fix" did. It also documents what the socket._fileobject._rbufsize member is actually used for. This is a candidate for back porting to 2.5. | |||||
* | Remove some from __future__ import with_statements | Benjamin Peterson | 2008-04-30 | 7 | -7/+0 | |
| | ||||||
* | #1748: use functools.wraps instead of rolling own metadata update. | Georg Brandl | 2008-04-30 | 1 | -6/+2 | |
| | ||||||
* | make test_support's captured_output a bit more robust when exceptions happen | Benjamin Peterson | 2008-04-30 | 1 | -2/+4 | |
| | ||||||
* | #2719: backport next() from 3k. | Georg Brandl | 2008-04-30 | 1 | -0/+27 | |
| | ||||||
* | Issue 2526, float.__format__ 'n' specifier does not support thousands grouping. | Eric Smith | 2008-04-30 | 1 | -1/+11 | |
| | | | | | Implemented grouping, with tests. Cleaned up PyOS_ascii_formatd by breaking reformatting into smaller functions. | |||||
* | test_sundry performs minimal tests (a simple import...) on modules that are ↵ | Amaury Forgeot d'Arc | 2008-04-28 | 1 | -25/+0 | |
| | | | | | | | not tested otherwise. Some of them now have tests and can be removed. Only 70 to go... | |||||
* | Rename the test_traceback_print() function to traceback_print() to prevent | Brett Cannon | 2008-04-28 | 1 | -2/+2 | |
| | | | | test_capi from automatically calling the function. | |||||
* | Get rid of _test(), _main(), _debug() and _check(). Tests are no longer | Skip Montanaro | 2008-04-28 | 1 | -93/+12 | |
| | | | | | | needed (better set available in Lib/test/test_robotparser.py). Clean up a few PEP 8 nits (compound statements on a single line, whitespace around operators). | |||||
* | Fix a bug introduced by the warnings rewrite where tracebacks were being | Brett Cannon | 2008-04-28 | 1 | -2/+28 | |
| | | | | | | improperly indented. Closes issue #2699. | |||||
* | Minor cleanups: | Skip Montanaro | 2008-04-28 | 1 | -35/+37 | |
| | | | | | | | | * Avoid creating unused local variables where we can. Where we can't prefix the unused variables with '_'. * Avoid shadowing builtins where it won't change the external interface of a function. * Use None as default path arg to readmodule and readmodule_ex. | |||||
* | A few small changes: | Skip Montanaro | 2008-04-27 | 1 | -10/+5 | |
| | | | | | | | * The only exception we should catch when trying to import cStringIO is an ImportError. * Delete the function signatures embedded in the mk*temp docstrings. * The tempdir global variable was initialized twice. | |||||
* | Autocompletion of filenames now support alternate separators, e.g. the | Kurt B. Kaiser | 2008-04-27 | 2 | -3/+10 | |
| | | | | '/' char on Windows. Patch 2061 Tal Einat. | |||||
* | Improved AutoCompleteWindow logic. Patch 2062 Tal Einat. | Kurt B. Kaiser | 2008-04-27 | 2 | -7/+14 | |
| | ||||||
* | Home / Control-A toggles between left margin and end of leading white | Kurt B. Kaiser | 2008-04-27 | 3 | -11/+48 | |
| | | | | | | | | space. Patch 1196903 Jeff Shute. M idlelib/PyShell.py M idlelib/EditorWindow.py M idlelib/NEWS.txt | |||||
* | Fixed URL of PEP 205 in weakref's module docstring. | Alexandre Vassalotti | 2008-04-27 | 1 | -1/+1 | |
| | ||||||
* | Allow test_import to work when it is invoked directly | Benjamin Peterson | 2008-04-25 | 1 | -0/+2 | |
| | ||||||
* | Issue 2635: fix bug in the fix_sentence_endings option to textwrap.fill. | Mark Dickinson | 2008-04-25 | 2 | -0/+5 | |
| | ||||||
* | Add from_buffer and from_buffer_copy class methods to ctypes types. | Thomas Heller | 2008-04-25 | 1 | -0/+81 | |
| | ||||||
* | A new crasher. | Armin Rigo | 2008-04-25 | 1 | -0/+31 | |
| | ||||||
* | Use absolute import for test package | Amaury Forgeot d'Arc | 2008-04-24 | 1 | -1/+1 | |
| |