- 19 Sep, 2000 27 commits
-
-
Greg Ward authored
resource files. The gist of the patch is to treat ".rc" and ".mc" files as source files; ".mc" files are compiled to ".rc" and then ".res", and ".rc" files are compiled to ".res". Wish I knew what all these things stood for...
-
Tim Peters authored
recent changes to ntpath.py and posixmodule.c. Thanks to Guido for pointing out the inconsistency!
-
Jack Jansen authored
Added GetArgs dialog to EasyDialogs, a very nifty (if I may say so:-) way to create a unix-style sys.argv.
-
Marc-André Lemburg authored
which implements the automatic conversion from Unicode to a string object using the default encoding. The new API is then put to use to have eval() and exec accept Unicode objects as code parameter. This closes bugs #110924 and #113890. As side-effect, the traditional C APIs PyString_Size() and PyString_AsString() will also accept Unicode objects as parameters.
-
Guido van Rossum authored
The cause was that the replace code necessarily used a PCRE internal function to to template expansion. The fix changes the code to use an SRE internal if SRE is used, and a PCRE internal if SRE is used; in a way that should work with 1.5.2. The solution can be sped up tremendously under the assumption that the choice between sre and pre is not changed during the execution of the program; especially replace-all will be slow. But I'll leave that to someone else.
-
Tim Peters authored
"a:b", not "a:/b". Similar change was made to posixmodule.c earlier.
-
Tim Peters authored
Added new test for new __contains__ method. Extensive editing to get rid of asserts.
-
Tim Peters authored
-
Paul Prescod authored
-
Fred Drake authored
Document the __contains__() method. (Patch slightly modified by FLD.) This closes SourceForge patch #101387.
-
Fred Drake authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Closes Bug #114775.
-
Fred Drake authored
off an existing anchor tag if available (I think it always is, but am not completely sure).
-
Fred Drake authored
discussion on python-dev.
-
Barry Warsaw authored
zip(None) tests. Found by Finn Bock a while ago.
-
Guido van Rossum authored
-
Martin v. Löwis authored
-
Thomas Heller authored
on other systems, so that data, headers, scripts are included in the installer.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Tim Peters authored
When reading a short, sign-extend on platforms where shorts are bigger than 16 bits. When reading a long, repair the unportable sign extension that was being done for 64-bit machines (it assumed that signed right shift sign-extends).
-
Guido van Rossum authored
style conventions. (Ping has checkin privileges but apparently ignores them at the moment.) Ping improves a few doc strings and fixes style violations like foo ( bar ). An addition of my own: rearrange the printing of various items in test() so that the (long) environment comes at the end. This avoids having to scroll if you want to see the current directory or command line arguments.
-
Guido van Rossum authored
Macintosh (the latter untested). This closes Bug #110839.
-
Guido van Rossum authored
(This avoids defining non-working versions of these on the Mac.)
-
Guido van Rossum authored
I can't test this, so I'm just checking it in with blind faith in Andy. I've tested that it doesn't broeak a non-Pth build on Linux. Changes include: - There's a --with-pth configure option. - Instead of _GNU_PTH, we test for HAVE_PTH. - Better signal handling. - (The config.h.in file is regenerated in a slightly different order.)
-
Tim Peters authored
-
- 18 Sep, 2000 13 commits
-
-
Jeremy Hylton authored
interface consistent: The client is responsible for closing the socket, regardless of the amount of data received. Restore suport for set_debuglevel call.
-
Paul Prescod authored
-
Fred Drake authored
Add the new constants to the module docstring.
-
Paul Prescod authored
checks.
-
Fred Drake authored
compatibility layer as well as "classic" ndbm.
-
Fred Drake authored
Make the code conform better to the Python style guide.
-
Fred Drake authored
module.
-
Fred Drake authored
Add the constants "printable" and "punctuation" to the string module.
-
Fred Drake authored
Update the module docstring to reflect the actual list of modules in the xml.sax package. Make the code better conform to the Python style guide.
-
Fred Drake authored
this module is "import *" safe.
-
Marc-André Lemburg authored
PyObject_Set/GetAttr() calls. This patch fixes bug #113829.
-
Fred Drake authored
-
Marc-André Lemburg authored
objects for the attribute name. Unicode objects are converted to a string using the default encoding before trying the lookup. Note that previously it was allowed to pass arbitrary objects as attribute name in case the tp_getattro/setattro slots were defined. This patch fixes this by applying an explicit string check first: all uses of these slots expect string objects and do not check for the type resulting in a core dump. The tp_getattro/setattro are still useful as optimization for lookups using interned string objects though. This patch fixes bug #113829.
-