summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix SF bug #690012 (among others), iconv_codec stops buildNeal Norwitz2003-02-282-6/+8
| | | | | | | | Change setup.py to catch all exceptions. - Rename module if the exception was an ImportError - Only warn if the exception was any other error Revert _iconv_codec to raising a RuntimeError.
* compile_atom(): Neal's last checkin removing the setting of i brokeBarry Warsaw2003-02-281-0/+3
| | | | | | the build, so I'm restoring it. I'm not sure what Neal's intent was, since the line following the one he removed was "REQN(i, 1)" so i is obviously used. ;)
* Check modes on install and temporary directories. Fixes #693230.Jack Jansen2003-02-281-1/+1
|
* Removed silly print.Jack Jansen2003-02-281-1/+0
|
* SF doc patch #692001, properties and __getattribute__. I added someGuido van Rossum2003-02-281-8/+54
| | | | stuff, and changed 'property' to 'descriptor'.
* Moved the Apple workaround for the guard define for wchar_t out ofJack Jansen2003-02-281-1/+2
| | | | | the #ifdef HAVE_NCURSES_H: the same problem exists on OSX 10.1 with a fink-installed curses (which uses curses.h as the include file name).
* use proper constant instead of comment (noted by nnorwitz)Just van Rossum2003-02-281-1/+1
|
* Fix spelling and grammar.Raymond Hettinger2003-02-281-5/+5
|
* Remove setting i since it isn't used. Found in unrelated bug 690012.Neal Norwitz2003-02-281-3/+0
|
* Fix SF bug #694816, remove comparison of unsigned value < 0Neal Norwitz2003-02-281-2/+2
|
* In make clobber also clean out the Python.framework.Jack Jansen2003-02-271-0/+1
|
* Getting rid of macfs.Jack Jansen2003-02-273-9/+9
|
* Added a deprecation warning.Jack Jansen2003-02-271-0/+3
|
* M rpc.pyKurt B. Kaiser2003-02-272-43/+46
| | | | | | | | M run.py Move exception formatting out of rpc.py. This allows each end of the link to format and print exceptions how and where it sees fit and makes it easier for threads to display their own exceptions.
* Added a note about EasyDialogs dialogs having become movable.Jack Jansen2003-02-271-0/+2
|
* StdFilterProc() uses InOut parameters.Jack Jansen2003-02-272-5/+14
|
* Changing the window type to movable modal isn't enough to make the dialogs ↵Jack Jansen2003-02-271-0/+0
| | | | movable: apprently you also need to set a bit in the dlgx resource. Did this.
* * separate opcode definitions into opcode.pySkip Montanaro2003-02-271-178/+51
| | | | | * add disassemble_string * allow classes and strings containing bytecode to be disassembled
* new opcode module - extract opcode definitions from dis.py - eventuallySkip Montanaro2003-02-271-0/+188
| | | | should be generated automatically
* simple test case for dis moduleSkip Montanaro2003-02-271-0/+53
|
* Get rid of many apply() calls.Guido van Rossum2003-02-2738-91/+85
|
* Use floor division (// and __[r]floordiv__ in right-dispatch test.Guido van Rossum2003-02-271-23/+23
|
* Use floor division (//).Guido van Rossum2003-02-271-3/+3
|
* In the process of adding all the extended slice support I attempted toMichael W. Hudson2003-02-271-4/+4
| | | | | | | change _PyEval_SliceIndex to round massively negative longs up to -INT_MAX, instead of 0 but botched it. Get it right. Thx to Armin for the report.
* When bad HTML is encountered, ignore the page rather than failing withMark Hammond2003-02-271-1/+9
| | | | a traceback.
* Module review:Raymond Hettinger2003-02-271-47/+22
| | | | | | | | | | * Changed variable name from 'list' to 'flist'. * Replaced "while 1" with "while True". * Replaced if/elif/elif/elif structure with a shorter and faster dispatch dictionary that maps attrs to methods. * Simplified and sped comparison logic by using ifilter, ifilterfalse, and dict.fromkeys. * Used True and False rather than 1 and 0.
* Module review:Raymond Hettinger2003-02-261-40/+30
| | | | | | | * Replaced "while 1" with "while True" * Rewrote read() and readline() for clarity and speed. * Replaced variable 'list' with 'hlist' * Used augmented assignment in two places.
* The macfs, macostools, and plistlib should not be expected to runFred Drake2003-02-261-0/+33
| | | | | beyond Mac OS and Darwin. I'm not even sure they should be run on Darwin, but I'll let someone more knowledgable on that tell us.
* Update PyPI linkAndrew M. Kuchling2003-02-261-5/+2
|
* [Bug #693474, reported by Stuart Bishop]Andrew M. Kuchling2003-02-261-5/+8
| | | | Fix errors in the list of setup() arguments
* [Bug #668662] Patch from Pearu Pearson: if a C source file isAndrew M. Kuchling2003-02-261-0/+2
| | | | | | | specified with an absolute path, the object file is also written to an absolute path. The patch drops the drive and leading '/' from the source path, so a path like /path/to/foo.c results in an object file like build/temp.i686linux/path/to/foo.o.
* Micro-optimizations.Raymond Hettinger2003-02-261-4/+18
| | | | | * List/Tuple checkexact is faster for the common case. * Testing for Py_True and Py_False can be inlined for faster looping.
* use bare raise so you get the original tbJust van Rossum2003-02-261-1/+1
|
* Port test_ucn and test_unicodedata to PyUnit. Add a few tests for errorWalter Dörwald2003-02-264-266/+337
| | | | | cases increasing coverage in unicodedata.c from 87% to 95% (when the normalization tests are run). From SF patch #662807.
* use the same Python for running the bootstrap script and the main programJust van Rossum2003-02-261-1/+9
|
* remove sitecustomize hack, will be solved elsewhereJust van Rossum2003-02-261-25/+0
|
* Let's try making the dialogs at least Movable Modal.Jack Jansen2003-02-251-0/+0
|
* If a resource file cannot be decoded because the directory is readonlyJack Jansen2003-02-252-44/+41
| | | | | | | | | | | create a temporary file. This fixes #688011. Got rid of the install() method in macresource, and replaced it with a resource_filename() method which will optionally decode a given resourcefile (which may be applesingle-encoded) and return the real resourcefile. Use this new method in buildtools to copy the correct resource file to the bundle. This fixes #688007.
* Reverted the rev. 1.8 change: the magic for decoding resourcefilesJack Jansen2003-02-251-4/+0
| | | | is now in buildtools.
* Patch #683592: unicode support for os.listdir()Just van Rossum2003-02-252-1/+32
| | | | | os.listdir() may now return unicode strings on platforms that set Py_FileSystemDefaultEncoding.
* tweak error messageJust van Rossum2003-02-251-2/+2
|
* - renamed the --copyfile option to --file.Just van Rossum2003-02-251-4/+6
| | | | | - tweaked the help text a little. (Jack: up to you to change your client code.)
* added some comments, minor tweaksJust van Rossum2003-02-251-3/+34
|
* Addendum to #683658:Just van Rossum2003-02-251-2/+2
| | | | | | import warnings.py _after_ site.py has run. This ensures that site.py is again the first .py to be imported, giving it back full control over sys.path.
* Resolving parts of #688907:Just van Rossum2003-02-251-9/+29
| | | | | | | | | | | | - Replaced bootstrap shell script with Python script. This means standalone apps built with bundlebuilder will not work on MacOS < 10.1, since we depend (again) on an installed Python. - Add a hack to set sys.executable; the bootstrap script does os.execve() with an argv[0] that's different from the actual Python executable (it has to match the CFBundleExecutable entry in the Info.plist to make the app work both from the Finder and the command line, and it has to be the bootstrap script), yet a proper sys.executable is needed to spawn auxiliary processes.
* typoSkip Montanaro2003-02-251-1/+1
|
* note the demise of the dospath module (was actually in 2.3a2)Skip Montanaro2003-02-251-0/+3
|
* Added an "Open Recent" command. Fixes 607810.Jack Jansen2003-02-252-0/+46
|
* Workaround for bug #644243 (which is actually an Apple bug, I think): URLsJack Jansen2003-02-251-0/+4
| | | | | of the form file:/path/to/file don't work whereas file:///path/to/file works fine. We convert the former to the latter.
* Refer to the Mac OS X bundle_loader by the altbininstall name, so thatJack Jansen2003-02-252-3/+3
| | | | | building distutils extension modules also works if you've only done an altinstall. Fixes bug #677293.