summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Implemented PEP 370Christian Heimes2008-05-0610-62/+397
|
* Make the Python implementation of warnings compatible with the C ↵Benjamin Peterson2008-05-061-0/+3
| | | | implementation regarding non-callable showwarning
* Fix logic error in Python/_warnings.c and add a test to verifyBenjamin Peterson2008-05-062-0/+11
|
* > != (!<).Georg Brandl2008-05-061-2/+2
|
* #2773: fix description of 'g' and 'G' formatting spec.Georg Brandl2008-05-061-6/+6
|
* Intern static stringChristian Heimes2008-05-062-12/+2
| | | | Use float constructors instead of magic code for float constants
* fix issue2707 - os.walk docstring example correctness typo.Gregory P. Smith2008-05-061-1/+2
|
* Fix a bug in the handling of the stacklevel argument in warnings.warn() whereBrett Cannon2008-05-062-3/+3
| | | | the stack was being unwound by two levels instead of one each time.
* PEP 8 nits in json packageBenjamin Peterson2008-05-063-2/+3
|
* Fix a bug introduced in r62627. see issue2760 and issue2632.Gregory P. Smith2008-05-052-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.
* #2752: fix second example too.Georg Brandl2008-05-051-1/+1
|
* #2769: markup glitch.Georg Brandl2008-05-051-1/+1
|
* Fix JSON module docs.Georg Brandl2008-05-051-142/+108
|
* Add the 'json' package. Code taken from simplejson 1.9 and contributed by BobBrett Cannon2008-05-0534-1/+2886
| | | | | | Ippolito. Closes issue #2750.
* Revert bogus checkin in r62724 to that file.Martin v. Löwis2008-05-051-1/+1
|
* Fix Unicode filename test.Martin v. Löwis2008-05-051-4/+6
|
* Issue #1734346: Support Unicode file names for zipfiles.Martin v. Löwis2008-05-054-7/+36
|
* Remove the use of 'inspect' from 'warnings' for detected deprecated use of theBrett Cannon2008-05-051-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 functionBrett Cannon2008-05-055-16/+90
| | | | that lacks support for the new 'line' argument.
* Remove method signatures from the docstrings of io.pyBenjamin Peterson2008-05-041-50/+38
|
* #2695: Do case-insensitive check for algorithms.Georg Brandl2008-05-041-0/+2
|
* Fix typo in bugs.rstBenjamin Peterson2008-05-041-1/+1
|
* #2757: Remove spare newline.Georg Brandl2008-05-041-1/+0
|
* Implemented feature request 2157: Converter names are cut off at '('Gerhard Häring2008-05-043-10/+26
| | | | | | 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. TheGerhard Häring2008-05-042-2/+46
| | | | sqlite3.Row type is now correctly hashable.
* SQLite requires 64-bit integers in order to build. So the whole HAVE_LONG_LONGGerhard Häring2008-05-041-4/+0
| | | | #ifdefing was useless.
* Added note that Python requires at least Win2k SP4Christian Heimes2008-05-041-0/+3
|
* #2752: wrong meaning of '' for socket host.Georg Brandl2008-05-041-1/+1
|
* Fix typo in whatsnewBenjamin Peterson2008-05-041-1/+3
|
* Make sure that Context traps and flags dictionaries have values 0 and 1Mark Dickinson2008-05-041-2/+2
| | | | (as documented) rather than True and False.
* Some very minor changes to decimal.py in Python 2.6, aimedMark Dickinson2008-05-041-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 Peterson2008-05-037-694/+745
| | | | modules
* Insert correct OpenSearch base URL.Georg Brandl2008-05-031-1/+1
|
* Backport Raymond's changes in r60508 to Python 2.6.Mark Dickinson2008-05-032-6/+6
| | | | 'Context flags get set, not incremented'
* The compiling struct is now passed around to all AST helpers (see issue 2720)Benjamin Peterson2008-05-031-32/+32
|
* In test_io, StatefulIncrementalDecoderTest was not part of the test suite.Amaury Forgeot d'Arc2008-05-032-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 thatBrett Cannon2008-05-032-0/+84
| | | | | | | raised an exception properly when __file__ is not set, __name__ == '__main__', and sys.argv[0] is a false value. Closes issue2743.
* Fix some indentation errors.Brett Cannon2008-05-031-9/+10
|
* capitalization nit for reStructuredTextBenjamin Peterson2008-05-021-1/+1
|
* Fix for issue #2520 (cannot import macerrors)Ronald Oussoren2008-05-021-0/+1
|
* Fix for #1905: PythonLauncher not working correctly on OSX 10.5/LeopardRonald Oussoren2008-05-024-103/+45
| | | | This fixes both Python Launchar and the terminalcommand module.
* Merged revisions 62263-62646 via svnmerge fromMartin v. Löwis2008-05-022-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. ........
* Finish fix for issue2573, previous patch was incomplete.Ronald Oussoren2008-05-021-1/+2
|
* Fix for issue #2573: Can't change the framework name on OS X buildsRonald Oussoren2008-05-0213-57/+77
| | | | | | | This introduces a new configure option: --with-framework-name=NAME (defaulting to 'Python'). This allows you to install several copies of the Python framework with different names (such as a normal build and a debug build).
* Fixed some test structures. Thanks Mark Dickinson.Facundo Batista2008-05-022-21/+10
|
* #2581: Vista UAC/elevation support for bdist_wininstMark Hammond2008-05-0211-11/+152
|
* This should fix issue2632. A long description of the two competingGregory P. Smith2008-05-021-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.
* Fix a backwards-compatibility mistake where a new optional argument forBrett Cannon2008-05-022-4/+3
| | | | | | | warnings.showwarning() was being used. This broke pre-existing replacements for the function since they didn't support the extra argument. Closes issue 2705.
* Fix synopsis.Georg Brandl2008-05-011-1/+1
|
* Fix typo in whatsnewBenjamin Peterson2008-04-301-1/+1
|