Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PyOS_getsig(), PyOS_setsig(): The minimal amount of work to avoid the | Barry Warsaw | 2001-11-13 | 1 | -0/+12 |
| | | | | | | | | | | | | | uninitialized memory reads reported in bug #478001. Note that this doesn't address the following larger issues: - Error conditions are not documented for PyOS_*sig() in the C API. - Nothing that actually calls PyOS_*sig() in the core interpreter and extension modules actually /checks/ the return value of the call. Fixing those is left as an exercise for a later day. | ||||
* | Don't munge __debug__ and leave it that way. | Jeremy Hylton | 2001-11-13 | 1 | -0/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-11-13 | 5 | -8/+6 |
| | |||||
* | A specific test for bug #481221, getaddrlist() failing on long | Barry Warsaw | 2001-11-13 | 1 | -0/+8 |
| | | | | addresses. Commented out because it still takes too long to run. | ||||
* | Fix for bug #481221, getaddrlist() failing on long addresses. | Barry Warsaw | 2001-11-13 | 1 | -4/+8 |
| | |||||
* | Committing the second part of patch #480902, an improved test suite | Barry Warsaw | 2001-11-13 | 1 | -31/+66 |
| | | | | | for dumbdbm.py, by Skip Montanaro. The first half of Skip's patch has been postponed until Py2.3 since it adds new features. | ||||
* | new_code(): The last patch to this left behind an unreferenced local; | Tim Peters | 2001-11-13 | 1 | -1/+0 |
| | | | | deleted its declaration. | ||||
* | Add tests for bug #478115, parsedate_tz() IndexError when a Date: | Barry Warsaw | 2001-11-13 | 2 | -0/+11 |
| | | | | field exists with an empty value. | ||||
* | parsedate_tz(): If data is false, return None. Fixes bug #478115, | Barry Warsaw | 2001-11-13 | 1 | -0/+2 |
| | | | | IndexError when a Date: field exists with an empty value. | ||||
* | load_string(): Force use of unsigned compare in a context that was | Tim Peters | 2001-11-12 | 1 | -6/+8 |
| | | | | clearly (but incorrectly) assuming it. | ||||
* | OSX notes: | Jack Jansen | 2001-11-12 | 1 | -5/+10 |
| | | | | | | - Added a note about the limit stack command - Revoved the note about largefile - Added a note about /usr/local not existing by default. | ||||
* | No need to preprocess the header files - use ctags -I flag instead to | Thomas Heller | 2001-11-12 | 1 | -27/+15 |
| | | | | remove DL_IMPORT. | ||||
* | Fix obvious typos. | Thomas Heller | 2001-11-12 | 1 | -3/+3 |
| | |||||
* | Limit string size on one-character-strings. Fixes #480384. | Martin v. Löwis | 2001-11-11 | 1 | -2/+2 |
| | |||||
* | Patch in bug report #477700: Fix memory leaks in gdbm & curses. | Martin v. Löwis | 2001-11-11 | 2 | -3/+5 |
| | |||||
* | Patch #473002: Update Demo/tix tixwidgets.py et al. | Martin v. Löwis | 2001-11-11 | 7 | -154/+542 |
| | |||||
* | Add the MSL C library to the set of standard libraries | Jack Jansen | 2001-11-10 | 2 | -1/+37 |
| | | | | | | | linked against. Most, but not all, of it is included in PythonCore, but extensions may want to use some of the routines not included. Fixes a bug reported by Tom Loredo. | ||||
* | The libraries argument was completely ignored, fixed. Reported by | Jack Jansen | 2001-11-10 | 1 | -1/+2 |
| | | | | Tom Loredo. | ||||
* | Patch #473265: UpdatePairedHandlers nonsensical. | Martin v. Löwis | 2001-11-10 | 1 | -3/+3 |
| | |||||
* | Merge 1.42 from PyXML: Flag errors resulting from argument conversion problems. | Martin v. Löwis | 2001-11-10 | 1 | -2/+1 |
| | | | | Fixes problem with not detecting UTF-8 errors. | ||||
* | Fixed various problems with command-dot handling (some very old): | Jack Jansen | 2001-11-10 | 1 | -45/+52 |
| | | | | | | | | | | - Don't scan for cmd-. unless in the foreground - Scan before switching out to other processes, not after - don't scan if SchedParams.check_interrupt is false (!) - But: do scan if we're blocked on I/O One problem remains: in the last case KeyboardInterrupt is raised too late. | ||||
* | Added version annotations, remove hard tabs. | Fred Drake | 2001-11-09 | 1 | -7/+11 |
| | |||||
* | Use PyObject_CheckReadBuffer(). | Jeremy Hylton | 2001-11-09 | 3 | -23/+5 |
| | |||||
* | Add PyObject_CheckReadBuffer(), which returns true if its argument | Jeremy Hylton | 2001-11-09 | 3 | -29/+83 |
| | | | | | | supports the single-segment readable buffer interface. Add documentation for this and other PyObject_XXXBuffer() calls. | ||||
* | No need to have documentation for a module which not accepted in the library. | Fred Drake | 2001-11-09 | 1 | -87/+0 |
| | |||||
* | Add note about assignment to __debug__ being an error. | Jeremy Hylton | 2001-11-09 | 1 | -0/+4 |
| | |||||
* | Include sys_getdefaultencoding in #ifdef Py_USING_UNICODE. Fixes #479571. | Martin v. Löwis | 2001-11-09 | 1 | -2/+2 |
| | |||||
* | open_the_file(): Explicitly set errno to 0 before calling fopen(). | Tim Peters | 2001-11-09 | 1 | -0/+1 |
| | |||||
* | getnameinfo() appears to raise socket.error instead of | Barry Warsaw | 2001-11-09 | 1 | -1/+1 |
| | | | | | socket.gaierror. :( This allows test_socket to pass on a RH6.1-ish Linux system. | ||||
* | Fix SF buf #480096: Assign to __debug__ still allowed | Jeremy Hylton | 2001-11-09 | 1 | -1/+0 |
| | | | | | | Easy enough to catch assignment in the compiler. The perverse user can still change the value of __debug__, but that may be the least he can do. | ||||
* | Fix SF buf #480096: Assign to __debug__ still allowed | Jeremy Hylton | 2001-11-09 | 2 | -3/+20 |
| | | | | | | Easy enough to catch assignment in the compiler. The perverse user can still change the value of __debug__, but that may be the least he can do. | ||||
* | Fiddle with new test cases -- verify that we get a sensible error | Jeremy Hylton | 2001-11-09 | 1 | -4/+7 |
| | | | | | | | message for bad mode argument -- so that it doesn't fail on Windows. It's hack. We know that errno is set to 0 in this case on Windows, so check for that specifically. | ||||
* | test_formatdate(): Dang. Typo. | Barry Warsaw | 2001-11-09 | 1 | -1/+1 |
| | |||||
* | test_formatdate(): Don't do the localtime test if we don't have | Barry Warsaw | 2001-11-09 | 1 | -10/+12 |
| | | | | strptime() -- I'm too lazy to code it otherwise. | ||||
* | open_the_file(): this routine has a borrowed reference to the file | Tim Peters | 2001-11-09 | 1 | -1/+0 |
| | | | | | | object, so the "Metroworks only" section should not decref it in case of error (the caller is responsible for decref'ing in case of error -- and does). | ||||
* | Add sys/types.h and stdio.h into getaddrinfo test, based on itojun's message | Martin v. Löwis | 2001-11-09 | 2 | -140/+144 |
| | | | | in http://mail.python.org/pipermail/python-dev/2001-November/018473.html | ||||
* | test_formatdate(): A test for email.Utils.formatdate(). | Barry Warsaw | 2001-11-09 | 1 | -0/+16 |
| | |||||
* | Forgot to import time. | Barry Warsaw | 2001-11-09 | 1 | -0/+1 |
| | |||||
* | Updated the documentation for formatdate(). | Barry Warsaw | 2001-11-09 | 1 | -5/+14 |
| | |||||
* | formatdate(): A better docstring. | Barry Warsaw | 2001-11-09 | 1 | -4/+7 |
| | |||||
* | Remove my name, probably bad style. | Thomas Heller | 2001-11-09 | 1 | -2/+0 |
| | |||||
* | formatdate(): An implementation to replace the one borrowed from | Barry Warsaw | 2001-11-09 | 1 | -1/+37 |
| | | | | | | | | | | rfc822.py. The old rfc822.formatdate() produced date strings using obsolete syntax. The new version produces the preferred RFC 2822 dates. Also, an optional argument `localtime' is added, which if true, produces a date relative to the local timezone, with daylight savings time properly taken into account. | ||||
* | Script to print undocumented symbols found in Python header files. | Thomas Heller | 2001-11-09 | 1 | -0/+99 |
| | |||||
* | Fix SF bug 468948 & 451295: urllib2 authentication problems | Jeremy Hylton | 2001-11-09 | 1 | -28/+12 |
| | | | | | | | | | | | | | | | | | | | Fix contributed by Jeffrey C. Ollie. I haven't tested the fix because the situation is non-trivial to reproduce. The basic solution is to get rid of the __current_realm attribute of authentication handlers. Instead, prevent infinite retries by checking for the presence of an Authenticate: header in the request object that exactly matches the Authenticate: header that would be added. The problem prevent authentication from working correctly in the presence of retries. Ollie mentioned that digest authentication has the same problem and I applied the same solution there. | ||||
* | Fix SF bug #479186: compiler generates bad code for "del" | Jeremy Hylton | 2001-11-09 | 1 | -0/+1 |
| | | | | | | | Fix by Neil Schemenauer. Visit the Subscript node when trying to find the operation for a statement. XXX Not sure if there are other nodes that should be visited. | ||||
* | Fix SF buf #476953: Bad more for opening file gives bad msg. | Jeremy Hylton | 2001-11-09 | 2 | -2/+17 |
| | | | | | | If fopen() fails with EINVAL it means that the mode argument is invalid. Return the mode in the error message instead of the filename. | ||||
* | A better new, unique object | Jeremy Hylton | 2001-11-09 | 1 | -1/+1 |
| | |||||
* | Fix memory leak. This is part of SF patch #478006. | Fred Drake | 2001-11-09 | 2 | -1/+2 |
| | |||||
* | Fix memory leak. This is (very!) similar to part of SF patch #478006. | Fred Drake | 2001-11-09 | 1 | -0/+1 |
| | |||||
* | Fixes to compile cPickle.c & socketmodule.c on cygwin and possibly | Michael W. Hudson | 2001-11-09 | 2 | -5/+10 |
| | | | | | other platforms that have funny ideas about whether addresses of functions in dlls are compile-time constants. |