- 22 Sep, 2000 25 commits
-
-
Guido van Rossum authored
unnecessary. Sez edg@SF
-
Fred Drake authored
use_italics(): Remove both functions, inlining use_italics() at its only call site. init_myformat(): Uncomment line so that some internal markup does not get generated, since it is not properly removed later. (Fix on aspect of SourceForge bug #114749.) Modified call to process_commands_wrap_deferred(), removing \code from the list since it had a bad interaction with other changes in some contexts.
-
Fred Drake authored
-
Fred Drake authored
-
Guido van Rossum authored
-D_HPUX_SOURCE and also turns on long long support. Suggestion by stnor@sweden.hp.com (Stefan Norberg). Please test this if you have access to HP-UX!!!
-
Guido van Rossum authored
was reported twice so far. Someone with access to HP-UX, please test this! (Is '__hppa' or 'hppa' really the correct symbol to test for?)
-
Fred Drake authored
-
Guido van Rossum authored
variable in the Makefiles from the configure script. Usefil for Cygwin and Mac OS X builds.
-
Neil Schemenauer authored
-
Neil Schemenauer authored
used to find cyclic garbage produced by tests.
-
Neil Schemenauer authored
- Use exceptions rather than asserts for failing tests. - Reorganize tests and produce some output if verbose option is set.
-
Neil Schemenauer authored
collector will be saved in gc.garbage. This is useful for debugging a program that creates reference cycles. - Fix else statements in gcmodule.c to conform to Python coding standards.
-
Fred Drake authored
PyErr_Occurred(). Removed the extra test and setting of a bogus exception.
-
Jack Jansen authored
Contributed modules by Riccardo Trocca. Extended pixmap wrapper, NumPy visualiser and QuickTime to images.
-
Jack Jansen authored
Bill Bedford, slightly edited by me.
-
Tim Peters authored
subset of Win32 ShellExecute's functionality. Guido wants this because IDLE's Help -> Docs function currently crashes his machine because of a conflict between his version of Norton AntiVirus (6.10.20) and MS's _popen. Docs for startfile are being mailed to Fred (or just read the docstring -- it tells the whole story). Changed webbrowser.py to use os.startfile instead of os.popen on Windows. Changed IDLE's EditorWindow.py to pass an absolute path for the docs (hardcoding ShellExecute's "directory" arg to "." as used to be done let IDLE work, but made the startfile command exceedingly obscure for other uses -- the MS docs are terrible, of course, & still not sure I understand it). Note that Windows Python must link with shell32.lib now! That's where ShellExecute lives.
-
Guido van Rossum authored
-
Guido van Rossum authored
Closes Bug #115054.
-
Tim Peters authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
<file>.readlines() does not call <file>.readline() internally anymore, and the sizehint parameter should be mentioned briefly. Some displays of floating point numbers needed to be updated due to the change in the repr() of floats (from 1.6). Both issues were noted by Aahz <aahz@panix.com>.
-
Greg Ward authored
as well as scheme, and don't convert all installation paths (that's now done by the "install" command for us).
-
Greg Ward authored
'convert_paths()' method to convert them all to the local syntax (backslash or colon or whatever) at the appropriate time. Added SCHEME_KEYS to get rid of one hard-coded list of attributes (in 'select_scheme()'). Default 'install_path_file' to true, and never set it false (it's just there in case some outsider somewhere wants to disable installation of the .pth file for whatever reason). Toned down the warning emitted when 'install_path_file' is false, since we no longer know why it might be false. Added 'warn_dir' flag to suppress warning when installing to a directory not in sys.path (again, we never set this false -- it's there for outsiders to use, specifically the "bdist_*" commands). Pulled the loop of 'change_root()' calls out to new method 'change_roots()'. Comment updates/deletions/additions.
-
Greg Ward authored
up when the pathname starts with '/', which is needed when converting installation directories in the "install" command.
-
- 21 Sep, 2000 15 commits
-
-
Fred Drake authored
Show how code can be written to handle __getslice__ & friends in a way that is compatible with pre-2.0 versions of Python while still working with the "new" way of handling slicing. Additional explanation added by Fred Drake. This closes SourceForge patch #101388.
-
Guido van Rossum authored
According to Justin Pettit, this also works on OpenBSD, so I've added that symbol as well.
-
Martin v. Löwis authored
-
Fred Drake authored
<lannert@uni-duesseldorf.de>.
-
Jack Jansen authored
-
Fred Drake authored
-
Fred Drake authored
This closes SourceForge bug #114792.
-
Fred Drake authored
-
Marc-André Lemburg authored
and bumped the version number to 1.7.
-
Marc-André Lemburg authored
unicode_internal_decode function to support Unicode objects directly rather than by generating a copy of the object.
-
Marc-André Lemburg authored
"s#" will now return a pointer to the default encoded string data of the Unicode object instead of a pointer to the raw UTF-16 data. The latter is still available via PyObject_AsReadBuffer(). The patch also adds an optimization for string objects which is based on the fact that string objects return the raw character data for getreadbuffer access and are always single-segment.
-
Marc-André Lemburg authored
"s#" will now return a pointer to the default encoded string data of the Unicode object instead of a pointer to the raw UTF-16 data. The latter is still available via PyObject_AsReadBuffer().
-
Fred Drake authored
to the Python style guide, and remove unneeded imports.
-
Guido van Rossum authored
flag is true, is set to a StringIO object that silently collects all debug messages. This is triggered by the Node._debug=1 statement at the top of test_minidom.py. After the tests, we better delete that StringIO object to avoid wasting memory. We also reset the _debug flag. (Note that this is an undetectable memory leak, and the memory doesn't get collected by the cycle-gc either, because it's all reachable -- it's just useless.)
-
Fred Drake authored
data and default handlers -- a new reference was being passed to Py_BuildValue() for the "O" format character; using "N" plugs the leak. Fixed two other (minor) leaks that occurred on various error conditions. Removed uses of the UNLESS macro, which makes code hard to read, and is Evil.
-