summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reduce the size of Big String and Big Binary tests to 2**14 (minus oneGuido van Rossum2003-12-031-2/+2
| | | | | | | for Big String). This should make the tests pass on Win98SE. Note that the docs only promise lengths up to 2048. Unfortunately this no longer tests for the segfault I was seeing earlier, but I'm confident I've nailed that one. :-) Fixes SF 852281. Will backport to 2.3.
* Fix typo. (From SF bug #853064)Walter Dörwald2003-12-031-1/+1
|
* Add test for bug "[ 846133 ] os.chmod/os.utime/shutil do not work withMark Hammond2003-12-032-78/+148
| | | | | | | unicode filenames" Reorganize tests into functions so more combinations of unicode/encoded/ascii can be tested, and while I was at it, upgrade to unittest based test.
* Add TESTFN_UNICODE_UNENCODEABLE, a unicode filename that can not beMark Hammond2003-12-031-0/+21
| | | | encoded using the default file system encoding.
* Fix [ 846133 ] os.chmod/os.utime/shutil do not work with unicode filenamesMark Hammond2003-12-031-3/+50
|
* An interface to the LaunchServices API.Jack Jansen2003-12-025-0/+650
|
* doc nitSkip Montanaro2003-12-021-1/+2
|
* OS/2+EMX: make the link() emulation available as os.link()Andrew MacIntyre2003-12-021-0/+1
|
* EMX lacks an implementation of link(). As Mailman wants os.link() toAndrew MacIntyre2003-12-021-0/+79
| | | | | | implement its locking scheme, this module implements a crude link() by way of copying the source to the destination provided the destination doesn't already exist.
* To find the curses extension as a DLL (on OS/2), we need to adjust theAndrew MacIntyre2003-12-021-0/+15
| | | | | | library search path to include the extension directory. Without this, the curses_panel extension can't find the curses extension/DLL, which exports some curses symbols to it.
* - add notes about os.link() emulation;Andrew MacIntyre2003-12-021-82/+87
| | | | - various minor cleanups and updates.
* - add build support for curses extension to be a normal DLL as well asAndrew MacIntyre2003-12-021-5/+12
| | | | | a Python extension, so that the curses_panel extension works. - minor compiler switch tweak.
* use same compiler switches as core for extensionsAndrew MacIntyre2003-12-021-2/+2
|
* SF patch #852140: keyword.py - use __contains__ and boolRaymond Hettinger2003-12-021-5/+1
| | | | Use a set instead of dict with values equal to one.
* Convert a 0/1 to False/True.Raymond Hettinger2003-12-021-2/+2
|
* Py_Finalize(): disabled the second call of cyclic gc, and added extensiveTim Peters2003-12-012-2/+37
| | | | | | | comments about why both calls to cyclic gc here can cause problems. I'll backport to 2.3 maint. Since the calls were introduced in 2.3, that will be the end of it.
* Convert path objects to strings in askdirectory. Fixes #852314.Martin v. Löwis2003-12-011-0/+6
| | | | Backported to 2.3.
* Apply extract functions instead of lambda.Raymond Hettinger2003-12-012-3/+4
|
* Revert previous change. MAL preferred the old version.Raymond Hettinger2003-12-011-4/+41
|
* As discussed on python-dev, added two extractor functions to theRaymond Hettinger2003-12-014-2/+302
| | | | operator module.
* Simplifed the code.Raymond Hettinger2003-12-011-41/+4
|
* Add testcases for _winreg segfault (SF 851056).Guido van Rossum2003-11-301-1/+3
|
* Add news item for _winreg fix (SF bug 851056).Guido van Rossum2003-11-301-0/+5
|
* Remove all uses of alloca() from this module. The alloca() return valueGuido van Rossum2003-11-301-16/+48
| | | | | | | | | | isn't checked, and it *is* possible that a very large alloca() call is made, e.g. when a large registry value is being read. I don't know if alloca() in that case returns NULL or returns a pointer pointing outside the stack, and I don't want to know -- I've simply replaced all calls to alloca() with either PyMem_Malloc() or PyString_FromStringAndSize(NULL,) as appropriate, followed by a size check. This addresses SF buf 851056. Will backport to 2.3 next.
* Fix a bug discovered by Kalle Svensson: comparing sys.maxint toGuido van Rossum2003-11-291-1/+1
| | | | 2**32-1 makes no sense. Use 2**31-1 instead.
* - Removed FutureWarnings related to hex/oct literals and conversionsGuido van Rossum2003-11-2911-148/+120
| | | | | | | | | | and left shifts. (Thanks to Kalle Svensson for SF patch 849227.) This addresses most of the remaining semantic changes promised by PEP 237, except for repr() of a long, which still shows the trailing 'L'. The PEP appears to promise warnings for operations that changed semantics compared to Python 2.3, but this is not implemented; we've suffered through enough warnings related to hex/oct literals and I think it's best to be silent now.
* Make sure the list.sort's decorate step unwinds itself before returningRaymond Hettinger2003-11-282-2/+16
| | | | | an exception raised by the key function. (Suggested by Michael Hudson.)
* See SF #848614: distutils' msvccompiler now tries to detect that MSVC6Thomas Heller2003-11-282-0/+13
| | | | | | | is installed but the registry settings are incomplete because the gui has never been run. Already backported to release23-maint.
* Fix (workaround, actually) for bug #844676: deselecting "show hidden" canJack Jansen2003-11-271-0/+2
| | | | | cause an index error. We now select the first package if this threatens to happen. Will backport.
* Package Mnager error dialogs could refer to hidden packages, which wasJack Jansen2003-11-271-0/+5
| | | | | confusing. To be on the safe side we always show hidden packages before showing error dialogs. Will backport.
* 2.4a0 Package Manager shouldn't attempt to use the 2.3 database.Jack Jansen2003-11-271-1/+1
| | | | | Things will definitely change before 2.4, but for now use a slightly different URL.
* the "idle" script has moved from Lib/idlelib to Tools/scripts.Jack Jansen2003-11-271-2/+2
|
* Patch #849350: Update to document bool return values. Backported to 2.3.Martin v. Löwis2003-11-274-4/+4
|
* Patch #849595: Add socket.shutdown() constants.Martin v. Löwis2003-11-273-4/+29
|
* - clean up generated HTMLFred Drake2003-11-261-7/+20
| | | | - make the output more XHTML friendly
* Fix typo and mark-up; shorten textAndrew M. Kuchling2003-11-261-5/+3
|
* Fix typosAndrew M. Kuchling2003-11-261-2/+2
|
* Nits from a review of the documentation update.Raymond Hettinger2003-11-264-12/+24
|
* Add version changed doc for addition of fillchar to ljust/rjust/centerNeal Norwitz2003-11-261-0/+3
|
* Add optional fillchar argument to ljust(), rjust(), and center() string methods.Raymond Hettinger2003-11-267-50/+96
|
* As discussed on python-dev, banish apply(), buffer(), coerce(), andRaymond Hettinger2003-11-251-51/+68
| | | | intern() to a separate region in the docs.
* Expose dict_contains() and PyDict_Contains() with is about 10% fasterRaymond Hettinger2003-11-255-12/+26
| | | | | | | than PySequence_Contains() and more clearly applicable to dicts. Apply the new function in setobject.c where __contains__ checking is ubiquitous.
* make the generated HTML more XHTML friendlyFred Drake2003-11-251-7/+8
|
* Fix a typo introduced at 1.21Kurt B. Kaiser2003-11-251-1/+1
| | | | | | M IOBinding.py Backported to 23-maint
* Factor out more duplicate code.Raymond Hettinger2003-11-241-77/+51
|
* Note the addition of set() and frozenset().Raymond Hettinger2003-11-241-0/+44
|
* Keybindings with the Shift modifier now work correctly. So do bindingsKurt B. Kaiser2003-11-245-74/+83
| | | | | | | | | | | | | | | | which use the Space key. Limit unmodified user keybindings to the function keys. Python Bug 775353, IDLEfork Bugs 755647, 761557 Improve error handling during startup if there's no Tkinter. M NEWS.txt M PyShell.py M config-keys.def M configHandler.py M keybindingDialog.py Backport candidate.
* Stop GCC warning about int literal that's so long that it becomes anGuido van Rossum2003-11-241-1/+1
| | | | | unsigned int (on a 32-bit machine), by adding an explicit 'u' to the literal (a prime used to improve the hash function for frozenset).
* Silence GCC warning when asserts are turned off.Guido van Rossum2003-11-241-2/+1
|
* Update NEWS.txt to include some items missed earlier. Update theKurt B. Kaiser2003-11-242-1/+14
| | | | | | IDLE version to 1.1a0. Modified Files: NEWS.txt idlever.py