summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Test that SystemExits are handled properly by the exit machinery. IMichael W. Hudson2005-02-151-0/+12
| | | | | broke the "raise SystemExit(46)" case when doing new-style exceptions, but I'd much rather have found out here than in test_tempfile (growl).
* Exceedingly minor tweak.Michael W. Hudson2005-02-151-1/+1
|
* Added copyright notice:Peter Astrand2005-02-141-0/+2
| | | | Licensed to PSF under a Contributor Agreement.
* Add mention of patch #1095802 (fixing "Macintosh" references to represent OSBrett Cannon2005-02-131-0/+8
| | | | X).
* Update references specifying "Macintosh" to mean OS X semantics and not Mac OSBrett Cannon2005-02-1317-622/+191
| | | | | | 9. Applies patch #1095802. Thanks Jack Jansen.
* fix decoding in _stringify to not depend on the default encodingFred Drake2005-02-112-1/+43
| | | | (closes SF bug #1115989)
* Modified test for tzset to not rely on tm->tm_zone's existence. Also addedBrett Cannon2005-02-104-220/+677
| | | | | | sanity checks on tzname if HAVE_TZNAME defined. Closes bug #1096244. Thanks Gregory Bond.
* Remove set conversion optimization test (backed out of Python/compile.c in rev.Brett Cannon2005-02-101-11/+0
| | | | 2.344).
* accept datetime.datetime instances when marshalling;Fred Drake2005-02-102-1/+33
| | | | dateTime.iso8601 elements still unmarshal into xmlrpclib.DateTime objects
* Fix typoAndrew M. Kuchling2005-02-102-2/+2
|
* Patch from Leandro Lucarella: replaced:Peter Astrand2005-02-101-29/+29
| | | | | | | | | | | | var == None and var != None with var is None and var is not None and type(var) == int with instanceof(var, int) ...as recomended in PEP 8 [1].
* Remove the set conversion which didn't work with: [] in (0,)Raymond Hettinger2005-02-101-53/+1
|
* SF bug #1119700: list extend() accepts args besides listsRaymond Hettinger2005-02-091-1/+1
|
* Have set conversion replace existing constant if not used elsewhere.Raymond Hettinger2005-02-091-1/+7
|
* Update PSF copyright year to 2005.Trent Mick2005-02-091-1/+1
|
* Convert splitlines to for-loop (handles case where input does not have a ↵Raymond Hettinger2005-02-081-4/+4
| | | | trailing newline).
* Fix stupid typo: Don't read from a writer.Walter Dörwald2005-02-081-2/+2
|
* Wholistic code cleanup / modernization:Raymond Hettinger2005-02-081-75/+63
| | | | | | | | * Use += * Replace loop logic with str.splitlines equivalent * Don't use variable names that shadow tuple, list, and str * Use dict.get instead of equivalent try/except * Minor loop logic simplications
* add 2.3.5, 2.4 to the history and licensing infoFred Drake2005-02-081-0/+2
|
* Close the discussion in SF bug 1069160.Guido van Rossum2005-02-081-1/+3
|
* Adopt Skip's idea to optimize lists of constants in the contextRaymond Hettinger2005-02-072-8/+15
| | | | of a "in" or "not in" test.
* Revert previous checkin.Raymond Hettinger2005-02-072-34/+34
|
* Reduce the usage of the types module.Raymond Hettinger2005-02-078-68/+64
|
* Transform "x in (1,2,3)" to "x in frozenset([1,2,3])".Raymond Hettinger2005-02-062-1/+58
| | | | | Inspired by Skip's idea to recognize the throw-away nature of sequences in this context and to transform their type to one with better performance.
* Replace list of constants with tuples of constants.Raymond Hettinger2005-02-0611-29/+29
|
* Code simplification -- eliminate lookup when value is known in advance.Raymond Hettinger2005-02-051-2/+4
|
* SF patch #1028908Raymond Hettinger2005-02-051-3/+6
| | | | | | (John J Lee) Minor code clarification and simplification.
* SF patch #1116583: NameError in cookielib domain checkRaymond Hettinger2005-02-053-4/+6
|
* Add NEWS item about future parser bug.Jeremy Hylton2005-02-041-0/+4
|
* Fix bug that allowed future statements virtually anywhere in a module.Jeremy Hylton2005-02-041-2/+1
| | | | | | | If we exit via the break here, we need to set ff_last_lineno or FUTURE_POSSIBLE() will remain true. The bug affected statements containing a variety of expressions, but not all expressions. It has been present since Python 2.2.
* Add a test for UTF-16 reading where the byte sequence doesn't start withWalter Dörwald2005-02-041-0/+9
| | | | a BOM.
* Recompiled after source changes.Thomas Heller2005-02-032-0/+0
|
* Running a bdist_wininst installer, built with Python 2.3, installingThomas Heller2005-02-031-8/+25
| | | | | | | | | | | | | for Python 2.4 caused a segfault when post_install_script was used. The reason was that the file handle passed to PyRun_SimpleFile() was created with MSVCRT.DLL, but Python 2.4 uses MSVCR71.DLL. So, I replaced PyRun_SimpleFile() with PyRun_SimpleString(). The segfault is gone, but the output of the postinstall script doesn't show up, because still freopen() from MSVCRT is used. Already backported.
* Set PYTHONHOME before loading Python, so that sys.path will be set correctly.Thomas Heller2005-02-031-1/+7
| | | | Already backported.
* fix XMLFilterBase.resolveEntity() so the caller gets the resultFred Drake2005-02-031-1/+1
| | | | (PyXML bug #1112052)
* Security fix PSF-2005-001 for SimpleXMLRPCServer.py.Guido van Rossum2005-02-033-7/+50
|
* Add config-main.def option to make the 'history' feature non-cyclic.Kurt B. Kaiser2005-02-033-7/+23
| | | | | | | | Default remains cyclic. Python Patch 914546 Noam Raphael. M IdleHistory.py M NEWS.txt M config-main.def
* Simplify string comparison using startswith()Steve Holden2005-02-021-1/+1
|
* More bug #1077106 stuff, sorry -- modem induced impatiece!Michael W. Hudson2005-01-312-0/+3
| | | | This should go on whatever bugfix branches the other fetches up on.
* FixMichael W. Hudson2005-01-311-0/+4
| | | | | | | [ 1077106 ] Negative numbers to os.read() cause segfault Sorry for sitting on this for so long! Is there a chance it could make 2.3.5?
* Removed ability to configure tabs indent from Options dialog. This 'feature'Kurt B. Kaiser2005-01-313-90/+41
| | | | | | | | | | | | | | | | | has never worked and no one has complained. It is still possible to set a default tabs (v. spaces) indent 'manually' via config-main.def (or to turn on tabs for the current EditorWindow via the Format menu) but IDLE will encourage indentation via spaces. Enable setting the indentation width using the Options dialog. Bug # 783877 Remove some commented out old code from configDialog.py (related to old methods for invoking the HelpBrowser). M EditorWindow.py M NEWS.txt M configHandler.py
* Bug #1108490: fix broken link.Johannes Gijsbers2005-01-291-1/+1
|
* Revert os.py 1.75, and directly implement update.Martin v. Löwis2005-01-293-0/+31
| | | | Fixes #1110478 and #1100235.
* Add keybindings for del-word-left and del-word-right.Kurt B. Kaiser2005-01-284-2/+27
| | | | | | | M EditorWindow.py M NEWS.txt M config-keys.def M configHandler.py
* Fixed typo in verbose output.Brett Cannon2005-01-271-1/+1
| | | | Closes bug #1110998. Thanks Matthew Bogosian.
* Partially revert #1074011; don't try to fflush stdin.Martin v. Löwis2005-01-272-2/+11
| | | | Backported to 2.3 and 2.4.
* SF bug #1108303: fix .split() maxsplit docRaymond Hettinger2005-01-261-1/+1
| | | | Docs incorrectly stated that maxsplit=0 would cause unlimited splitting.
* Do not fold a constant if a large sequence will result.Raymond Hettinger2005-01-262-5/+19
| | | | Saves space in the presence of code like: (None,)*10000
* happy new year! (on the trunk)Anthony Baxter2005-01-252-3/+3
|
* SF bug #1105286: Undocumented implicit strip() in split(None) string methodRaymond Hettinger2005-01-251-6/+10
| | | | Clarify the behavior when a string begins or ends with whitespace.