Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reduce the size of Big String and Big Binary tests to 2**14 (minus one | Guido van Rossum | 2003-12-03 | 1 | -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örwald | 2003-12-03 | 1 | -1/+1 |
| | |||||
* | Add test for bug "[ 846133 ] os.chmod/os.utime/shutil do not work with | Mark Hammond | 2003-12-03 | 2 | -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 be | Mark Hammond | 2003-12-03 | 1 | -0/+21 |
| | | | | encoded using the default file system encoding. | ||||
* | Fix [ 846133 ] os.chmod/os.utime/shutil do not work with unicode filenames | Mark Hammond | 2003-12-03 | 1 | -3/+50 |
| | |||||
* | An interface to the LaunchServices API. | Jack Jansen | 2003-12-02 | 5 | -0/+650 |
| | |||||
* | doc nit | Skip Montanaro | 2003-12-02 | 1 | -1/+2 |
| | |||||
* | OS/2+EMX: make the link() emulation available as os.link() | Andrew MacIntyre | 2003-12-02 | 1 | -0/+1 |
| | |||||
* | EMX lacks an implementation of link(). As Mailman wants os.link() to | Andrew MacIntyre | 2003-12-02 | 1 | -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 the | Andrew MacIntyre | 2003-12-02 | 1 | -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 MacIntyre | 2003-12-02 | 1 | -82/+87 |
| | | | | - various minor cleanups and updates. | ||||
* | - add build support for curses extension to be a normal DLL as well as | Andrew MacIntyre | 2003-12-02 | 1 | -5/+12 |
| | | | | | a Python extension, so that the curses_panel extension works. - minor compiler switch tweak. | ||||
* | use same compiler switches as core for extensions | Andrew MacIntyre | 2003-12-02 | 1 | -2/+2 |
| | |||||
* | SF patch #852140: keyword.py - use __contains__ and bool | Raymond Hettinger | 2003-12-02 | 1 | -5/+1 |
| | | | | Use a set instead of dict with values equal to one. | ||||
* | Convert a 0/1 to False/True. | Raymond Hettinger | 2003-12-02 | 1 | -2/+2 |
| | |||||
* | Py_Finalize(): disabled the second call of cyclic gc, and added extensive | Tim Peters | 2003-12-01 | 2 | -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öwis | 2003-12-01 | 1 | -0/+6 |
| | | | | Backported to 2.3. | ||||
* | Apply extract functions instead of lambda. | Raymond Hettinger | 2003-12-01 | 2 | -3/+4 |
| | |||||
* | Revert previous change. MAL preferred the old version. | Raymond Hettinger | 2003-12-01 | 1 | -4/+41 |
| | |||||
* | As discussed on python-dev, added two extractor functions to the | Raymond Hettinger | 2003-12-01 | 4 | -2/+302 |
| | | | | operator module. | ||||
* | Simplifed the code. | Raymond Hettinger | 2003-12-01 | 1 | -41/+4 |
| | |||||
* | Add testcases for _winreg segfault (SF 851056). | Guido van Rossum | 2003-11-30 | 1 | -1/+3 |
| | |||||
* | Add news item for _winreg fix (SF bug 851056). | Guido van Rossum | 2003-11-30 | 1 | -0/+5 |
| | |||||
* | Remove all uses of alloca() from this module. The alloca() return value | Guido van Rossum | 2003-11-30 | 1 | -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 to | Guido van Rossum | 2003-11-29 | 1 | -1/+1 |
| | | | | 2**32-1 makes no sense. Use 2**31-1 instead. | ||||
* | - Removed FutureWarnings related to hex/oct literals and conversions | Guido van Rossum | 2003-11-29 | 11 | -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 returning | Raymond Hettinger | 2003-11-28 | 2 | -2/+16 |
| | | | | | an exception raised by the key function. (Suggested by Michael Hudson.) | ||||
* | See SF #848614: distutils' msvccompiler now tries to detect that MSVC6 | Thomas Heller | 2003-11-28 | 2 | -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" can | Jack Jansen | 2003-11-27 | 1 | -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 was | Jack Jansen | 2003-11-27 | 1 | -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 Jansen | 2003-11-27 | 1 | -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 Jansen | 2003-11-27 | 1 | -2/+2 |
| | |||||
* | Patch #849350: Update to document bool return values. Backported to 2.3. | Martin v. Löwis | 2003-11-27 | 4 | -4/+4 |
| | |||||
* | Patch #849595: Add socket.shutdown() constants. | Martin v. Löwis | 2003-11-27 | 3 | -4/+29 |
| | |||||
* | - clean up generated HTML | Fred Drake | 2003-11-26 | 1 | -7/+20 |
| | | | | - make the output more XHTML friendly | ||||
* | Fix typo and mark-up; shorten text | Andrew M. Kuchling | 2003-11-26 | 1 | -5/+3 |
| | |||||
* | Fix typos | Andrew M. Kuchling | 2003-11-26 | 1 | -2/+2 |
| | |||||
* | Nits from a review of the documentation update. | Raymond Hettinger | 2003-11-26 | 4 | -12/+24 |
| | |||||
* | Add version changed doc for addition of fillchar to ljust/rjust/center | Neal Norwitz | 2003-11-26 | 1 | -0/+3 |
| | |||||
* | Add optional fillchar argument to ljust(), rjust(), and center() string methods. | Raymond Hettinger | 2003-11-26 | 7 | -50/+96 |
| | |||||
* | As discussed on python-dev, banish apply(), buffer(), coerce(), and | Raymond Hettinger | 2003-11-25 | 1 | -51/+68 |
| | | | | intern() to a separate region in the docs. | ||||
* | Expose dict_contains() and PyDict_Contains() with is about 10% faster | Raymond Hettinger | 2003-11-25 | 5 | -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 friendly | Fred Drake | 2003-11-25 | 1 | -7/+8 |
| | |||||
* | Fix a typo introduced at 1.21 | Kurt B. Kaiser | 2003-11-25 | 1 | -1/+1 |
| | | | | | | M IOBinding.py Backported to 23-maint | ||||
* | Factor out more duplicate code. | Raymond Hettinger | 2003-11-24 | 1 | -77/+51 |
| | |||||
* | Note the addition of set() and frozenset(). | Raymond Hettinger | 2003-11-24 | 1 | -0/+44 |
| | |||||
* | Keybindings with the Shift modifier now work correctly. So do bindings | Kurt B. Kaiser | 2003-11-24 | 5 | -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 an | Guido van Rossum | 2003-11-24 | 1 | -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 Rossum | 2003-11-24 | 1 | -2/+1 |
| | |||||
* | Update NEWS.txt to include some items missed earlier. Update the | Kurt B. Kaiser | 2003-11-24 | 2 | -1/+14 |
| | | | | | | IDLE version to 1.1a0. Modified Files: NEWS.txt idlever.py |