summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove license of the md5 module which is no longer part of Python.Georg Brandl2007-08-161-50/+0
|
* Remove a bogus comment based on the code above.Neal Norwitz2007-08-161-2/+0
|
* Support the new doc system. Also test_compiler was removed in 3kNeal Norwitz2007-08-161-7/+11
|
* Move the 3k reST doc tree in place.Georg Brandl2007-08-15423-0/+131199
|
* Delete the LaTeX doc tree.Georg Brandl2007-08-15490-150234/+0
|
* Tag last revision with LaTeX docs.Georg Brandl2007-08-150-0/+0
|
* Fix doc compilation problem.George Yoshida2007-08-151-1/+1
|
* Implement PEP 3131. Add isidentifier to str.Martin v. Löwis2007-08-1511-5/+152
|
* Down with str8!Guido van Rossum2007-08-152-20/+21
| | | | Change various socket APIs to use bytes or str instead str8.
* Add XID_Start and XID_Continue properties to unicodectype.Martin v. Löwis2007-08-144-899/+1020
|
* Format bools properly in %d.Martin v. Löwis2007-08-142-2/+11
|
* Bug #1772489: make dir() work on traceback objects again.Collin Winter2007-08-142-1/+20
|
* Get rid of traceback.c:tb_getattr in favor of marking the members as READONLY.Collin Winter2007-08-141-19/+3
|
* Remove Python 1.5 compatibility layer from httplib.Jeremy Hylton2007-08-142-191/+15
| | | | | | | | The two clients in the std library have been updated to use the newer interface. A couple of minor changes to the httplib tests were needed. Also, reformat some long lines in the httplib tests.
* Change xmlrpclib to use the newer httplib interface.Jeremy Hylton2007-08-142-73/+77
| | | | | | | Note that it's hard to test xmlrpclib, because the server it attempts to connect to doesn't seem to support the expected interfaces. Many of the links via xmlrpc.com are dead, so I couldn't find another server to use for tests.
* The dbm module should use bytes for keys. This makes test_shelve pass.Guido van Rossum2007-08-142-8/+8
|
* Fix test_gdbm.Martin v. Löwis2007-08-141-3/+3
|
* Remove string.{letters,lowercase,uppercase}.Martin v. Löwis2007-08-148-46/+17
|
* Patch suggested Paul Colomiets fixes test_threaded_import.py.Guido van Rossum2007-08-131-2/+2
|
* Don't mess with string.letters any more. It is most likely going to disappear.Guido van Rossum2007-08-131-62/+0
| | | | | Even if it isn't, it shouldn't be changed based on the locale setting IMO. (Incidentally, this makes test_csv.py pass again on my box.)
* Improved patches for sndhdr and imghdr by Victor Stinner, who writes:Guido van Rossum2007-08-132-32/+33
| | | | | | | | - fix "h[sbseek] == b'\1'" and "ratecode = ord(h[sbseek+4])" in test_voc() - avoid division by zero - use startswith method: replace h[:2] == b'BM' by h.startswith(b'BM') - use aifc.open() instead of old aifc.openfp() - use ord(b'P') instead of ord('P')
* Fix two obvious 2.xisms.Guido van Rossum2007-08-131-3/+2
|
* Enable basic load/store again.Martin v. Löwis2007-08-131-3/+3
|
* Fix a failing test on FreeBSD: ttys are seekable in FreeBSD, too.Hye-Shik Chang2007-08-131-2/+3
|
* Fix a test failure on non-UTF-8 locales: bad_coding2.py is encodedHye-Shik Chang2007-08-131-1/+1
| | | | in utf-8.
* Retouch my last change after a comment on style from Guido.Lars Gustäbel2007-08-131-10/+7
|
* Allow str8 in .write().Martin v. Löwis2007-08-131-1/+2
|
* Expect that source strings are Unicode.Martin v. Löwis2007-08-131-8/+10
|
* Make assertion error be more verbose.Martin v. Löwis2007-08-131-1/+1
|
* Fix typo.Martin v. Löwis2007-08-131-1/+1
|
* Create Unicode objects.Martin v. Löwis2007-08-131-69/+20
|
* Use Tcl_SetObjResult instead of Tcl_SetResult.Martin v. Löwis2007-08-131-12/+5
|
* Cleanup a little.Neal Norwitz2007-08-121-31/+34
| | | | | | Use bit fields for flags to reduce memory usage. Return booleans where they are documented. Although a boolean for seekable seems a bit odd when it can be unknown. Add a comment about this.
* Add comment that should be addressedNeal Norwitz2007-08-121-0/+3
|
* Fix memory leak in an error conditionNeal Norwitz2007-08-121-1/+4
|
* Fix memory leakNeal Norwitz2007-08-121-1/+2
|
* Compare what's read from files against proper byte literals. Neither of theseBarry Warsaw2007-08-122-58/+61
| | | | | | | | | | | | | modules have unittests AFAICT, and I'm not improving things here, but these changes make a bunch of email package tests succeed, and command line testing against real files seems to make things better. Added an __main__ section to imghdr.py so that it can be run from the command line similarly to sndhdr.py. Someone else can figure out a better -m way of doing this. In sndhdr.py do a couple of very minor cleanups, and use a with statement to not wait for gc to close the file.
* PyErr_Warn is deprecated in 2.5 - goes away for 3.0Skip Montanaro2007-08-1211-55/+40
|
* Fix memory leakNeal Norwitz2007-08-121-1/+1
|
* Don't try to convert str to Unicode anymore.Martin v. Löwis2007-08-121-10/+1
|
* Get pystone working with lazy map.Neal Norwitz2007-08-121-1/+1
|
* Fix the refleak in strftime when converting a %Z with a user defined tzinfo.Neal Norwitz2007-08-121-32/+39
| | | | | | | | | | | | | | | I inverted some of the conditionals to reduce indent levels. Hopefully this makes it a little easier to read. This code caused the leak: class FixedOffset(datetime.tzinfo): def tzname(self, dt): return "UTC" datetime.time(12, 47, tzinfo=FixedOffset()).strftime('%Z') This code is very tricky and I'm not positive it works. However, it neither crashes nor leaks.
* 1. Catch TypeError exception when writing to OutputWindowKurt B. Kaiser2007-08-122-2/+5
| | | | | | | | | 2. PyShell: shell isn't working due to encoding issues. Temporarily direct exceptions to the terminal. Also, trap exceptions occurring during write() instead of passing. Checking (2) in temporarily to aid finding the encoding problem in IOBinding.py
* Add -s/--start option that makes it easier to run the tests in batchesNeal Norwitz2007-08-121-3/+19
| | | | when one test fails and you want to start running from that point onwards.
* Remove docs for builtin file.Neal Norwitz2007-08-121-103/+54
| | | | Move docs for: long -> int, unichr -> chr, unicode -> str.
* Kill execfile(), use exec() insteadNeal Norwitz2007-08-1298-341/+179
|
* Fix refleaks from execfile('file that contains a # coding: line')Neal Norwitz2007-08-121-11/+21
| | | | Also simplify logic a bit in fp_setreadl.
* Make sure to flush output when writing dots during -R runsNeal Norwitz2007-08-121-0/+1
|
* Remove obsolete ifdef.Martin v. Löwis2007-08-111-2/+0
|
* Fix problem when exec'ing a string with a codingNeal Norwitz2007-08-112-1/+6
|