summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* keybinding configurationSteven M. Gava2002-01-195-72/+110
|
* SWIGing a source file <name>.i silently overwrites <name>.c if it isThomas Heller2002-01-181-2/+2
| | | | | | | | | | | | | | present - at least the swigged file should be named <name>_wrap.c as this is also SWIG's default. (Even better would be to generate the wrapped sources in a different location, but I'll leave this for later). Newer versions of SWIG don't accept the -dnone flag any more. Since virtually nobody uses SWIG with distutils, this should do no harm. Suggested be Martin Bless on c.l.p.
* Allow abspath to still do something sensisble if the nt module can not be ↵Mark Hammond2002-01-171-1/+11
| | | | imported.
* Disable code intended for PEP 277.Guido van Rossum2002-01-151-5/+6
|
* Only test ntpath.abspath() on Windows. This allows the rest of the module toFred Drake2002-01-151-2/+12
| | | | be tested regardless of the host platform.
* Patch #414775: Add --skip-build option to bdist command.Martin v. Löwis2002-01-123-3/+18
|
* key binding handling dialogSteven M. Gava2002-01-121-0/+208
|
* Add a per-message fallback mechanism for translations.Martin v. Löwis2002-01-111-13/+50
|
* Add fallback argument to translation(). Request fallbacks on install.Martin v. Löwis2002-01-111-2/+5
| | | | Fixes #500595.
* Fix webbrowser.py security bug: be more careful about what we pass toFred Drake2002-01-071-12/+15
| | | | | os.system(). This closes Python bug #500401, Debian bug #127507.
* Ensure Unicode filenames work with glob - they already do, but the test ↵Mark Hammond2002-01-071-1/+9
| | | | seems worth keeping.
* Restore Python 2.1 StringIO.py behaviour: support concatenatingMarc-André Lemburg2002-01-062-5/+23
| | | | | | Unicode string snippets to larger Unicode strings. This fix should also go into Python 2.2.1.
* Time2Internaldate(): Call isinstance() once for each of the type testsFred Drake2002-01-051-4/+4
| | | | | instead of possibly twice by using a sequence of types to check for. Add a message to the ValueError that can be raised.
* Remove unused imports, clean up trailing whitespace.Fred Drake2002-01-051-2/+0
|
* Check for time.struct_time in addition to tuples. Use 3 charactersMartin v. Löwis2002-01-052-5/+19
| | | | for zone hours. Fixes #499169.
* loading core keybindings via new config system plusSteven M. Gava2002-01-048-31/+40
| | | | further devel of highlight handling
* move core functionality of SearchBindings.py into EditorWindow.py properSteven M. Gava2002-01-047-139/+69
| | | | | adjust configuration sources accordingly move SearchBindings.py into the attic now
* further development of highlighting and editor preference handling,Steven M. Gava2002-01-035-64/+153
| | | | plus misc fixes cleanups for new config system
* remove futzing with text fontSteven M. Gava2002-01-031-20/+10
|
* fixups and improvementsSteven M. Gava2002-01-031-2/+3
|
* moving to new config systemSteven M. Gava2002-01-031-15/+19
|
* Fix typo in labelAndrew M. Kuchling2002-01-021-1/+1
|
* SF Patch #494867 test file methodsNeal Norwitz2002-01-011-0/+29
| | | | | | Test that the file methods raise ValueError when called on a closed file. Test .isatty() Test name, closed attributes
* Print encoded versions of the file names in test application. Fixes #496084Martin v. Löwis2001-12-301-2/+16
|
* test_support: add a docstring to vereq().Tim Peters2001-12-292-2/+11
| | | | test_complex: repair new test's usage of vereq().
* SF Patch #497487 add test to compare conjugate of a complex numberNeal Norwitz2001-12-291-1/+4
|
* SF Patch #494873 add tests for complex numbers including calls to int()/long()Neal Norwitz2001-12-291-0/+21
|
* SF Patch #494874 add tests for int()/long() invalid parametersNeal Norwitz2001-12-291-0/+23
|
* SF Patch #494872 test repr() of a built-in moduleNeal Norwitz2001-12-291-0/+1
|
* SF Patch #494876, test invalid parameters to pow()Neal Norwitz2001-12-291-0/+20
|
* Thread.__bootstrap(): ignore exceptions in the self.__delete() call inGuido van Rossum2001-12-281-1/+4
| | | | | | | | | | | | the finally clause. An exception here could happen when a daemon thread exits after the threading module has already been trashed by the import finalization, and there's not much of a point in trying to insist doing the cleanup in that stage. This should fix SF bug ##497111: active_limbo_lock error at program exit. 2.1.2 and 2.2.1 Bugfix candidate!
* Fix for SF bug ##497426: can't deepcopy recursive new objectsGuido van Rossum2001-12-281-1/+10
| | | | | | | | deepcopy(), _reconstruct(): pass the memo to the other function, so that recursive data structures built out of new-style objects may be deeply copied correctly. 2.2.1 bugfix!
* Fix for SF bug ##497426: can't deepcopy recursive new objectsGuido van Rossum2001-12-281-4/+6
| | | | | | | | deepcopy(), _reconstruct(): pass the memo to the other function, so that recursive data structures built out of new-style objects may be deeply copied correctly. 2.2.1 bugfix!
* Update the docstring too. :-)Guido van Rossum2001-12-281-1/+1
|
* SF patch #497420 (Eduardo Pérez): ftplib: ftp anonymous passwordGuido van Rossum2001-12-281-13/+8
| | | | | | Instead of sending the real user and host, use "anonymous@" (i.e. no host name at all!) as the default anonymous FTP password. This avoids privacy violations.
* _reduce(): Avoid infinite recursion in the pickler when self.__class__Guido van Rossum2001-12-271-0/+2
| | | | | | | | doesn't have the _HEAPTYPE flag set, e.g. for time.struct_time and posix.stat_result. This fixes the immediate symptoms of SF bug #496873 (cPickle / time.struct_time loop), replacing the infinite loop with an exception.
* Don't set passiveserver to 0 in connect(). See SF bug #495693.Guido van Rossum2001-12-231-1/+0
| | | | | This should definitely be backported to 2.2.1. I'll leave it to Jack to decide whether he wants to fix this in MacPython 2.2.
* Regenerated for Linux 2.2.4.Martin v. Löwis2001-12-221-55/+182
|
* Merge of the release22 branch changes back into the trunk.Barry Warsaw2001-12-215-4/+34
|
* Suggested by Pete Shinners: treat .m and .mm files as source code.Andrew M. Kuchling2001-12-211-1/+1
| | | | | | Question for Jack Jansen: is this reasonable? Candidate for 2.2 release branch (if Jack thinks it's OK).
* forward-patch from release21-maint branch:Anthony Baxter2001-12-211-0/+6
| | | | | | | | | | Make dumbdbm merely "dumb", rather than "terminally broken". Without this patch, it's almost impossible to use dumbdbm _without_ causing horrible datalossage. With this patch, dumbdbm passes my own horrible torture test, as well as the roundup test suite. dumbdbm really could do with a smidgin of a rewrite or two, but that's not suitable for the release21-maint branch.
* test_parseaddr_empty(): New test for assuring thatBarry Warsaw2001-12-201-0/+4
| | | | | Utils.parseaddr('<>') -- i.e. on an empty address, returns the empty string. Built on rfc822, this used to return None.
* SF patch #495358 (Artur Zaprzala): rfc822.AddressList and "<>" addressGuido van Rossum2001-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | rfc822.AddressList incorrectly handles empty address. "<>" is converted to None and should be "". AddressList.__str__() fails on None. I got an email with such an address and my program failed processing it. Example: >>> import rfc822 >>> rfc822.AddressList("<>").addresslist [('', None)] >>> str(rfc822.AddressList("<>")) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.1/rfc822.py", line 753, in __str__ return ", ".join(map(dump_address_pair, self.addresslist)) TypeError: sequence item 0: expected string, None found [His solution: in the internal routine AddrlistClass.getrouteaddr(), initialize adlist to "".]
* Whitespace normalization.Tim Peters2001-12-201-1/+0
|
* partial merge with current pythonware codebase:Fredrik Lundh2001-12-191-3/+4
| | | | | - use repr instead of implied str for doubles - updated version number to 1.0.0 (for 2.2 final)
* Add test for pickling new-style class with custom metaclass.Guido van Rossum2001-12-191-0/+12
|
* Pickler.save(): Fix for SF bug #494904: Cannot pickle a class with aGuido van Rossum2001-12-191-0/+4
| | | | | | | | | | | metaclass, reported by Dan Parisien. Objects that are instances of custom metaclasses, i.e. whose class is a subclass of 'type', should be pickled the same as new-style classes (objects whose class is 'type'). This can't be done through a dispatch table entry, and the __reduce__ trick doesn't work for these, since it finds the unbound __reduce__ for instances of the class (inherited from 'object'). So check explicitly using issubclass().
* Add some additional tests that check more proxy behaviors.Fred Drake2001-12-191-0/+18
|
* Fix the test control support for the pickle & cPickle tests so the tests runFred Drake2001-12-192-8/+22
| | | | under regrtest.
* The test using class initarg failed, because it was lacking aGuido van Rossum2001-12-191-0/+3
| | | | __safe_for_unpickling__ attribute.