summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix memory leak. This is part of SF patch #478006.Fred Drake2001-11-092-1/+2
|
* Fix memory leak. This is (very!) similar to part of SF patch #478006.Fred Drake2001-11-091-0/+1
|
* Fixes to compile cPickle.c & socketmodule.c on cygwin and possiblyMichael W. Hudson2001-11-092-5/+10
| | | | | other platforms that have funny ideas about whether addresses of functions in dlls are compile-time constants.
* Cleaned up some markup stupidity and a usage problem reported by DetlefFred Drake2001-11-091-9/+19
| | | | Lannert. Added descriptions of HTTP_PORT and HTTPS_PORT.
* Fix a variety of typographical, grammatical, and clarity problems reportedFred Drake2001-11-091-54/+62
| | | | by Detlef Lannert.
* Merge directory chooser into tkFileDialog.Martin v. Löwis2001-11-082-54/+18
|
* Clean up one comment, fix typos in others.Fred Drake2001-11-081-7/+7
|
* Backing out the fast path for interned string compares again as requested.Marc-André Lemburg2001-11-081-15/+0
|
* Patch #478654: Expose tk_chooseDirectory.Martin v. Löwis2001-11-072-4/+14
| | | | Also delegate kw arguments through ** calls.
* Add fast-path for comparing interned (true) string objects.Marc-André Lemburg2001-11-071-0/+15
| | | | | | This patch boosts performance for comparing identical string object by some 20% on my machine while not causing any noticable slow-down for other operations (according to tests done with pybench).
* Fix memory leaks detecting in bug report #478003.Martin v. Löwis2001-11-072-5/+11
|
* When referring to a formal parameter from the description, use the name givenFred Drake2001-11-071-1/+1
| | | | with the signature, not an ad hoc abbreviated form.
* Another name!Fred Drake2001-11-071-0/+1
|
* apply() documentation: Remove a detail about the implementation that doesFred Drake2001-11-071-5/+6
| | | | | not affect the API. Clean up the text about call syntax apply() is equivalent to. Based on comments by Thomas Guettler.
* SF bug #478949 Windows installer start menu registry.Tim Peters2001-11-071-5/+7
| | | | | | | | | | | I'm guessing at this, pending more info from the bug submitter. Wise changed how the %GROUP% vrbl got defined between versions 5.0a (used before Python 2.2) and 8.14, to hold the full path to Start Menu group instead of just the group name. If I'm guessing correctly, the info the bug report is complaining about is in one of the registry keys we set up that neither Windows nor Python cares about. We did store a full path there in 2.2b1 instead of just the group name; the patch cuts it back to just the name again.
* Adjust the module synopsis to avoid margin overruns in the PDF format.Fred Drake2001-11-062-5/+3
|
* A variety of small cleanups, including one to avoid a margin overrun in theFred Drake2001-11-061-17/+15
| | | | PDF version.
* Remove stray quotes; probably left over from conversion from docstrings.Fred Drake2001-11-061-1/+1
|
* Remove extra period.Fred Drake2001-11-061-1/+1
|
* Add a regression test for SF bug #478536: If a value cannot be weaklyFred Drake2001-11-061-1/+5
| | | | | referenced, WeakKeyDictionary.has_key() should return 0 instead of raising TypeError.
* WeakKeyDictionary.has_key(): If the key being tested is not weaklyFred Drake2001-11-061-1/+5
| | | | | | referencable (weakref.ref() raises TypeError), return 0 instead of propogating the TypeError. This closes SF bug #478536; bugfix candidate.
* Changed names, added bridge functions to macfs.fsref objects andJack Jansen2001-11-061-67/+48
| | | | generally did things to get it working.
* Added an error message when using FSRef objects on platforms that don'tJack Jansen2001-11-061-0/+1
| | | | support them.
* Added hfsplusapi module.Jack Jansen2001-11-064-0/+6
|
* Added longlong routines.Jack Jansen2001-11-062-1/+8
|