Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix SF bug #690012 (among others), iconv_codec stops build | Neal Norwitz | 2003-02-28 | 2 | -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 broke | Barry Warsaw | 2003-02-28 | 1 | -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 Jansen | 2003-02-28 | 1 | -1/+1 |
| | |||||
* | Removed silly print. | Jack Jansen | 2003-02-28 | 1 | -1/+0 |
| | |||||
* | SF doc patch #692001, properties and __getattribute__. I added some | Guido van Rossum | 2003-02-28 | 1 | -8/+54 |
| | | | | stuff, and changed 'property' to 'descriptor'. | ||||
* | Moved the Apple workaround for the guard define for wchar_t out of | Jack Jansen | 2003-02-28 | 1 | -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 Rossum | 2003-02-28 | 1 | -1/+1 |
| | |||||
* | Fix spelling and grammar. | Raymond Hettinger | 2003-02-28 | 1 | -5/+5 |
| | |||||
* | Remove setting i since it isn't used. Found in unrelated bug 690012. | Neal Norwitz | 2003-02-28 | 1 | -3/+0 |
| | |||||
* | Fix SF bug #694816, remove comparison of unsigned value < 0 | Neal Norwitz | 2003-02-28 | 1 | -2/+2 |
| | |||||
* | In make clobber also clean out the Python.framework. | Jack Jansen | 2003-02-27 | 1 | -0/+1 |
| | |||||
* | Getting rid of macfs. | Jack Jansen | 2003-02-27 | 3 | -9/+9 |
| | |||||
* | Added a deprecation warning. | Jack Jansen | 2003-02-27 | 1 | -0/+3 |
| | |||||
* | M rpc.py | Kurt B. Kaiser | 2003-02-27 | 2 | -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 Jansen | 2003-02-27 | 1 | -0/+2 |
| | |||||
* | StdFilterProc() uses InOut parameters. | Jack Jansen | 2003-02-27 | 2 | -5/+14 |
| | |||||
* | Changing the window type to movable modal isn't enough to make the dialogs ↵ | Jack Jansen | 2003-02-27 | 1 | -0/+0 |
| | | | | movable: apprently you also need to set a bit in the dlgx resource. Did this. | ||||
* | * separate opcode definitions into opcode.py | Skip Montanaro | 2003-02-27 | 1 | -178/+51 |
| | | | | | * add disassemble_string * allow classes and strings containing bytecode to be disassembled | ||||
* | new opcode module - extract opcode definitions from dis.py - eventually | Skip Montanaro | 2003-02-27 | 1 | -0/+188 |
| | | | | should be generated automatically | ||||
* | simple test case for dis module | Skip Montanaro | 2003-02-27 | 1 | -0/+53 |
| | |||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 38 | -91/+85 |
| | |||||
* | Use floor division (// and __[r]floordiv__ in right-dispatch test. | Guido van Rossum | 2003-02-27 | 1 | -23/+23 |
| | |||||
* | Use floor division (//). | Guido van Rossum | 2003-02-27 | 1 | -3/+3 |
| | |||||
* | In the process of adding all the extended slice support I attempted to | Michael W. Hudson | 2003-02-27 | 1 | -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 with | Mark Hammond | 2003-02-27 | 1 | -1/+9 |
| | | | | a traceback. | ||||
* | Module review: | Raymond Hettinger | 2003-02-27 | 1 | -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 Hettinger | 2003-02-26 | 1 | -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 run | Fred Drake | 2003-02-26 | 1 | -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 link | Andrew M. Kuchling | 2003-02-26 | 1 | -5/+2 |
| | |||||
* | [Bug #693474, reported by Stuart Bishop] | Andrew M. Kuchling | 2003-02-26 | 1 | -5/+8 |
| | | | | Fix errors in the list of setup() arguments | ||||
* | [Bug #668662] Patch from Pearu Pearson: if a C source file is | Andrew M. Kuchling | 2003-02-26 | 1 | -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 Hettinger | 2003-02-26 | 1 | -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 tb | Just van Rossum | 2003-02-26 | 1 | -1/+1 |
| | |||||
* | Port test_ucn and test_unicodedata to PyUnit. Add a few tests for error | Walter Dörwald | 2003-02-26 | 4 | -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 program | Just van Rossum | 2003-02-26 | 1 | -1/+9 |
| | |||||
* | remove sitecustomize hack, will be solved elsewhere | Just van Rossum | 2003-02-26 | 1 | -25/+0 |
| | |||||
* | Let's try making the dialogs at least Movable Modal. | Jack Jansen | 2003-02-25 | 1 | -0/+0 |
| | |||||
* | If a resource file cannot be decoded because the directory is readonly | Jack Jansen | 2003-02-25 | 2 | -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 resourcefiles | Jack Jansen | 2003-02-25 | 1 | -4/+0 |
| | | | | is now in buildtools. | ||||
* | Patch #683592: unicode support for os.listdir() | Just van Rossum | 2003-02-25 | 2 | -1/+32 |
| | | | | | os.listdir() may now return unicode strings on platforms that set Py_FileSystemDefaultEncoding. | ||||
* | tweak error message | Just van Rossum | 2003-02-25 | 1 | -2/+2 |
| | |||||
* | - renamed the --copyfile option to --file. | Just van Rossum | 2003-02-25 | 1 | -4/+6 |
| | | | | | - tweaked the help text a little. (Jack: up to you to change your client code.) | ||||
* | added some comments, minor tweaks | Just van Rossum | 2003-02-25 | 1 | -3/+34 |
| | |||||
* | Addendum to #683658: | Just van Rossum | 2003-02-25 | 1 | -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 Rossum | 2003-02-25 | 1 | -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. | ||||
* | typo | Skip Montanaro | 2003-02-25 | 1 | -1/+1 |
| | |||||
* | note the demise of the dospath module (was actually in 2.3a2) | Skip Montanaro | 2003-02-25 | 1 | -0/+3 |
| | |||||
* | Added an "Open Recent" command. Fixes 607810. | Jack Jansen | 2003-02-25 | 2 | -0/+46 |
| | |||||
* | Workaround for bug #644243 (which is actually an Apple bug, I think): URLs | Jack Jansen | 2003-02-25 | 1 | -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 that | Jack Jansen | 2003-02-25 | 2 | -3/+3 |
| | | | | | building distutils extension modules also works if you've only done an altinstall. Fixes bug #677293. |