summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* whichmodule() should skip dummy package entries in sys.modules.Jeremy Hylton2002-09-191-0/+2
| | | | | | | | This fixes the charming, but unhelpful error message for >>> pickle.dumps(type.__new__) Can't pickle <built-in method __new__ of type object at 0x812a440>: it's not the same object as datetime.math.__new__ Bugfix candidate.
* SF Bug #611225.Kurt B. Kaiser2002-09-191-8/+0
| | | | | Bring idle.pyw into alignment with idle.py, eliminate calling deleted module IdleConf.py
* Fix a problem in site.py which triggers in case sys.path is empty.Marc-André Lemburg2002-09-191-1/+2
| | | | Bugfix candidate for 2.2.2.
* Patch #484994: Improve PanedWindow.Martin v. Löwis2002-09-191-4/+20
|
* Patch #608999: Fix portability problems with MIPSPro 7.xMartin v. Löwis2002-09-193-0/+20
|
* Suppress hex/oct constant warnings in <string> on 64-bit platforms,Guido van Rossum2002-09-191-0/+5
| | | | because there test_grammar.py pulls them out of strings there.
* Two more cases of switch(PySequence_Size()) without checking for case -1.Neal Norwitz2002-09-181-0/+7
| | | | | | | (Same problem as last checkin for SF bug 610610) Need to clear the error and proceed. Backport candidate
* Open the test files in binary mode so the \r\n files won't causeBarry Warsaw2002-09-182-3/+3
| | | | failures on Windows. Closes SF bug # 609988.
* Merge Py Idle:Kurt B. Kaiser2002-09-181-3/+0
| | | | Removing config-mac.txt, not used in Idlefork
* Merge Py Idle changes:Kurt B. Kaiser2002-09-181-1/+2
| | | | Missed adding "import types" while merging PyShell by hand....
* Add MJ.Guido van Rossum2002-09-181-0/+1
|
* Fix SF bug 610610 (reported by Martijn Pieters, diagnosed by Neal Norwitz).Guido van Rossum2002-09-181-0/+3
| | | | | | | | The switch in Exception__str__ didn't clear the error if PySequence_Size() raised an exception. Added a case -1 which clears the error and falls through to the default case. Definite backport candidate (this dates all the way to Python 2.0).
* Merge Py Idle changes:Kurt B. Kaiser2002-09-181-2/+2
| | | | | | | | Rev 1.4 fdrake Use string.ascii_letters instead of string.letters (SF bug #226706) Rev 1.5 doerwalter (string methods)
* Merge Py Idle changes:Kurt B. Kaiser2002-09-181-1/+6
| | | | | | | | | | | | | | Rev 1.6 GvR Finally fix SF bug #441172, using a variant of patch ##443626: canceling an edit operation would not revert the value of the field. The fix takes care to destroy the Entry object, as suggested in the patch. Rev 1.7 Geiger Ho / GvR (previously applied - Idlefork Rev 1.3) Rev 1.8 doerwalter (string methods)
* Merge Py Idle changes:Kurt B. Kaiser2002-09-181-1/+0
| | | | | Rev 1.3 nnorwitz Remove unnecessary imports
* Merge Py Idle changes:Kurt B. Kaiser2002-09-181-2/+1
| | | | | Rev 1.17 doerwalter (string methods)
* Merge PyIdle changes:Kurt B. Kaiser2002-09-181-3/+2
| | | | | Rev 1.3 doerwalter (string methods)
* Merge Py Idle changes:Kurt B. Kaiser2002-09-181-1/+0
| | | | | Rev 1.2 doerwalter (string methods)
* Merge Py Idle changes:Kurt B. Kaiser2002-09-181-5/+5
| | | | | Rev 1.3 tim_one Convert a pile of obvious "yes/no" functions to return bool.
* Merge Py Idle changes:Kurt B. Kaiser2002-09-181-2/+1
| | | | | | | | | | | | | | | | Rev 1.11 GvR Fix for SF bug #448835. Fix this to work with the new (still undocumented) tabnanny API. I'm afraid Stephen will have to add this fix to the IDLE fork code base as well. Rev 1.12 rhettinger (skip, done differently in Idlefork) Rev 1.13 time_one (skip, NA)
* Merge Py Idle changes:Kurt B. Kaiser2002-09-181-11/+6
| | | | | | | | | | | | | | | Rev 1.5 tim_one Convert a pile of obvious "yes/no" functions to return bool Rev 1.6 GvR Rev 1.7 Gvr (Already merged Idlefork ReplaceDialog.py 1.3.2.1 and 1.4) Rev 1.8 doerwalter (string methods) Rev 1.9 nnorwitz Remove unnecessary imports
* Merge Py Idle changes:Kurt B. Kaiser2002-09-181-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | Rev 1.35 fdrake Use string.ascii_letters instead of string.letters (SF bug #226706). Move computation of sets of characters out of the body of the function that uses them. Rev 1.36 tim_one Convert a pile of obvious "yes/no" functions to return bool Rev 1.37 (skip, done differently in Idlefork) Rev 1.38 loewis Patch #590913: PEP 263 support. Rev 1.39 loewis Convert characters from the locale's encoding on output. Reject characters outside the locale's encoding on input. Rev 1.40 doerwalter (string methods) Rev 1.41 (skipped, done by GvR in rpc)
* The SGI demos are gone.Guido van Rossum2002-09-171-0/+5
|
* Remove the SGI demos. These were all ancient and nobody cared enough.Guido van Rossum2002-09-1724-1117/+0
|
* migrate news about 2.1 and earlier releases from NEWS to HISTORY inSkip Montanaro2002-09-172-1825/+1822
| | | | | preparation for ReST-ification of NEWS. (Also tests checkin ability from my new Powerbook. woohoo!)
* Remove the SGI demos. These were all ancient and nobody cared enough.Guido van Rossum2002-09-1768-12142/+0
|
* write(): Special case the common situation of a stream that's onlyFred Drake2002-09-171-0/+4
| | | | | being used to dump output (no seeks), so we can avoid a lot of extra checks being made.
* Fix typos: despatcher -> dispatcher.Thomas Heller2002-09-172-7/+7
|
* Deal with NULL fields in mkpwent.Martin v. Löwis2002-09-171-1/+12
|
* Deal with a NULL gr_passwd. Reported by Anders Qvist.Martin v. Löwis2002-09-171-1/+6
|
* Merge Py Idle changes:Kurt B. Kaiser2002-09-171-27/+22
| | | | | Rev 1.10 doerwalter (string methods)
* Merge Py Idle changes:Kurt B. Kaiser2002-09-171-4/+2
| | | | | Rev 1.6 doerwalter (string methods)
* Merge Py Idle changes:Kurt B. Kaiser2002-09-171-0/+9
| | | | | | Rev 1.7 loewis Convert characters from the locale's encoding on output. Reject characters outside the locale's encoding on input.
* Back out the previous change. It doesn't save any space on 64-bitGuido van Rossum2002-09-171-2/+2
| | | | platforms.
* Rearrange the members of struct _node to put shorter fields towardsGuido van Rossum2002-09-171-2/+2
| | | | | | | | | | the end, in the hope of saving some bytes on 64-bit machines. (Too bad n_nchildren can't be made an unsigned short, but test/test_longexp.py specifically tests for more than 2**16 subtrees at one level.) I don't expect any binary compatibility issues here, unless someone has an old binary of parsermodule.so saved away.
* Merge Py Idle changes:Kurt B. Kaiser2002-09-161-2/+2
| | | | | Rev 1.4 tim_one Convert a pile of obvious "yes/no" functions to return bool
* Merge Py Idle changes:Kurt B. Kaiser2002-09-161-7/+5
| | | | | Rev 1.5 doerwalter string methods
* Merge Py Idle changes:Kurt B. Kaiser2002-09-161-12/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rev 1.5 tim_one Convert a pile of obvious "yes/no" functions to return bool. Rev 1.6 gvanrossum (partially merged previously, move line outside try: block) Provisional fix for writefile() [SF bug # 541730]. The problem was that an exception can occur in the text.get() call or in the write() call, when the text buffer contains non-ASCII characters. This causes the previous contents of the file to be lost. The provisional fix is to call str(self.text.get(...)) *before* opening the file, so that if the exception occurs, we never open the file. Two orthogonal better solutions have to wait for policy decisions: 1. We could try to encode the data as Latin-1 or as UTF-8; but that would require IDLE to grow a notion of file encoding which requires more thought. 2. We could make backups before overwriting a file. This requires more thought because it needs to be fast and cross-platform and configurable. Rev 1.7 gvanrossum (previously merged with modifications by Stephen M. Gava) Add primitive printing support for Unix and Windows. Rev 1.8 loewis Patch #590913: PEP 263 support. Rev 1.9 gvanrossum (tempfile.py interface -- deferred) Rev 1.10 tim_one whitespace normalization Rev 1.11 nnorwitz (deferred pending 1.9 integration)
* make sure the object browser can't crash because when the list data gets ↵Just van Rossum2002-09-161-6/+20
| | | | bigger than 32kB
* add ./ to configure command so it actually works verbatimJust van Rossum2002-09-161-1/+1
|
* Patch #609700: Use $(CC) to link on Linux.Martin v. Löwis2002-09-162-3/+3
|
* Make BadPickleGet a class. Fixes #609164.Martin v. Löwis2002-09-162-3/+6
|
* When recursively attempting to find the modules imported by anGuido van Rossum2002-09-161-2/+10
| | | | | "import" statement, catch and ignore all exceptions. add/fix some comments about this.
* Merge Py Idle changes:Kurt B. Kaiser2002-09-161-3/+0
| | | | | | Rev 1.4 (string methods) Rev 1.5 Remove unnecessary imports
* Merge Py Idle changes:Kurt B. Kaiser2002-09-161-11/+10
| | | | Rev 1.10 (string methods)
* Merge Py Idle changes:Kurt B. Kaiser2002-09-161-13/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | Rev 1.39 GvR Properly fix SF bug #507298 (Gregor Lingl): shellpython2.2 -Qnew smart indent error Use // where int division is intended. (This breaks IDLE for use with previous Python versions -- I don't care.) Rev 1.40 tim_one Convert a pile of obvious "yes/no" functions to return bool. Rev 1.41 foffani/loewis (already merged) - MS html help Rev 1.42 (skip, done differently in Idlefork) Rev 1.43 tzot/rhettinger Extended IDLE's open module menu item to handle hierarchical module names. Will look at doing something similar in import.c so that the effort won't have to be repeated elsewhere. Closes SF patch 600152. Rev 1.44 doerwalter (string methods)
* Since it tests both ntohl and ntohs, the test should not be calledGuido van Rossum2002-09-161-1/+1
| | | | testNtoHL but testNtoH.
* Merge Py Idle changesKurt B. Kaiser2002-09-161-1/+0
| | | | | | | | | Rev 1.16 (skip. The Edward K. Ream breakpoint fix has been added to bdb.py and idlefork Debugger.py no longer overrides Bdb.set_break() ) Rev 1.17 Remove unnecessary imports
* Merge Py Idle changesKurt B. Kaiser2002-09-152-4/+2
| | | | Rev 1.13 (string methods)
* Merge Py Idle changesKurt B. Kaiser2002-09-151-7/+11
| | | | | | | | | | | | | | | | | Rev 1.9 Improve handling of docstrings. I had feared this was a case of introspection incompatibility, but in fact it's just that calltips always gave up on a docstring that started with a newline (but didn't realize they were giving up <wink>). Rev 1.10 (already merged) Rev 1.11 (whitespace normalization, skip this time) Rev 1.12 Remove unnecessary imports