summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* OK, don't call resetwarnings().Tim Peters2002-04-161-2/+0
|
* It makes more sense to call resetwarnings() after every test runs thanTim Peters2002-04-164-9/+4
| | | | to keep doing that in every test that wants to filter a warning.
* I expect test_univnewlines to be skipped on Windows. I expect thisTim Peters2002-04-151-0/+1
| | | | | because it *is* skipped. I'm not entirely sure it should be skipped, but figuring that out would take actual thought <wink>.
* Reduce the number of test-suite DeprecationWarnings; start addingTim Peters2002-04-153-3/+12
| | | | resetwarnings() calls too.
* Fix grammarNeal Norwitz2002-04-151-2/+2
|
* test_main(): Added this so the test can actually get run under theBarry Warsaw2002-04-152-21/+20
| | | | | regrtest framework. Keep the original standalone-unittest scaffolding (i.e. suite() and __main__).
* parseaddr(): Don't use rfc822.parseaddr() because this now implies aBarry Warsaw2002-04-151-4/+3
| | | | | | | | double call to AddressList.getaddrlist(), and /that/ always returns an empty list for the second and subsequent calls. Instead, instantiate an AddressList directly, and get the parsed addresses out of the addresslist attribute.
* Add documentation for PyObject_Call().Fred Drake2002-04-151-0/+16
| | | | | Note that PyObject_Size() is a synonym for PyObject_Length(). This closes SF patch #544330 (contributed by Thomas Heller).
* Separate out a \cfuncline macro from the cfuncdesc environment.Fred Drake2002-04-152-9/+25
| | | | | This matches many other of the *desc environments, and is useful when multiple functions share a description.
* Document the cmemberdesc environment.Fred Drake2002-04-151-0/+11
|
* ehlo(): A proper fix for SF bug #498572. RFC 1869 describes ESMTPBarry Warsaw2002-04-151-1/+5
| | | | | | | | | | | | | which requires that if there are ehlo parameters returned with an ehlo keyword (in the response to EHLO), the keyword and parameters must be delimited by an ASCII space. Thus responses like 250-AUTH=LOGIN should be ignored as non-conformant to the RFC (the `=' isn't allowed in the ehlo keyword). This is a bug fix candidate.
* Better documentation for GetArgv() and the ProgressBar type.Fred Drake2002-04-151-40/+157
| | | | | Back-porting to release22-maint. This closes SF patch #496705.
* Be consistent in presenting the signatures.Fred Drake2002-04-151-1/+1
|
* Add docs for os.fchdir().Fred Drake2002-04-151-0/+9
|
* posix_fildes(): New helper: run a function that takes a file descriptorFred Drake2002-04-151-52/+71
| | | | | | | | | | | | | | | | | | and returns None. This allows any object that supports the fileno() method to be passed as a file descriptor, not just an integer. posix_fchdir(): New exposed function: implements posix.fchdir(). This closes SF feature #536796. posix_fsync(), posix_fdatasync(): Convert to use posix_fildes() instead of posix_int(). This also changes them from METH_VARARGS to METH_O functions. setup_confname_table(): Remove unused variable. Change to take a module rather than a dict to save the resulting table into. setup_confname_tables(): Change to take a module instead of a dict to pass to setup_confname_table().
* Generate the right annotations in the index entries.Fred Drake2002-04-151-2/+2
| | | | Thanks to Thomas Heller for the sharp eye.
* Add a test for fchdir().Fred Drake2002-04-153-3/+7
| | | | This is part of SF feature #536796.
* Integrated more text from Guido.Fred Drake2002-04-151-2/+359
|
* Move the listing of the type structure, since both the C API reference andFred Drake2002-04-151-0/+0
| | | | the Extending & Embedding manual use it.
* Return the orginal string only if it's a real str or unicodeWalter Dörwald2002-04-152-4/+18
| | | | instance, otherwise make a copy.
* Clean up the application of style to verbatim text.Fred Drake2002-04-153-8/+10
| | | | | | | This moves styling to the stylesheet; the use of <dl> structures to control style sometimes produced improper indentation of subsequent text in many browsers when the text was already part of the <dl> structure (as in a function or class description).
* Add support for \cmemberline and the cmemberdesc environment.Fred Drake2002-04-151-0/+24
|
* Remove unused variable reported by Walter DörwaldNeal Norwitz2002-04-151-1/+1
|
* Add itemAndrew M. Kuchling2002-04-151-0/+2
|
* Remove 'const' from local variable declaration in string_zfill() -- itGuido van Rossum2002-04-151-71/+80
| | | | | | | | isn't constant, so why bother. Folded long lines. Whitespace normalization.
* Apply the second version of SF patch http://www.python.org/sf/536241Walter Dörwald2002-04-158-13/+83
| | | | | | | | | | Add a method zfill to str, unicode and UserString and change Lib/string.py accordingly. This activates the zfill version in unicodeobject.c that was commented out and implements the same in stringobject.c. It also adds the test for unicode support in Lib/string.py back in and uses repr() instead() of str() (as it was before Lib/string.py 1.62)
* posix.mknod() and {}.pop() were addedNeal Norwitz2002-04-151-1/+2
|
* Deprecate % as well. The message for deprecation of //, % and divmodGuido van Rossum2002-04-151-1/+6
| | | | is the same in all three cases (mostly because // calls divmod :-).
* Add news about deprecated complex ops.Guido van Rossum2002-04-151-0/+4
|
* update build infrastructure for pymalloc and bool changesAndrew MacIntyre2002-04-152-5/+18
|
* Add itemsAndrew M. Kuchling2002-04-151-0/+20
|
* SF bug #543387.Guido van Rossum2002-04-151-0/+5
| | | | | | | | | Complex numbers implement divmod() and //, neither of which makes one lick of sense. Unfortunately this is documented, so I'm adding a deprecation warning now, so we can delete this silliness, oh, around 2005 or so. Bugfix candidate (At least for 2.2.2, I think.)
* Four more names for the hall of fame.Guido van Rossum2002-04-151-0/+4
|
* SF bug #541883 (Vincent Fiack).Guido van Rossum2002-04-152-0/+11
| | | | | | | A stupid bug in object_set_class(): didn't check for value==NULL before checking its type. Bugfix candidate.
* Add exit as alias for quit, as the easiest way to address SF bugGuido van Rossum2002-04-151-1/+4
| | | | | | #543674. Bugfix candidate.
* SF bug #543318 (Frank J. Tobin).Guido van Rossum2002-04-151-1/+1
| | | | | | | In DatagramRequestHandler.setup(), the wfile initialization should be StringIO.StringIO(), not StringIO.StringIO(slf.packet). Bugfix candidate (all the way back to Python 1.5.2 :-).
* Fix from SF bug #541980 (Jacques A. Vidrine).Guido van Rossum2002-04-151-1/+4
| | | | | | | When os.stat() for a file raises OSError, turn it into IOError per documentation. Bugfix candidate.
* Provisional fix for writefile() [SF bug # 541730].Guido van Rossum2002-04-151-1/+1
| | | | | | | | | | | | | | | | | | | | The problem was that an exception can occur in the text.get() call or in the write() call, when the text buffer contains non-ASCII characters. This causes the previous contents of the file to be lost. The provisional fix is to call str(self.text.get(...)) *before* opening the file, so that if the exception occurs, we never open the file. Two orthogonal better solutions have to wait for policy decisions: 1. We could try to encode the data as Latin-1 or as UTF-8; but that would require IDLE to grow a notion of file encoding which requires more thought. 2. We could make backups before overwriting a file. This requires more thought because it needs to be fast and cross-platform and configurable.
* Enable universal newline support for MacPython.Jack Jansen2002-04-141-0/+3
|
* SF bug 543840: complex(string) accepts strings with \0Tim Peters2002-04-142-1/+14
| | | | | | | complex_subtype_from_string(): this stopped parsing at the first 0 byte, as if that were the end of the input string. Bugfix candidate.
* Test suite for universal newline support.Jack Jansen2002-04-141-0/+114
|
* Mass checkin of universal newline support.Jack Jansen2002-04-1415-35/+390
| | | | | | | | Highlights: import and friends will understand any of \r, \n and \r\n as end of line. Python file input will do the same if you use mode 'U'. Everything can be disabled by configuring with --without-universal-newlines. See PEP278 for details.
* Patch #540583: Open MS Help Docs if available.Martin v. Löwis2002-04-141-3/+12
|
* Patch #542569: tp_print tp_repr tp_str in test_bool.py.Martin v. Löwis2002-04-141-1/+18
|
* Patch #543447: Add posix.mknod.Martin v. Löwis2002-04-146-7/+60
|
* Patch #542659: Eliminate duplicate check for NULL of freevars/cellvars.Martin v. Löwis2002-04-141-4/+0
|
* initpwd(): Clean up initialization, avoid PyModule_GetDict().Fred Drake2002-04-131-4/+4
|
* BDFL agreed with Tim: rehabilitate randint().Neal Norwitz2002-04-131-2/+0
|
* Fold long lines. (Walter, please take note! :-)Guido van Rossum2002-04-131-9/+18
|
* Add pop() to UserDict.Guido van Rossum2002-04-131-0/+2
|