summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* If we have a filename and __main__.__file__ hasn't already been set,Fred Drake2002-10-171-1/+11
| | | | | set it. Closes SF issue #624729.
* Fix minor whitespace nit, for consistency with Python's C style rules.Fred Drake2002-10-171-1/+1
|
* Remove spurious cruft from the output.Fred Drake2002-10-171-1/+1
|
* Clean up some whitespace to be consistent with Python's C style.Fred Drake2002-10-171-4/+4
|
* Remove redundant load() call.Guido van Rossum2002-10-171-1/+0
|
* Typo(!): "normal" -> "number"Fred Drake2002-10-171-1/+1
|
* Grammar repair in comment.Guido van Rossum2002-10-171-1/+1
|
* Use tempfile.gettempdir() to get the temp directory rather thanGuido van Rossum2002-10-171-2/+2
| | | | hardcoding "/tmp".
* Must catch TypeError from int(length).Guido van Rossum2002-10-171-1/+1
|
* Restructure: move all wiki code into a separate module.Guido van Rossum2002-10-172-113/+116
|
* Add trailing newline when saving.Guido van Rossum2002-10-171-0/+2
|
* Security fixes: reject non-wiki-word page names; set homedir to /tmp.Guido van Rossum2002-10-171-6/+13
| | | | | | Show errors returned by store(). A few nits.
* Added missing entries to __all__.Fred Drake2002-10-161-1/+2
|
* Make sure we test urlsplit() / urlunsplit() directly, rather thanFred Drake2002-10-161-12/+40
| | | | | | guessing that urlparse() / urlunparse() use them. Add tests of urldefrag().
* Some really simple cgi examples. cgi3 is a MiniWiki.Guido van Rossum2002-10-164-0/+157
|
* Patch #623780: Replace obsolete struct macros.Martin v. Löwis2002-10-165-34/+14
|
* Document urldefrag().Fred Drake2002-10-161-0/+7
|
* Add n_unnamed_fields into the type.Martin v. Löwis2002-10-161-5/+15
|
* Correct stat_result float time stamps entry.Martin v. Löwis2002-10-161-1/+2
|
* Add PyStructSequence_UnnamedField. Add stat_float_times.Martin v. Löwis2002-10-165-18/+151
| | | | Use integers in stat tuple, optionally floats in named fields.
* Recreated after source changes.Thomas Heller2002-10-161-319/+319
|
* posix_execve(): add missing argument for "et" format in PyArg_Parse()Guido van Rossum2002-10-161-0/+1
| | | | | call. This caused mysterious crashes (hard to debug because it was happening in a child process).
* Use string methods. Re-organize imports to Python Normal Form.Fred Drake2002-10-161-3/+4
|
* Only reset _is_empty if needed.Fred Drake2002-10-161-1/+1
|
* Modernization: Use string methods, use str instead ofFred Drake2002-10-161-17/+14
| | | | | types.StringType, inherit from list instead of UserList.
* Use string methods.Fred Drake2002-10-167-23/+18
|
* Use string methods. Organize the imports in Python Normal Form.Fred Drake2002-10-161-5/+5
|
* Use string methods; minor code cleanup.Fred Drake2002-10-161-21/+26
|
* Recreated after source changes.Thomas Heller2002-10-151-315/+315
|
* Patch #572628: Optional timeouts for put and get.Martin v. Löwis2002-10-154-36/+137
|
* Revert the previous checkin - it didn't work anyway.Thomas Heller2002-10-151-4/+3
|
* For some reason (probably cut and paste), __ipow__ for new-styleGuido van Rossum2002-10-152-2/+13
| | | | | | | | | | | | | | classes was called with three arguments. This makes no sense, there's no way to pass in the "modulo" 3rd argument as for __pow__, and classic classes don't do this. [SF bug 620179] I don't want to backport this to 2.2.2, because it could break existing code that has developed a work-around. Code in 2.2.2 that wants to use __ipow__ and wants to be forward compatible with 2.3 should be written like this: def __ipow__(self, exponent, modulo=None): ...
* Don't drop old slots if _unicode_to_string did not change anything.Martin v. Löwis2002-10-141-2/+4
|
* Allow Unicode strings in __slots__, converting them to byte strings.Martin v. Löwis2002-10-141-0/+39
|
* Allow Unicode strings as message and module name.Martin v. Löwis2002-10-141-2/+2
|
* [SF bug 620364]Guido van Rossum2002-10-141-0/+3
| | | | | In build_extensions(), don't proceed if srcdir is None. Probably somebody who tried this on Windows. :-)
* Convert empty string literal to string. Speed up creation of idmap.Martin v. Löwis2002-10-141-3/+4
|
* Fix for 1.33: urlsplit() should only add '//' if scheme != ''.Guido van Rossum2002-10-142-2/+7
| | | | Will add test and backport.
* I'd forgotten that tcsh was the default for 10.1, but SF's 10.1 systemBarry Warsaw2002-10-141-4/+5
| | | | | uses bash and so does my 10.2 system. "limit stacksize 2048" is the right invocation for tcsh/csh.
* There was a typo in the MacOSX section regarding the stacksize issue.Barry Warsaw2002-10-141-4/+5
| | | | | There's no limit command near as I can tell. Should be the bash builtin ulimit command.
* append(): Fixing the test for convertability after consultation withBarry Warsaw2002-10-141-14/+28
| | | | | | | Ben. If s is a byte string, make sure it can be converted to unicode with the input codec, and from unicode with the output codec, or raise a UnicodeError exception early. Skip this test (and the unicode->byte string conversion) when the charset is our faux 8bit raw charset.
* Use the same shade of blue as the site navigation areas.Fred Drake2002-10-141-2/+2
|
* Two new tests for splitting (or not splitting) 8-bit header data.Barry Warsaw2002-10-141-0/+21
|
* Bump the __version__Barry Warsaw2002-10-141-1/+1
|
* __init__(): Fix an invariant, that the charset item in a chunk tupleBarry Warsaw2002-10-141-2/+11
| | | | | | | | | | must be a Charset instance, not a string. The bug here was that self._charset wasn't being converted to a Charset instance so later .append() calls which used the default charset would break. _split(): If the charset of the chunk is '8bit', return the chunk unchanged. We can't safely split it, so this is the avenue of least harm.
* _split_header(): If we have a header which is a byte string containingBarry Warsaw2002-10-141-1/+17
| | | | | | | | | 8-bit data, we cannot split it safely, so return the original string unchanged. _is8bitstring(): Helper function which returns True when we have a byte string that contains non-ascii characters (i.e. mysterious 8-bit data).
* CHARSETS: Add faux '8bit' encoding for representing raw 8-bit data forBarry Warsaw2002-10-141-0/+2
| | | | which we know nothing else.
* Minor refactoring to avoid code duplication.Fred Drake2002-10-141-17/+10
|
* Update list of Windows buildnos for 2.2.2 final.Tim Peters2002-10-141-0/+2
|
* Add finditer to __all__ (when defining it at all).Guido van Rossum2002-10-141-0/+1
| | | | SF bug 585882. Will forward-port.