Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Change xmlrpclib to use the newer httplib interface. | Jeremy Hylton | 2007-08-14 | 2 | -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 Rossum | 2007-08-14 | 2 | -8/+8 |
| | |||||
* | Fix test_gdbm. | Martin v. Löwis | 2007-08-14 | 1 | -3/+3 |
| | |||||
* | Remove string.{letters,lowercase,uppercase}. | Martin v. Löwis | 2007-08-14 | 8 | -46/+17 |
| | |||||
* | Patch suggested Paul Colomiets fixes test_threaded_import.py. | Guido van Rossum | 2007-08-13 | 1 | -2/+2 |
| | |||||
* | Don't mess with string.letters any more. It is most likely going to disappear. | Guido van Rossum | 2007-08-13 | 1 | -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 Rossum | 2007-08-13 | 2 | -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 Rossum | 2007-08-13 | 1 | -3/+2 |
| | |||||
* | Enable basic load/store again. | Martin v. Löwis | 2007-08-13 | 1 | -3/+3 |
| | |||||
* | Fix a failing test on FreeBSD: ttys are seekable in FreeBSD, too. | Hye-Shik Chang | 2007-08-13 | 1 | -2/+3 |
| | |||||
* | Fix a test failure on non-UTF-8 locales: bad_coding2.py is encoded | Hye-Shik Chang | 2007-08-13 | 1 | -1/+1 |
| | | | | in utf-8. | ||||
* | Retouch my last change after a comment on style from Guido. | Lars Gustäbel | 2007-08-13 | 1 | -10/+7 |
| | |||||
* | Allow str8 in .write(). | Martin v. Löwis | 2007-08-13 | 1 | -1/+2 |
| | |||||
* | Expect that source strings are Unicode. | Martin v. Löwis | 2007-08-13 | 1 | -8/+10 |
| | |||||
* | Make assertion error be more verbose. | Martin v. Löwis | 2007-08-13 | 1 | -1/+1 |
| | |||||
* | Fix typo. | Martin v. Löwis | 2007-08-13 | 1 | -1/+1 |
| | |||||
* | Create Unicode objects. | Martin v. Löwis | 2007-08-13 | 1 | -69/+20 |
| | |||||
* | Use Tcl_SetObjResult instead of Tcl_SetResult. | Martin v. Löwis | 2007-08-13 | 1 | -12/+5 |
| | |||||
* | Cleanup a little. | Neal Norwitz | 2007-08-12 | 1 | -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 addressed | Neal Norwitz | 2007-08-12 | 1 | -0/+3 |
| | |||||
* | Fix memory leak in an error condition | Neal Norwitz | 2007-08-12 | 1 | -1/+4 |
| | |||||
* | Fix memory leak | Neal Norwitz | 2007-08-12 | 1 | -1/+2 |
| | |||||
* | Compare what's read from files against proper byte literals. Neither of these | Barry Warsaw | 2007-08-12 | 2 | -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.0 | Skip Montanaro | 2007-08-12 | 11 | -55/+40 |
| | |||||
* | Fix memory leak | Neal Norwitz | 2007-08-12 | 1 | -1/+1 |
| | |||||
* | Don't try to convert str to Unicode anymore. | Martin v. Löwis | 2007-08-12 | 1 | -10/+1 |
| | |||||
* | Get pystone working with lazy map. | Neal Norwitz | 2007-08-12 | 1 | -1/+1 |
| | |||||
* | Fix the refleak in strftime when converting a %Z with a user defined tzinfo. | Neal Norwitz | 2007-08-12 | 1 | -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 OutputWindow | Kurt B. Kaiser | 2007-08-12 | 2 | -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 batches | Neal Norwitz | 2007-08-12 | 1 | -3/+19 |
| | | | | when one test fails and you want to start running from that point onwards. | ||||
* | Remove docs for builtin file. | Neal Norwitz | 2007-08-12 | 1 | -103/+54 |
| | | | | Move docs for: long -> int, unichr -> chr, unicode -> str. | ||||
* | Kill execfile(), use exec() instead | Neal Norwitz | 2007-08-12 | 98 | -341/+179 |
| | |||||
* | Fix refleaks from execfile('file that contains a # coding: line') | Neal Norwitz | 2007-08-12 | 1 | -11/+21 |
| | | | | Also simplify logic a bit in fp_setreadl. | ||||
* | Make sure to flush output when writing dots during -R runs | Neal Norwitz | 2007-08-12 | 1 | -0/+1 |
| | |||||
* | Remove obsolete ifdef. | Martin v. Löwis | 2007-08-11 | 1 | -2/+0 |
| | |||||
* | Fix problem when exec'ing a string with a coding | Neal Norwitz | 2007-08-11 | 2 | -1/+6 |
| | |||||
* | Change module to produce and consume bytes. | Martin v. Löwis | 2007-08-11 | 1 | -13/+8 |
| | |||||
* | Remove unnecessary import | Neal Norwitz | 2007-08-11 | 1 | -1/+0 |
| | |||||
* | Fix test_wsgiref that used StringIO and a BufferedReader rather than | Neal Norwitz | 2007-08-11 | 1 | -1/+2 |
| | | | | | real files. This code assumed that fileno() would succeed which wasn't the case. | ||||
* | Quick fix for a new problem here -- using string.lowercase somehow caused | Guido van Rossum | 2007-08-11 | 1 | -4/+3 |
| | | | | problems. | ||||
* | Fix automatic replacing mistake. | Georg Brandl | 2007-08-11 | 1 | -1/+1 |
| | |||||
* | Fall back to ascii if the locale module cannot be loaded. | Martin v. Löwis | 2007-08-11 | 1 | -2/+7 |
| | |||||
* | A few sqlite files were still using RO instead of READONLY. | Guido van Rossum | 2007-08-11 | 2 | -15/+15 |
| | |||||
* | Fix reference leak. | Martin v. Löwis | 2007-08-11 | 1 | -0/+1 |
| | |||||
* | Set sys.stdout.encoding properly. | Martin v. Löwis | 2007-08-11 | 4 | -9/+59 |
| | | | | | Always set LC_CTYPE on interpreter startup. Add device_encoding function. | ||||
* | Change shelve to require a bytes-oriented dict as | Martin v. Löwis | 2007-08-11 | 2 | -19/+53 |
| | | | | the underlying storage, and yet provide string keys. | ||||
* | Remove support for __members__ and __methods__. There still might be | Neal Norwitz | 2007-08-11 | 14 | -195/+83 |
| | | | | | some cleanup to do on this. Particularly in Python/traceback.c with getting rid of the getattr if possible and Demo/*metaclasses/Enum.py. | ||||
* | Fix test_bsddb3. | Martin v. Löwis | 2007-08-11 | 3 | -62/+64 |
| | |||||
* | Fix refleaks | Neal Norwitz | 2007-08-11 | 1 | -0/+4 |
| | |||||
* | Handle error | Neal Norwitz | 2007-08-11 | 1 | -1/+4 |
| |