Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 1313:6ee380349c84 legacy-trunk
* Added gmtime/localtime/mktime and SYSV timezone globals to timemodule.c.
Added $(SYSDEF) to its build rule in Makefile.
* cgensupport.[ch], modsupport.[ch]: removed some old stuff. Also
changed files that still used it... And made several things static
that weren't but should have been... And other minor cleanups...
* listobject.[ch]: add external interfaces {set,get}listslice
* socketmodule.c: fix bugs in new send() argument parsing.
* sunaudiodevmodule.c: added flush() and close().
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Thu, 17 Jun 1993 12:35:49 +0000 |
| parents | e0464e7115ca |
| children | a22a350d3a5d |
line wrap: on
line diff
--- a/Objects/stringobject.c Mon Jun 14 08:47:54 1993 +0000 +++ b/Objects/stringobject.c Thu Jun 17 12:35:49 1993 +0000 @@ -60,7 +60,7 @@ return (object *) op; } -void +static void string_dealloc(op) object *op; { @@ -676,6 +676,8 @@ "unsupported format character"); goto error; } + /* XXX There's a bug somewhere here so that + XXX '%4d'%-1 yields '- 1' ... */ if (sign) { if (*buf == '-' || *buf == '+') { sign = *buf++;
