Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bug #1213894: os.path.realpath didn't resolve symlinks that were the first | Georg Brandl | 2005-06-03 | 2 | -1/+21 |
| | | | | component of the path. | ||||
* | M-x untabify | Michael W. Hudson | 2005-06-03 | 1 | -9/+9 |
| | |||||
* | pybsddb 4.3.1, adds support for DB.set_bt_compare database btree comparison | Gregory P. Smith | 2005-06-03 | 3 | -0/+218 |
| | | | | | | functions written in python. contributed by <frederic.gobry@epfl.ch> | ||||
* | [Bug #1177831] Exercise (?(id)yes|no) for a group other than the first one | Andrew M. Kuchling | 2005-06-02 | 1 | -0/+10 |
| | |||||
* | [Bug #1177831] Fix generation of code for GROUPREF_EXISTS. Thanks to Andre ↵ | Andrew M. Kuchling | 2005-06-02 | 1 | -1/+1 |
| | | | | Malo for the fix. | ||||
* | Fix compiler.ast.flatten function so that it works on lists. | Neil Schemenauer | 2005-06-02 | 2 | -4/+9 |
| | |||||
* | [Bug #1152762] Ensure _end_of_line() returns an x-coordinate that's within ↵ | Andrew M. Kuchling | 2005-06-02 | 1 | -1/+1 |
| | | | | the text box | ||||
* | added GET/SETANNOTATION methods | Piers Lauder | 2005-06-01 | 1 | -9/+36 |
| | |||||
* | This is my patch: | Michael W. Hudson | 2005-05-27 | 1 | -0/+110 |
| | | | | | | | | | | | | | | [ 1181301 ] make float packing copy bytes when they can which hasn't been reviewed, despite numerous threats to check it in anyway if noone reviews it. Please read the diff on the checkin list, at least! The basic idea is to examine the bytes of some 'probe values' to see if the current platform is a IEEE 754-ish platform, and if so _PyFloat_{Pack,Unpack}{4,8} just copy bytes around. The rest is hair for testing, and tests. | ||||
* | Fix test_site to not call open('...', 'wU'), as that now raises an error. | Michael W. Hudson | 2005-05-27 | 1 | -1/+1 |
| | | | | Is anyone running the test suite regularly at the moment? | ||||
* | Disallow opening files with modes 'aU' or 'wU' as specified by PEP | Skip Montanaro | 2005-05-20 | 1 | -0/+10 |
| | | | | 278. Closes bug 967182. | ||||
* | Whitespace normalization. | Tim Peters | 2005-05-18 | 1 | -1/+1 |
| | |||||
* | This test relied on short-circuiting details of dictobject.py to avoid | Armin Rigo | 2005-05-15 | 1 | -4/+2 |
| | | | | | | | | | crashing, and indirectly on the fact that hash codes in random.randrange(1000000000) were very unlikely to exhibit collisions. To see the problem, replace this number with 500 and observe the crash on either del target[key] or del keys[i]. The fix prevents recursive mutation, just as in the key insertion case. | ||||
* | Add better datetime support to xmlrpclib module. Closes patch #1120353. | Skip Montanaro | 2005-05-14 | 2 | -17/+87 |
| | |||||
* | Improve subprocess link error notification | Kurt B. Kaiser | 2005-05-10 | 3 | -3/+9 |
| | | | | | | M NEWS.txt M PyShell.py M rpc.py | ||||
* | SF bug #1193890: calendar.weekheader not found in __all__ | Raymond Hettinger | 2005-05-10 | 1 | -1/+2 |
| | |||||
* | Use Queue's blocking feature instead of sleeping in the main | Kurt B. Kaiser | 2005-05-05 | 2 | -2/+4 |
| | | | | loop. Patch # 1190163 Michiel de Hoon | ||||
* | Don't use 'is not' to compare strings. | Michael W. Hudson | 2005-05-04 | 1 | -1/+1 |
| | | | | (spotted by reading pypy-svn :) | ||||
* | SF patch #1191489: Simplify logic in random.py | Raymond Hettinger | 2005-04-30 | 1 | -9/+10 |
| | |||||
* | Fix error in a docstring where a single quote started the docstring but triple | Brett Cannon | 2005-04-30 | 1 | -1/+1 |
| | | | | | | quote ended it. Closes bug #1192777. Thanks Christopher Smith. | ||||
* | Fixed a typo in docstring I happened upon. | Guido van Rossum | 2005-04-30 | 1 | -1/+1 |
| | |||||
* | Make subclasses of int, long, complex, float, and unicode perform type | Brett Cannon | 2005-04-26 | 4 | -1/+245 |
| | | | | | | | conversion using the proper magic slot (e.g., __int__()). Also move conversion code out of PyNumber_*() functions in the C API into the nb_* function. Applied patch #1109424. Thanks Walter Doewald. | ||||
* | Make parse_makefile fallback to environment variables if nothing is | Martin v. Löwis | 2005-04-25 | 1 | -21/+14 |
| | | | | | defined in the makefile. Get CFLAGS from the Makefile, instead of getting OPT, BASE_CFLAGS and EXTRA_CFLAGS individually. | ||||
* | Introduced EXTRA_CFLAGS as an environment variable used by the Makefile. Meant | Brett Cannon | 2005-04-24 | 1 | -3/+4 |
| | | | | | | | to be used for flags that change binary compatibility. Distutils was tweaked to also use the variable if used during compilation of the interpreter. | ||||
* | Update test to the current readline() behaviour. | Walter Dörwald | 2005-04-21 | 1 | -0/+2 |
| | |||||
* | Fix comment. | Walter Dörwald | 2005-04-21 | 1 | -2/+2 |
| | |||||
* | If the data read from the bytestream in readline() ends in a '\r' read one more | Walter Dörwald | 2005-04-21 | 1 | -12/+4 |
| | | | | | | | | | | | byte, even if the user has passed a size parameter. This extra byte shouldn't cause a buffer overflow in the tokenizer. The original plan was to return a line ending in '\r', which might be recognizable as a complete line and skip any '\n' that was read afterwards. Unfortunately this didn't work, as the tokenizer only recognizes '\n' as line ends, which in turn lead to joined lines and SyntaxErrors, so this special treatment of a split '\r\n' has been dropped. (It can only happen with a temporarily exhausted bytestream now anyway.) Fixes parts of SF bugs #1163244 and #1175396. | ||||
* | Fix tests dependent on the exception raised by non-settable descriptors. | Barry Warsaw | 2005-04-20 | 3 | -5/+6 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2005-04-20 | 2 | -2/+2 |
| | |||||
* | typo fix, thanks Jeremy Sanders | Anthony Baxter | 2005-04-15 | 1 | -1/+1 |
| | |||||
* | Flush out support for ``class B(): pass`` syntax by adding support to the | Brett Cannon | 2005-04-09 | 3 | -1/+9 |
| | | | | | | 'parser' module and 'compiler' package. Closes patch #1176012. Thanks logistix. | ||||
* | Add test for ``class B1(): pass``. | Brett Cannon | 2005-04-09 | 1 | -1/+2 |
| | |||||
* | test_default_encoding_issues(): Fully restore sys.setdefaultencoding. | Tim Peters | 2005-04-08 | 1 | -0/+7 |
| | | | | | | | | | | test_site often failed under "regrtest.py -r", because this xmlrpc test left sys with a setdefaultencoding attribute, but loading site.py removes that attribute and test_site.py verifies the attribute is gone. Changed this test to get rid of sys.setdefaultencoding if it didn't exist when this test started. Don't know whether this is a bugfix (backport) candidate. | ||||
* | SF bug #1168983: ftplib.py string index out of range | Raymond Hettinger | 2005-04-05 | 1 | -7/+16 |
| | | | | | | | | * resp[:1] in '123' # after Py2.2, this allowed blank responses to pass. * replace <> with != * provide a usage message for empty command line calls Backport candidate. | ||||
* | Fix typos. | Walter Dörwald | 2005-04-04 | 1 | -2/+2 |
| | |||||
* | Fix for SF bug #1175396: readline() will now read one more character, if | Walter Dörwald | 2005-04-04 | 2 | -9/+91 |
| | | | | | | | | | | | | the last character read is "\r" (and size is None, i.e. we're allowed to call read() multiple times), so that we can return the correct line ending (this additional character might be a "\n"). If the stream is temporarily exhausted, we might return the wrong line ending (if the last character read is "\r" and the next one (after the byte stream provides more data) is "\n", but at least the atcr member ensure that we get the correct number of lines (i.e. this "\n" will not be treated as another line ending.) | ||||
* | Fix testcase for 64bit BSD systems: long is 8 bytes for those systems | Hye-Shik Chang | 2005-04-04 | 1 | -2/+8 |
| | | | | so there's no need to pad after off_t members. And a small typo fix. | ||||
* | Added threadName and now using re-entrant lock | Vinay Sajip | 2005-03-31 | 1 | -2/+5 |
| | |||||
* | Since PyPI only accepts UTF-8 encoded data now, make sure that the data is | Walter Dörwald | 2005-03-31 | 1 | -2/+2 |
| | | | | properly encoded and include the encoding in the Content-Type header. | ||||
* | Fix for rather inaccurately titled bug | Michael W. Hudson | 2005-03-30 | 1 | -0/+10 |
| | | | | | | | | | [ 1165306 ] Property access with decorator makes interpreter crash Don't allow the creation of unbound methods with NULL im_class, because attempting to call such crashes. Backport candidate. | ||||
* | SF patch 1167316: doctest.py fails self-test if run directly. | Tim Peters | 2005-03-28 | 1 | -5/+5 |
| | | | | | | Patch by Ilya Sandler. Bugfix candidate. | ||||
* | Whitespace normalization. | Tim Peters | 2005-03-28 | 13 | -29/+27 |
| | |||||
* | Two lines in this file had unbalanced parentheses -- couldn't possibly | Tim Peters | 2005-03-28 | 1 | -2/+2 |
| | | | | | | | work (SyntaxErrors at compile time). I slammed in what looked like the obvious fixes, but someone who understands this file should check my work. | ||||
* | SF patch #1171417: bug fix for islice() in docs | Raymond Hettinger | 2005-03-27 | 1 | -0/+5 |
| | |||||
* | * Fix decimal's handling of foreign types. Now returns NotImplemented | Raymond Hettinger | 2005-03-27 | 2 | -11/+89 |
| | | | | | | | instead of raising a TypeError. Allows other types to successfully implement __radd__() style methods. * Remove future division import from test suite. * Remove test suite's shadowing of __builtin__.dir(). | ||||
* | SF bug #1770766: weakref proxy has incorrect __nonzero__ behavior. | Raymond Hettinger | 2005-03-27 | 1 | -0/+6 |
| | |||||
* | Add missing socket import | Martin v. Löwis | 2005-03-24 | 1 | -0/+1 |
| | |||||
* | minor cleanup | Fred Drake | 2005-03-24 | 1 | -7/+6 |
| | |||||
* | Make SRPMs pyversion 'any'. | Martin v. Löwis | 2005-03-23 | 1 | -1/+1 |
| | |||||
* | Make dist_files a triple, with the Python target version included, | Martin v. Löwis | 2005-03-23 | 6 | -14/+38 |
| | | | | so that bdist_wininst can specify 'any'. |