Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | [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. | ||||
* | 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. | ||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | Test suite for the plistlib module. | Jack Jansen | 2003-02-25 | 1 | -0/+59 |
| | |||||
* | Added a -c (--copyfile) option with argument src:dst which copies file src | Jack Jansen | 2003-02-24 | 2 | -3/+12 |
| | | | | into dst in the bundle. The Python API already had this functionality | ||||
* | sys.executable can contain spaces, cater for this when passing it to | Jack Jansen | 2003-02-24 | 2 | -3/+3 |
| | | | | os.popen(). Fixes #692222. | ||||
* | Fix from SF patch #633359 by Greg Chapman for SF bug #610299: | Guido van Rossum | 2003-02-24 | 2 | -1/+2 |
| | | | | | | | | | The problem is in sre_compile.py: the call to _compile_charset near the end of _compile_info forgets to pass in the flags, so that the info charset is not compiled with re.U. (The info charset is used when searching to find the first character at which a match could start; it is not generated for patterns beginning with a repeat like '\w{1}'.) | ||||
* | Get test to work on alpha | Neal Norwitz | 2003-02-23 | 1 | -1/+1 |
| | |||||
* | Fix SF bug #689659, 64-bit int and long hash keys incompatible | Neal Norwitz | 2003-02-23 | 1 | -0/+8 |
| | | | | | On a 64-bit machine, a dictionary could contain duplicate int/long keys if the value was > 2**32. | ||||
* | Expect to skip test_iconv_codecs on MacOSX. | Jack Jansen | 2003-02-23 | 1 | -0/+1 |
| | |||||
* | Fix SF bug #690081, test_posix fails when run in non-interactive mode | Neal Norwitz | 2003-02-23 | 1 | -1/+8 |
| | | | | | Don't bother testing os.getlogin() if we aren't running from a tty (terminal) It fails when run without a tty (e.g., when run from cron). | ||||
* | Fix SF bug #691276, shutil.copytree documentation bug | Neal Norwitz | 2003-02-23 | 1 | -3/+3 |
| | | | | Also use True/False instead of 1/0 for symlink flag. | ||||
* | User requested changes to the itertools module. | Raymond Hettinger | 2003-02-23 | 1 | -11/+12 |
| | | | | | Subsumed times() into repeat(). Added cycle() and chain(). | ||||
* | Getting rid of macfs. | Jack Jansen | 2003-02-21 | 3 | -8/+6 |
| | |||||
* | Get rid of macfs. | Jack Jansen | 2003-02-21 | 1 | -60/+59 |
| | |||||
* | Checking mac-specific stuff from the 2.3a2 branch in on the trunk. | Jack Jansen | 2003-02-21 | 1 | -0/+1 |
| | |||||
* | getpid doesn't exist on MacOS9. | Jack Jansen | 2003-02-21 | 1 | -1/+4 |
| | |||||
* | Remove _reduce_2, it's now implemented in C. | Guido van Rossum | 2003-02-21 | 1 | -42/+5 |
| | |||||
* | SF bug 690622: test_cpickle overflows stack on MacOS9. | Tim Peters | 2003-02-21 | 1 | -1/+5 |
| | | | | | | | | test_nonrecursive_deep(): Reduced nesting depth to 60. Not a bugfix candidate. 2.3 increased the number of stack frames needed to pickle a list (in order to get implement the "list batching" unpickling memory optimization new in 2.3). | ||||
* | Doubled TimeoutTestCase.fuzz, to slash the frequency of bogus failures | Tim Peters | 2003-02-21 | 1 | -1/+7 |
| | | | | on the boxes I use. | ||||
* | Port all string tests to PyUnit and share as much tests | Walter Dörwald | 2003-02-21 | 6 | -935/+921 |
| | | | | | | | between str, unicode, UserString and the string module as possible. This increases code coverage in stringobject.c from 83% to 86% and should help keep the string classes in sync in the future. From SF patch #662807 | ||||
* | SF bug #690083: test_random fails sometimes | Raymond Hettinger | 2003-02-21 | 1 | -1/+1 |
| | | | | | | time.sleep(1) sometimes delays for fractionally less than a second resulting in too short of an interval for C's time.time() function to create a distinct seed. | ||||
* | announce(): use the level argument to control the log level. | Guido van Rossum | 2003-02-20 | 1 | -1/+1 |
| | |||||
* | set_verbosity(): do something reasonable for out-of-range verbosity | Guido van Rossum | 2003-02-20 | 1 | -3/+3 |
| | | | | levels. (Previously, -vvv would be the same as -q!) | ||||
* | Include download_url in the data POSTed to the catalog server | Andrew M. Kuchling | 2003-02-19 | 1 | -0/+1 |
| | |||||
* | [Patch #683939] Add download_url field to metadata | Andrew M. Kuchling | 2003-02-19 | 2 | -2/+9 |
| | |||||
* | [Patch #684398] Rename verbose argument to show-response; don't ↵ | Andrew M. Kuchling | 2003-02-19 | 1 | -9/+8 |
| | | | | conditionalize the get_classifiers() call | ||||
* | OS/2 has no concept of file ownership, like DOS & MS Windows version | Andrew MacIntyre | 2003-02-19 | 1 | -1/+2 |
| | | | | | | prior to NT. EMX has a number of Posix emulation routines, including geteuid() but lacks chown(), so silently skip trying to actually set a file ownership when extracting a file from a tar archive. | ||||
* | Reverted whitespace normalization on this file. I should really change | Tim Peters | 2003-02-19 | 1 | -9/+10 |
| | | | | | this thing so it doesn't rely on being unnormalized. (That's the editorial "I", if anyone's listening <wink>.) | ||||
* | Removed debugging print in test_tarfile. | Tim Peters | 2003-02-19 | 1 | -1/+0 |
| | | | | | In the Windows installer, continued the endless battle to copy over files with new one-shot extensions. | ||||
* | Whitespace normalization. | Tim Peters | 2003-02-19 | 26 | -114/+110 |
| | |||||
* | Rename _better_reduce to _reduce_2, to make sure that any code that | Guido van Rossum | 2003-02-19 | 1 | -10/+5 |
| | | | | | was still referencing it will fail. Also removed some debug cruft from _reduce_ex. | ||||
* | Remove now unused _better_reduce. | Guido van Rossum | 2003-02-19 | 1 | -1/+1 |
| | |||||
* | Use __reduce_ex__ in copy.py. The test_*copy_cant() tests are simpler again. | Guido van Rossum | 2003-02-19 | 3 | -33/+66 |
| | |||||
* | Fix bug 683658 - PyErr_Warn may cause import deadlock. | Mark Hammond | 2003-02-19 | 1 | -1/+4 |
| | |||||
* | Enable argv emulation if required. | Jack Jansen | 2003-02-18 | 1 | -2/+4 |
| | | | | Fixed a bug for applets with their own plist files. | ||||
* | Added an argv_emulation option (command line option: --argv or -a) which | Jack Jansen | 2003-02-18 | 1 | -2/+36 |
| | | | | | creates the sys.argv emulation wrapper for droplets. Also updates the plist, if needed, and the includedModules (but this last is untested). |