Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - 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 | ||||
* | * Checkin remaining documentation | Raymond Hettinger | 2003-11-24 | 4 | -152/+328 |
| | | | | | | | * Add more tests * Refactor and neaten the code a bit. * Rename union_update() to update(). * Improve the algorithms (making them a closer to sets.py). | ||||
* | test_guess_all_types(): Use a more robust test for checking that | Barry Warsaw | 2003-11-23 | 1 | -4/+7 |
| | | | | | | | | | | guess_all_extensions() returns (at least) what we expect. As Jeff Epler suggests in http://mail.python.org/pipermail/python-dev/2003-September/038264.html We use a set to test the results. This fixes the test when test_urllib2 is run before test_mimetypes. | ||||
* | * Simplify hash function and add test to show effectiveness of the hash | Raymond Hettinger | 2003-11-23 | 2 | -27/+98 |
| | | | | | | | | | | | | | | | function. * Add a better test for deepcopying. * Add tests to show the __init__() function works like it does for list and tuple. Add related test. * Have shallow copies of frozensets return self. Add related test. * Have frozenset(f) return f if f is already a frozenset. Add related test. * Beefed-up some existing tests. | ||||
* | - When method objects have an attribute that can be satisfied either | Guido van Rossum | 2003-11-22 | 2 | -28/+39 |
| | | | | | | | | | | by the function object or by the method object, the function object's attribute usually wins. Christian Tismer pointed out that that this is really a mistake, because this only happens for special methods (like __reduce__) where the method object's version is really more appropriate than the function's attribute. So from now on, all method attributes will have precedence over function attributes with the same name. | ||||
* | Extend temporary hashability to remove() and discard(). | Raymond Hettinger | 2003-11-22 | 2 | -11/+62 |
| | | | | Brings the functionality back in line with sets.py. | ||||
* | More words: gave more motivation, and added cautions about the special | Tim Peters | 2003-11-21 | 1 | -10/+51 |
| | | | | dangers of trying to iterate over weak dicts. | ||||
* | Add a missing import. Closes SF # 816344. | Barry Warsaw | 2003-11-21 | 1 | -0/+1 |
| | |||||
* | Allow temporary hashability for the __contains__ test. | Raymond Hettinger | 2003-11-21 | 2 | -1/+19 |
| | | | | (Requested by Alex Martelli.) | ||||
* | issubset() and issuperset() to work with general iterables | Raymond Hettinger | 2003-11-21 | 2 | -5/+19 |
| | |||||
* | Three minor performance improvements: | Raymond Hettinger | 2003-11-20 | 1 | -12/+41 |
| | | | | | | | | | | * Improve the hash function to increase the chance that distinct sets will have distinct xor'd hash totals. * Use PyDict_Merge where possible (it is faster than an equivalent iter/set pair). * Don't rebuild dictionaries where the input already has one. |