summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* OSX tests used specific version numbers to test for new features andJack Jansen2001-11-142-21/+21
| | | | | | | | | used the default Darwin/* for the old code. Reversed those tests so that compatibility code is in a switch leg with a specific version and newer systems take the default leg. This should allow Python to build on OSX 10.1.1 (which jumps from Darwin/1.4 to Darwin/5.1 due to a new numbering scheme).
* Removed print that executes only on Unix boxes; that made it impossibleTim Peters2001-11-131-2/+2
| | | | to have single "expected output" file.
* CVS patch #477161: New "access" keyword for mmap, from Jay T Miller.Tim Peters2001-11-135-145/+412
| | | | | | | | | | This gives mmap() on Windows the ability to create read-only, write- through and copy-on-write mmaps. A new keyword argument is introduced because the mmap() signatures diverged between Windows and Unix, so while they (now) both support this functionality, there wasn't a way to spell it in a common way without introducing a new spelling gimmick. The old spellings are still accepted, so there isn't a backward- compatibility issue here.
* PyOS_getsig(), PyOS_setsig(): The minimal amount of work to avoid theBarry Warsaw2001-11-131-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 Hylton2001-11-131-0/+2
|
* Whitespace normalization.Tim Peters2001-11-135-8/+6
|
* A specific test for bug #481221, getaddrlist() failing on longBarry Warsaw2001-11-131-0/+8
| | | | addresses. Commented out because it still takes too long to run.
* Fix for bug #481221, getaddrlist() failing on long addresses.Barry Warsaw2001-11-131-4/+8
|
* Committing the second part of patch #480902, an improved test suiteBarry Warsaw2001-11-131-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 Peters2001-11-131-1/+0
| | | | deleted its declaration.
* Add tests for bug #478115, parsedate_tz() IndexError when a Date:Barry Warsaw2001-11-132-0/+11
| | | | field exists with an empty value.
* parsedate_tz(): If data is false, return None. Fixes bug #478115,Barry Warsaw2001-11-131-0/+2
| | | | IndexError when a Date: field exists with an empty value.
* load_string(): Force use of unsigned compare in a context that wasTim Peters2001-11-121-6/+8
| | | | clearly (but incorrectly) assuming it.
* OSX notes:Jack Jansen2001-11-121-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 toThomas Heller2001-11-121-27/+15
| | | | remove DL_IMPORT.
* Fix obvious typos.Thomas Heller2001-11-121-3/+3
|
* Limit string size on one-character-strings. Fixes #480384.Martin v. Löwis2001-11-111-2/+2
|
* Patch in bug report #477700: Fix memory leaks in gdbm & curses.Martin v. Löwis2001-11-112-3/+5
|
* Patch #473002: Update Demo/tix tixwidgets.py et al.Martin v. Löwis2001-11-117-154/+542
|
* Add the MSL C library to the set of standard librariesJack Jansen2001-11-102-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 byJack Jansen2001-11-101-1/+2
| | | | Tom Loredo.
* Patch #473265: UpdatePairedHandlers nonsensical.Martin v. Löwis2001-11-101-3/+3
|
* Merge 1.42 from PyXML: Flag errors resulting from argument conversion problems.Martin v. Löwis2001-11-101-2/+1
| | | | Fixes problem with not detecting UTF-8 errors.
* Fixed various problems with command-dot handling (some very old):Jack Jansen2001-11-101-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 Drake2001-11-091-7/+11
|
* Use PyObject_CheckReadBuffer().Jeremy Hylton2001-11-093-23/+5
|
* Add PyObject_CheckReadBuffer(), which returns true if its argumentJeremy Hylton2001-11-093-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 Drake2001-11-091-87/+0
|
* Add note about assignment to __debug__ being an error.Jeremy Hylton2001-11-091-0/+4
|
* Include sys_getdefaultencoding in #ifdef Py_USING_UNICODE. Fixes #479571.Martin v. Löwis2001-11-091-2/+2
|
* open_the_file(): Explicitly set errno to 0 before calling fopen().Tim Peters2001-11-091-0/+1
|
* getnameinfo() appears to raise socket.error instead ofBarry Warsaw2001-11-091-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 allowedJeremy Hylton2001-11-091-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 allowedJeremy Hylton2001-11-092-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 errorJeremy Hylton2001-11-091-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 Warsaw2001-11-091-1/+1
|
* test_formatdate(): Don't do the localtime test if we don't haveBarry Warsaw2001-11-091-10/+12
| | | | strptime() -- I'm too lazy to code it otherwise.
* open_the_file(): this routine has a borrowed reference to the fileTim Peters2001-11-091-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 messageMartin v. Löwis2001-11-092-140/+144
| | | | in http://mail.python.org/pipermail/python-dev/2001-November/018473.html
* test_formatdate(): A test for email.Utils.formatdate().Barry Warsaw2001-11-091-0/+16
|
* Forgot to import time.Barry Warsaw2001-11-091-0/+1
|
* Updated the documentation for formatdate().Barry Warsaw2001-11-091-5/+14
|
* formatdate(): A better docstring.Barry Warsaw2001-11-091-4/+7
|
* Remove my name, probably bad style.Thomas Heller2001-11-091-2/+0
|
* formatdate(): An implementation to replace the one borrowed fromBarry Warsaw2001-11-091-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 Heller2001-11-091-0/+99
|
* Fix SF bug 468948 & 451295: urllib2 authentication problemsJeremy Hylton2001-11-091-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 Hylton2001-11-091-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 Hylton2001-11-092-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 objectJeremy Hylton2001-11-091-1/+1
|