summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Upped the stack size to 256KB. test_class ran afoul of the 64K limit, and ↵Jack Jansen2002-09-062-0/+0
| | | | this is probably a better fix than lowering the recursion limit.
* Skip UDP testing for MacPython (for now), it hangs. This may be due toJack Jansen2002-09-061-1/+3
| | | | GUSI/Threading interaction, I'm not sure, but I don't have the time to fix this right now.
* Updated the notes on building a binary installer.Jack Jansen2002-09-061-2/+15
|
* The script was very sloppy about which variables held source pathnamesJack Jansen2002-09-061-56/+54
| | | | and which held destination pathnames. Fixed.
* Fixed a typo in the binary install notesJack Jansen2002-09-061-66/+72
| | | | rewrapped: as usual with my files everything was far wider than 80 chars.
* Get rid of non-ascii characters.Jack Jansen2002-09-061-4/+4
|
* Use PyString_CHECK_INTERNED.Jack Jansen2002-09-061-3/+3
|
* Started on documentation for building a MacOSX binary installer.Jack Jansen2002-09-061-1/+28
| | | | Unfinished.
* Remove .pyo files too.Jack Jansen2002-09-061-2/+2
|
* Script to generate .pkg packages, donated by Dinu Gherman. This is hisJack Jansen2002-09-062-0/+465
| | | | | original code, it still needs fiddling to make it work in general circumstances.
* Have os.environ() inherit from the iterable version of UserDict.Raymond Hettinger2002-09-061-1/+1
| | | | Closes SF bug 605731.
* Added a tutorial note and example regarding the scope of loop variablesRaymond Hettinger2002-09-061-0/+13
| | | | | | | in a list comprehension. Includes a justification and a comparision to regular for-loops. Closes SF bug 605047.
* Add a test case that checks that the proper exception is raisesWalter Dörwald2002-09-061-0/+15
| | | | | when the replacement from an encoding error callback is itself unencodable.
* Apply diff3.txt (plus additional documentation)Walter Dörwald2002-09-063-38/+154
| | | | | | | | | from SF patch http://www.python.org/sf/554192 This adds two new functions to mimetypes: guess_all_extensions() which returns a list of all known extensions for a mime type, and add_type() which adds one mapping between a mime type and an extension.
* update docs to reflect that \b considers underscore to be part of a word.Skip Montanaro2002-09-061-2/+2
|
* test_set_param(), test_del_param(): Test RFC 2231 encoding support byBarry Warsaw2002-09-061-1/+68
| | | | Oleg Broytmann in SF patch #600096. Whitespace normalized by Barry.
* _formatparam(), set_param(): RFC 2231 encoding support by OlegBarry Warsaw2002-09-061-3/+11
| | | | | | Broytmann in SF patch #600096. Specifically, the former function now encodes the triplets, while the latter adds optional charset and language arguments.
* test_mondo_message(): "binary" is not a legal content type, so withBarry Warsaw2002-09-061-2/+3
| | | | | the previous RFC 2045, $5.2 repair to get_content_type() this subpart's type will now be text/plain.
* test_replace_header(): New test for Message.replace_header().Barry Warsaw2002-09-061-0/+17
|
* replace_header(): New method given by Skip Montanaro in SF patchBarry Warsaw2002-09-061-1/+15
| | | | | #601959. Modified slightly by Barry (who added the KeyError in case the header is missing.
* SF bug # 585792, Invalid mmap crashes Python interpreterNeal Norwitz2002-09-054-1/+30
| | | | | Raise ValueError if user passes a size to mmap which is larger than the file.
* Added "that" to correct grammar, the rest is due to wrappingNeal Norwitz2002-09-051-4/+4
|
* PyObject_RichCompareBool() already returns -1, 0, or 1, so return its valueNeal Norwitz2002-09-052-10/+2
|
* --with(out)-thread is deprecated according to configure --helpNeal Norwitz2002-09-051-1/+1
|
* SF # 555779, import user doesn't work with CGIsNeal Norwitz2002-09-052-2/+6
|
* Micro-optimization for list_contains. Factored double if testRaymond Hettinger2002-09-051-7/+6
| | | | out of the loop.
* Micro-optimization for list_contains. Factored double if testRaymond Hettinger2002-09-051-8/+7
| | | | out of the loop.
* M PyShell.pyKurt B. Kaiser2002-09-053-57/+55
| | | | | | | | | | | | | | | | | | | | | | | | M RemoteDebugger.py M ScriptBinding.py Restart the execution server with a clean environment and execute the active module from scratch upon activation of Run/F5. Add functionality to PyShell.py to restart the execution server in a new subprocess. The server makes a connection to the Idle client which sends a block of code to be executed. Modify ScriptBinding.py to restart the subprocess upon Run/F5, assuming that an execution is not currently in progress. Remove Import Module functionality, not required now that the code is executed in a clean environment. If the Debugger is active, also restart the subprocess side of the split debugger. Add functionality to RemoteDebugger.py to support this. At this time breakpoints will be lost in the subprocess if Run/F5 is activated. A subsequent checkin of PyShell.py will implement reloading of the breakpoints into the subprocess debugger. I'm keeping this separate as the design may change.
* smptlib did not handle empty addresses.Raymond Hettinger2002-09-051-3/+3
| | | | | | | | The problem was that it expected rfc822.parseaddr() to return None upon a parse failure. The actual, documented return value for a parse failure is (None, None). Closes SF bug 602029.
* Fix typoRaymond Hettinger2002-09-041-1/+1
|
* Change the unicode.translate docstring to document thatWalter Dörwald2002-09-042-2/+5
| | | | | | | | | | Unicode strings (with arbitrary length) are allowed as entries in the unicode.translate mapping. Add a test case for multicharacter replacements. (Multicharacter replacements were enabled by the PEP 293 patch)
* Fix typoRaymond Hettinger2002-09-041-1/+1
|
* In doc strings, use 'k in D' rather than D.has_key(k).Guido van Rossum2002-09-041-2/+2
|
* added a bit about the change to the thread tickerSkip Montanaro2002-09-031-0/+9
|
* Delete the %c test from test_date_time() untill Brett Cannon has timeGuido van Rossum2002-09-031-2/+2
| | | | | | to fix it. (It fails when the day of the month is a 1-digit number, because %c produces space+digit there, while strptime seems to expect zero+digit somehow.)
* Move code for reading chunked responses in helper function,Jeremy Hylton2002-09-031-45/+52
| | | | along with some small changes (e.g. use of +=).
* missed this one on the previous multi-file checkin - seeSkip Montanaro2002-09-031-2/+0
| | | | http://python.org/sf/602191
* Add a custom __str__ method to KeyError that applies repr() to theGuido van Rossum2002-09-032-3/+41
| | | | | missing key. (Also added a guard to SyntaxError__str__ to prevent calling PyString_Check(NULL).)
* Bump default check interval to 100 instructions. Computers are much fasterSkip Montanaro2002-09-031-2/+2
| | | | | | than when this interval was first established. Checking too frequently just adds needless overhead because most of the time there is nothing to do and no other threads ready to run.
* replace thread state objects' ticker and checkinterval fields with twoSkip Montanaro2002-09-035-10/+15
| | | | | | | | | | globals, _Py_Ticker and _Py_CheckInterval. This also implements Jeremy's shortcut in Py_AddPendingCall that zeroes out _Py_Ticker. This allows the test in the main loop to only test a single value. The gory details are at http://python.org/sf/602191
* SF bug [ 600488 ] Robustness tweak to httplib.pyJeremy Hylton2002-09-031-3/+1
| | | | | If the transfer-encoding is unknown, ignore it. Suggested by Tom Emerson.
* testConnectTimeout(): set the timeout to a smaller value; 0.02Guido van Rossum2002-09-031-1/+1
| | | | sometimes wasn't short enough.
* Update the module doc comment.Guido van Rossum2002-09-031-1/+3
|
* (Most of) SF patch 601369 (Christos Georgiou): obmalloc,structmodule:Guido van Rossum2002-09-031-27/+54
| | | | | | | 64bit, big endian (issue 2 only). This adds a bunch of memcpy calls via a temporary variable to avoid alignment errors. That's needed for some platforms.
* Fix for SF bug 601077 by Zack Weinberg.Guido van Rossum2002-09-031-5/+12
| | | | | | | | The new execvpe code would sometimes do the wrong thing when a non-executable file existed earlier in the path and an executable file of the same name existed later in the path. This patch restores the proper behavior (which is to execute the second file). When only a non-executable file exists, the correct error is still reported.
* Removed reliance on gcc/C99 extension.Tim Peters2002-09-031-1/+3
|
* Check whether a string resize is necessary at the endWalter Dörwald2002-09-032-4/+12
| | | | | | | | | of PyString_DecodeEscape(). This prevents a call to _PyString_Resize() for the empty string, which would result in a PyErr_BadInternalCall(), because the empty string has more than one reference. This closes SF bug http://www.python.org/sf/603937
* expose PYTHON_API_VERSION macro as sys.api_version. Closes patch # 601456.Skip Montanaro2002-09-033-0/+13
|
* Ignore encoding declarations inside strings. Fixes #603509.Martin v. Löwis2002-09-033-2/+18
|
* Add reminder about PEP293Andrew M. Kuchling2002-09-031-0/+14
|