- 06 Sep, 2002 6 commits
-
-
Skip Montanaro authored
-
Barry Warsaw authored
Oleg Broytmann in SF patch #600096. Whitespace normalized by Barry.
-
Barry Warsaw authored
Broytmann in SF patch #600096. Specifically, the former function now encodes the triplets, while the latter adds optional charset and language arguments.
-
Barry Warsaw authored
the previous RFC 2045, $5.2 repair to get_content_type() this subpart's type will now be text/plain.
-
Barry Warsaw authored
-
Barry Warsaw authored
#601959. Modified slightly by Barry (who added the KeyError in case the header is missing.
-
- 05 Sep, 2002 9 commits
-
-
Neal Norwitz authored
Raise ValueError if user passes a size to mmap which is larger than the file.
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Neal Norwitz authored
-
Raymond Hettinger authored
out of the loop.
-
Raymond Hettinger authored
out of the loop.
-
Kurt B. Kaiser authored
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.
-
Raymond Hettinger authored
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.
-
- 04 Sep, 2002 4 commits
-
-
Raymond Hettinger authored
-
Walter Dörwald authored
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)
-
Raymond Hettinger authored
-
Guido van Rossum authored
-
- 03 Sep, 2002 17 commits
-
-
Skip Montanaro authored
-
Guido van Rossum authored
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.)
-
Jeremy Hylton authored
along with some small changes (e.g. use of +=).
-
-
Guido van Rossum authored
missing key. (Also added a guard to SyntaxError__str__ to prevent calling PyString_Check(NULL).)
-
Skip Montanaro authored
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.
-
Skip Montanaro authored
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
-
Jeremy Hylton authored
If the transfer-encoding is unknown, ignore it. Suggested by Tom Emerson.
-
Guido van Rossum authored
sometimes wasn't short enough.
-
Guido van Rossum authored
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
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.
-
Tim Peters authored
-
Walter Dörwald authored
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
-
Skip Montanaro authored
-
Martin v. Löwis authored
-
Andrew M. Kuchling authored
-
- 02 Sep, 2002 4 commits
-
-
Kurt B. Kaiser authored
521908 (again) to MAIN The patch applied by Steven was inadvertently reverted during the transition to GRPC. Python 2.3a0 (#3, May 8 2002, 23:37:01) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2 Type "copyright", "credits" or "license" for more information. GRPC IDLE Fork 0.8.2 >>> print u'\xbfQu\xe9 pas\xf3?' ¿QuÃ
© pasó? Modified Files: OutputWindow.py -
Walter Dörwald authored
(Spotted by Neal Norwitz)
-
Walter Dörwald authored
UnicodeTranslateError doesn't have an encoding attribute. (Spotted by Neal Norwitz)
-
Walter Dörwald authored
to prevent buffer overflows (spotted by Neal Norwitz).
-