summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* fixed missing IMAP4_SSL_PORTPiers Lauder2002-03-081-1/+2
|
* SF bug 515943: searching for data with \0 in mmap.Tim Peters2002-03-081-0/+25
| | | | | | | | | mmap_find_method(): this obtained the string to find via s#, but it ignored its length, acting as if it were \0-terminated instead. Someone please run on Linux too (the extended test_mmap works on Windows). Bugfix candidate.
* add Content-Type header to error responsesSkip Montanaro2002-03-081-0/+1
| | | | this closes patch 502080
* add SSL class submitted by Tino LangePiers Lauder2002-03-081-1/+74
|
* add repr_str as alias for repr_string in both HTMLRepr and TextRepr classesSkip Montanaro2002-03-071-0/+4
| | | | | - reflects the change in type("").__name__ between 2.1 and 2.2. The __name__ field is used to find a method to call for particular types.
* Test forMichael W. Hudson2002-03-061-0/+12
| | | | | | [ 526039 ] devious code can crash structseqs Bugfix candidate.
* Special support for pickling os.stat and os.stat_vfs results portablyMichael W. Hudson2002-03-062-0/+31
| | | | | | | | (the types come from different modules on different platforms). Added tests for pickling these types. May be a bugfix candidate.
* Set default value for readlines.sizehint to None. Change needed for 2.2.1Martin v. Löwis2002-03-051-1/+1
| | | | as well.
* A fix & test forMichael W. Hudson2002-03-051-0/+7
| | | | | | | | [ 496873 ] structseqs unpicklable by adding a __reduce__ method to structseqs. Will also commit this to the 2.2.1 branch momentarily.
* remove debug cruftSteven M. Gava2002-03-051-6/+0
|
* further work on new config systemSteven M. Gava2002-03-052-9/+23
|
* Removed two unused imports. Closes patch #525225.Barry Warsaw2002-03-031-4/+0
| | | | 2.2.1 candidate (but not terribly important).
* SF #506611, fix sys.setprofile(), sys.settrace() core dumpsNeal Norwitz2002-03-032-0/+10
| | | | when no arguments are passed
* OS/2 more program behaves like Win32 moreAndrew MacIntyre2002-03-031-1/+1
| | | | (see patch #514490, by Stefan Schwarzer)
* First work on making config changes dynamic,Steven M. Gava2002-03-025-36/+56
| | | | dynamic theme changes
* _PyLong_Copy(): was creating a copy of the absolute value, but shouldTim Peters2002-03-021-0/+1
| | | | | | copy the sign too. Added a test to test_descr to ensure that it does. Bugfix candidate.
* Added PortableUnixMailbox to the __all__ variable, and in the __main__Barry Warsaw2002-03-011-2/+4
| | | | | | | section use this class instead of UnixMailbox as per the comments in the latter's class. Bug fix candidate for 2.2.1.
* SF patch 514641 (Naofumi Honda) - Negative ob_size of LongObjectsGuido van Rossum2002-03-011-0/+4
| | | | | | | | | | Due to the bizarre definition of _PyLong_Copy(), creating an instance of a subclass of long with a negative value could cause core dumps later on. Unfortunately it looks like the behavior of _PyLong_Copy() is quite intentional, so the fix is more work than feels comfortable. This fix is almost, but not quite, the code that Naofumi Honda added; in addition, I added a test case.
* Patch 520694: arraymodule.c improvements:Martin v. Löwis2002-03-011-4/+141
| | | | | | - make array.array a type - add Py_UNICODE arrays - support +=, *=
* SF patch 518765 (Derek Harland): Bug in copy.py when used throughGuido van Rossum2002-02-281-1/+4
| | | | | | | | | | rexec. When using a restricted environment, imports of copy will fail with an AttributeError when trying to access types.CodeType. Bugfix candidate (all the way back to 1.5.3, but at least 2.1.3 and 2.2.1).
* Patch #522279: transformer.py nodes shadows global.Martin v. Löwis2002-02-281-3/+3
|
* Correct various errors:Martin v. Löwis2002-02-282-6/+157
| | | | | | | - Use substring search, not re search for user-agent and paths. - Consider * entry last. Unquote, then requote URLs. - Treat empty Disallow as "allow everything". Add test cases. Fixes #523041
* Allow shebang's which use versioned Python binaries. FixesMarc-André Lemburg2002-02-281-1/+1
| | | | bug #521526.
* SF patch #523169, by Samuele Pedroni.Guido van Rossum2002-02-263-1/+14
| | | | | | There were never tests for the fact that list() always returns a *new* list object, even when the argument is a list, while tuple() may return a reference to the argument when it is a tuple. Now there are.
* bugfix for the problem where EditorWindow instancesSteven M. Gava2002-02-261-2/+5
| | | | | would appear to freeze for a few seconds on closing in some cases when running under X
* canonic(): Fix by Edward K Ream to make breakpoints work better onGuido van Rossum2002-02-251-0/+1
| | | | | | | Windows: apply normcase() as well as abspath(). (Note: this isn't needed to make IDLE work, but it's a good idea anyway.) Bugfix candidate -- both 2.2.1 and 2.1.3.
* Fix by Edward K Ream to make breakpoints work on Windows: insert aGuido van Rossum2002-02-251-0/+1
| | | | missing call to self.canonic().
* Set TCL_LIBRARY before import _tkinter. Suggested by Kirill Simonov.Martin v. Löwis2002-02-241-10/+31
| | | | Fixes #418173 and #219960. 2.2.1 candidate.
* Accept Unicode strings as SMTP TO addresses. Fixes #521270.Martin v. Löwis2002-02-241-1/+1
| | | | 2.2.1 candidate.
* OS/2 EMX port Library and regression test changes:Andrew MacIntyre2002-02-246-15/+446
| | | | | | | | | | | Lib/ os.py os2emxpath.py // added - OS/2 EMX specific path manipulation routines popen2.py site.py Lib/test/ test_fcntl.py test_longexp.py
* tracking changes to python idle:Steven M. Gava2002-02-231-1/+1
| | | | python Patch #520483: Make IDLE OutputWindow handle Unicode.
* Patch #521714: fix pychecker warnings in ast.py.Martin v. Löwis2002-02-231-124/+124
|
* Patch #521670: Remove unused sys import.Martin v. Löwis2002-02-231-2/+1
|
* Create and populate OS/2 EMX port platform specific library directory:Andrew MacIntyre2002-02-225-0/+511
| | | | | | | | | Lib/plat-os2emx/ IN.py SOCKET.py grp.py pwd.py // pwd module that can process real passwd files regen
* moved command logging routines into IMAP4 class: thread safe/fasterPiers Lauder2002-02-221-56/+65
|
* First version which runs an install-script (specified by theThomas Heller2002-02-201-314/+354
| | | | | | | | | | | | | | | | | | | --install-script ... command line option to bdist_wininst) at the end of the installation and at the start of deinstallation. Output (stdout, stderr) of the script (if any) is displayed in the last screen at installation, or in a simple message box at deinstallation. sys.argv[1] for the script will contain '-install' at installation time or '-remove' at deinstallation time. The installation script runs in an environment (embedded by the bdist_wininst runtime) where an additional function is available as builtin: create_shortcut(path, description, filename, [arguments[, workdir[, iconpath, iconindex]]]) Recreated this file after source changes.
* Somebody made list.__dict__ grow a '__doc__' key, but apparently didn'tTim Peters2002-02-191-0/+1
| | | | | run the test suite afterwards. Either that, or whether '__doc__' shows up is platform-dependent!
* SF #515023. Make _DummyThread.join() signature match base class (Thread)Neal Norwitz2002-02-191-1/+1
|
* further work on config systemSteven M. Gava2002-02-182-9/+9
|
* handle user theme and key set deletionSteven M. Gava2002-02-183-11/+87
|
* Repair so that importing socket doesn't blow up on platforms that lackTim Peters2002-02-171-7/+12
| | | | | | | | SSL support. test_socket.py passes again on Windows. Added an XXX about adding _ssl exports to the __all__ list (it doesn't appear to be doing anything about that now, but since I don't have SSL on this box I can't really tell).
* Patch #515598: removed unused import of os.Martin v. Löwis2002-02-161-1/+0
|
* The Grande 'sendall()' patch, copied from release21-maint. Fixes #516715.Martin v. Löwis2002-02-169-24/+15
| | | | | Replaces calls to socket.send() (which isn't guaranteed to send all data) with the new socket.sendall() method.
* Break SSL support out of _socket module and place it into a newMarc-André Lemburg2002-02-161-1/+5
| | | | | | | | | | | | | | | | | | helper module _ssl. The support for the RAND_* APIs in _ssl is now only enabled for OpenSSL 0.9.5 and up since they were added in that release. Note that socketmodule.* should really be renamed to _socket.* -- unfortunately, this seems to lose the CVS history of the file. Please review and test... I was only able to test the header file chaos in socketmodule.c/h on Linux. The test run through fine and compiles don't give errors or warnings. WARNING: This patch does *not* include changes to the various non-Unix build process files.
* Whitespace normalization.Tim Peters2002-02-164-10/+10
|
* SF bug #516372: test_thread: unhandled exc. in threadTim Peters2002-02-162-5/+13
| | | | | | | | Fix exit races in test_thread.py and test_threaded_import.py. I suspect the bug is provokable only under Linux (where child threads seem to get lots of cycles before they get killed after the main thread exits), or on multi-processor machines running other OSes. Bugfix candidate.
* Fix bug #511786 (2.2.1 candidate): ensure that custom-supplied headersGreg Ward2002-02-111-1/+1
| | | | are preserved for redirected requests.
* SF #515020, delete global variables which are used only for temporaryNeal Norwitz2002-02-111-1/+2
| | | | values in for loops (dircase, prefix, sitedir).
* SF #515005, change "1 + ''" (which pychecker warns about being invalid)Neal Norwitz2002-02-111-2/+2
| | | | into "raise Exception".
* SF #515022 remove unused variableNeal Norwitz2002-02-111-1/+0
|