summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* .use_latex(): Make this a little smarter so that it only runs pdflatexFred Drake2000-09-201-31/+24
| | | | | once if all the temporary files are available from building a DVI file. This can avoid two runs of pdflatex.
* Clarify that the softspace attribute is used by print for state management,Fred Drake2000-09-201-0/+3
| | | | not as a user-controlled parameter.
* Add entries for the xml.sax documentation.Fred Drake2000-09-202-0/+2
|
* First cut at documentation for the xml.sax package (not including anyFred Drake2000-09-201-0/+108
| | | | sub-modules).
* change 2-space indent to 4-space indentJeremy Hylton2000-09-202-2162/+2158
|
* distutils setup scriptJeremy Hylton2000-09-201-0/+9
|
* Fix typo (newtabwith).Guido van Rossum2000-09-201-1/+1
|
* *Very* belated application of Thomas Heller's patch to handleGreg Ward2000-09-191-3/+86
| | | | | | | 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...
* Treat trailing colon in os.path.join("a:", "b") same way for DOS as inTim Peters2000-09-191-1/+1
| | | | | recent changes to ntpath.py and posixmodule.c. Thanks to Guido for pointing out the inconsistency!
* Added GetArgs dialog to EasyDialogs, a very nifty (if I may say so:-) way to ↵Jack Jansen2000-09-192-4/+236
| | | | create a unix-style sys.argv.
* This patch adds a new Python C API called PyString_AsStringAndSize()Marc-André Lemburg2000-09-198-19/+126
| | | | | | | | | | | | | 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.
* Temporary fix for Bug #114821.Guido van Rossum2000-09-191-2/+18
| | | | | | | | | | | | | | 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.
* Part of SF patch 101481: on Windows, os.path.join("a:", "b") should yieldTim Peters2000-09-191-1/+1
| | | | "a:b", not "a:/b". Similar change was made to posixmodule.c earlier.
* test_userlist.py:Tim Peters2000-09-191-39/+52
| | | | | Added new test for new __contains__ method. Extensive editing to get rid of asserts.
* SF patch 101391: implemented UserList.__contains__.Tim Peters2000-09-191-0/+1
|
* Fix test errors.Paul Prescod2000-09-192-2/+1
|
* Moshe Zadka <mzadka@geocities.com>:Fred Drake2000-09-191-0/+10
| | | | | | | Document the __contains__() method. (Patch slightly modified by FLD.) This closes SourceForge patch #101387.
* Many small clarifications, including many suggested by email.Fred Drake2000-09-191-17/+18
|
* New test cases for the StringIO moduleMartin v. Löwis2000-09-192-0/+24
|
* Don't print specific Node instances unless running verbosely.Martin v. Löwis2000-09-192-4/+10
| | | | Closes Bug #114775.
* make_nav_sectref(): Create more minimal HTML, hanging the class attributeFred Drake2000-09-191-2/+7
| | | | | off an existing anchor tag if available (I think it always is, but am not completely sure).
* Clarify a number of issues about the file-like object API based onFred Drake2000-09-191-20/+36
| | | | discussion on python-dev.
* Fixed the error reporting (raise of TestFailed) for the zip() andBarry Warsaw2000-09-191-2/+2
| | | | zip(None) tests. Found by Finn Bock a while ago.
* Randall Hopper: Add fpectl functionality patch for FreeBSD.Guido van Rossum2000-09-191-0/+15
|
* Support sizehint in _fileobject.readlines, as documented.Martin v. Löwis2000-09-191-1/+5
|
* Set the 'nt' installation scheme for the install command even if runThomas Heller2000-09-191-8/+25
| | | | | on other systems, so that data, headers, scripts are included in the installer.
* Support sizehint in StringIO.readlines, as documented.Martin v. Löwis2000-09-191-1/+5
|
* Implement readlines function. Closes Bug #110686.Martin v. Löwis2000-09-191-0/+36
|
* Obscure marshal fixes:Tim Peters2000-09-191-4/+4
| | | | | | | | 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).
* Patch #101121, by Ka-Ping Yee: cosmetic cleanup of cgi.py, using myGuido van Rossum2000-09-191-37/+37
| | | | | | | | | | | | 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.
* An honest attempt to make this work on Unix, Windows, and evenGuido van Rossum2000-09-191-81/+173
| | | | | | Macintosh (the latter untested). This closes Bug #110839.
* Only supply popen2, popen3 when fork exists.Guido van Rossum2000-09-191-13/+15
| | | | (This avoids defining non-working versions of these on the Mac.)
* Make better use of GNU Pth -- patch by Andy Dustman.Guido van Rossum2000-09-197-558/+521
| | | | | | | | | | | | | | | 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.)
* Updated Windows build info.Tim Peters2000-09-191-4/+3
|
* Do not close socket when a Content-Length is 0. This make theJeremy Hylton2000-09-181-15/+20
| | | | | | | interface consistent: The client is responsible for closing the socket, regardless of the amount of data received. Restore suport for set_debuglevel call.
* Test output that goes with updated test_minidom.Paul Prescod2000-09-181-0/+44
|
* Fix serious typo!Fred Drake2000-09-181-1/+3
| | | | Add the new constants to the module docstring.
* Change assertions to confirmations so that optimization doesn't disablePaul Prescod2000-09-181-46/+66
| | | | checks.
* Fix up the cleanup of the temporary DB so it works for BSD DB'sFred Drake2000-09-181-4/+12
| | | | compatibility layer as well as "classic" ndbm.
* Reduce the number of imports needed.Fred Drake2000-09-181-20/+23
| | | | Make the code conform better to the Python style guide.
* Document the "printable" and "punctuation" constants added to the stringFred Drake2000-09-181-0/+11
| | | | module.
* Richard Mortier <rmm1002@users.sourceforge.net>:Fred Drake2000-09-181-0/+2
| | | | Add the constants "printable" and "punctuation" to the string module.
* Remove two unnecessary imports.Fred Drake2000-09-181-26/+26
| | | | | | | 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.
* Once we're done with the sys module, remove it from the namespace soFred Drake2000-09-181-13/+11
| | | | this module is "import *" safe.
* Deferred the attribute name object type checking to the underlyingMarc-André Lemburg2000-09-181-4/+4
| | | | | | PyObject_Set/GetAttr() calls. This patch fixes bug #113829.
* Add missing \declaremodule for zipfile.Fred Drake2000-09-181-0/+1
|
* PyObject_SetAttr() and PyObject_GetAttr() now also accept UnicodeMarc-André Lemburg2000-09-181-11/+37
| | | | | | | | | | | | | | | 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.
* Repaired some glitches in the MD5 and SHA docs; copied the descriptions ofTim Peters2000-09-182-10/+31
| | | | | | the MD5 methods into the SHA docs (substituting "sha" for "md5", of course, and changing the stuff that depended on digest size accordingly). Fred, don't trust me!
* sys.setdefaultencoding() should only be called in case the standardMarc-André Lemburg2000-09-181-2/+3
| | | | | | | | default encoding ("ascii") is changed. This safes quite a few cycles during startup since the first call to .setdefaultencoding() will initialize the codec registry and the encodings package. See python-dev for a discussion (Subject: "[Python-Dev] [comp.lang.python] sys.setdefaultencoding (2.0b1)").
* satisfy the tabnannyJeremy Hylton2000-09-183-358/+358
|