- 26 May, 2000 13 kayıt (commit)
-
-
Fred Drake yazdı
Removed obsolete comments about this module not creating or removing actual files. Removed obsolete comment about users needing to set template to None after calling os.fork().
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Greg Ward yazdı
create shared extensions rather than 'ld -G'. This ensures that shared extensions link against libgcc.a, in case there are any functions in the GCC runtime not already in the Python core.
-
Fred Drake yazdı
I've added an extra comment about quoting arguments to IMAP4 commands. Also changed the command descriptions to show optional extra commands where appropriate. Fred Drake: Added example usage for the search() method based on comments from <Lucas.DeJonge@awtpl.com.au>; elaborated error handling information when arguments are missing from search() and uid().
-
Greg Ward yazdı
-
Greg Ward yazdı
up-to-date with respect to the source files; that way, we don't needlessly rebuild just because object files go away.
-
Greg Ward yazdı
-
Greg Ward yazdı
dictionaries in 'self.command_options' to 'get_option_dict()'. Simplified code in 'parse_config_files()' and 'parse_command_line()' accordingly. Fixed code in constructor that processes the 'options' dictionary from the setup script so it actually works: uses the new 'self.command_options' dictionary rather than creating command objects and calling 'set_option()' on them.
-
Greg Ward yazdı
Changed the exception-handling code in 'setup()' to re-raise exceptions if DEBUG is true.
-
Greg Ward yazdı
attempt to verify the bold assertions in the documentation): * entries for the "root package" in 'package_dir' didn't work -- fixed by improving the fall-through code in 'get_package_dir()' * __init__.py files weren't installed when modules-in-packages were listed individually (ie. in 'py_modules' in the setup script); fixed by making 'check_package()' return the name of the __init__ file if it exists, and making 'find_modules()' add an entry to the module list for __init__ if applicable
-
- 25 May, 2000 17 kayıt (commit)
-
-
Barry Warsaw yazdı
Modified, proofread, and integrated for Python 1.6 by Barry Warsaw.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
_exceptions module, including __doc__.
-
Barry Warsaw yazdı
module and into _exceptions.c. This includes all the PyExc_* globals, the bltin_exc table, init_class_exc(), fini_instances(), finierrors(). Renamed _PyBuiltin_Init_1() to _PyBuiltin_Init() since the two phase initializations are necessary any more. Removed as obsolete _PyBuiltin_Init_2(), _PyBuiltin_Fini_1() and _PyBuiltin_Fini_2().
-
Barry Warsaw yazdı
standard exceptions.
-
Barry Warsaw yazdı
need two phase init or fini of the builtin module. Change the call of _PyBuiltin_Init_1() to _PyBuiltin_Init(). Add a call to init_exceptions(). Py_Finalize(): Don't call _PyBuiltin_Fini_1(). Instead call fini_exceptions() but move this to before the thread state is cleared.
-
Barry Warsaw yazdı
or fini of the builtin module. _PyBuiltin_Init_1 => _PyBuiltin_Init _PyBuiltin_Init_2 removed _PyBuiltin_Fini_1 removed _PyBuiltin_Fini_2 removed These functions are used to initialize the _exceptions module. init_exceptions added fini_exceptions added
-
Greg Ward yazdı
-
Fred Drake yazdı
This patch adds a comment about quoting to the doc string, and also checks that the 'flags' argument to the STORE command is appropriately enclosed inside parentheses to avoid quoting.
-
Barry Warsaw yazdı
used to build the fallback string-based exception.
-
Greg Ward yazdı
-
Greg Ward yazdı
* 'first_line_re' loosened up * command description improved * replaced '_copy_files()' and '_adjust_files()' with one method that does everything, 'copy_scripts()' -- this should be more efficient than Bastian's version, should behave better in dry-run mode, and does timestamp dependency-checking
-
Greg Ward yazdı
'install_misc' class.
-
Greg Ward yazdı
its 'scripts' attribute.
-
Greg Ward yazdı
-
Greg Ward yazdı
necessary to support it. Details: - build command additionally calls build_scripts - build_scripts builds your scripts in 'build/scripts' and adjusts the first line if it begins with "#!" and ends with "python", optionally ending with commandline options (like -O, -t ...). Adjusting means we write the current path to the Python interpreter in the first line. - install_scripts copies the scripts to the install_scripts dir - install_data copies your data_files in install_data. You can supply individual directories for your data_files: data_files = ['doc/info.txt', # copy this file in install_scripts dir ('testdata', ['a.dat', 'b.dat']), # copy these files in # install_scripts/testdata ('/etc', ['packagerc']), # copy this in /etc. When --root is # given, copy this in rootdir/etc ] So you can use the --root option with absolute data paths.
-
Greg Ward yazdı
-
- 24 May, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
often, ftp URLs hang in the final close. Further analysis suggests that this is because the close hook in addclosehook() calls the hook before acually closing the connection. The hook, in this case, waits for the '226 Transfer complete' status from the server on the command socket. However, more and more ftp servers only send this status when the data socket has actually been closed -- causing a deadlock. The fix is simple: in addclosehook.close(), call addbase.close() *before* calling the closehook.
-
- 23 May, 2000 8 kayıt (commit)
-
-
Greg Ward yazdı
DistutilsPlatformError: "invalid Python installation". (This will happen on Red Hat-ish systems where the python-devel package is not installed.)
-
Andrew M. Kuchling yazdı
now complete, but probably still not very helpful or friendly. Note: two very large tables (of key names, and of character names) were added; these tables format terribly, and need some reworking.
-
Andrew M. Kuchling yazdı
Lots of typo fixes (a bit too much cut-and-paste in this module) Aliases removed: attr_on, attr_off, attr_set Lowercased the names COLOR_PAIR and PAIR_NUMBER #ifdef's for compiling on Solaris added (need to understand SYSV curses versions better and generalize this) Bumped version number bumped to 1.6
-
Andrew M. Kuchling yazdı
-
Barry Warsaw yazdı
Montanaro, handle execution of indented regions by inserting an "if 1:" in front of the block. This better preserves things like triple quoted strings and commented regions. This patch resolves PR#264.
-
Greg Ward yazdı
before setting it -- this will catch bad options (eg. typos) in config files.
-
Greg Ward yazdı
dump the Distribution's 'command_options' dict after parsing config files, and then after parsing the command line.
-
Greg Ward yazdı
after all -- turns out it doesn't buy us much after all...
-