| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
this is probably a better fix than lowering the recursion limit.
|
|
|
|
| |
GUSI/Threading interaction, I'm not sure, but I don't have the time to fix this right now.
|
| |
|
|
|
|
| |
and which held destination pathnames. Fixed.
|
|
|
|
| |
rewrapped: as usual with my files everything was far wider than 80 chars.
|
| |
|
| |
|
|
|
|
| |
Unfinished.
|
| |
|
|
|
|
|
| |
original code, it still needs fiddling to make it work in general
circumstances.
|
|
|
|
| |
Closes SF bug 605731.
|
|
|
|
|
|
|
| |
in a list comprehension. Includes a justification and a comparision
to regular for-loops.
Closes SF bug 605047.
|
|
|
|
|
| |
when the replacement from an encoding error callback is itself
unencodable.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
Oleg Broytmann in SF patch #600096. Whitespace normalized by Barry.
|
|
|
|
|
|
| |
Broytmann in SF patch #600096. Specifically, the former function now
encodes the triplets, while the latter adds optional charset and
language arguments.
|
|
|
|
|
| |
the previous RFC 2045, $5.2 repair to get_content_type() this
subpart's type will now be text/plain.
|
| |
|
|
|
|
|
| |
#601959. Modified slightly by Barry (who added the KeyError in case
the header is missing.
|
|
|
|
|
| |
Raise ValueError if user passes a size to mmap which is larger
than the file.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
out of the loop.
|
|
|
|
| |
out of the loop.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.)
|
|
|
|
| |
along with some small changes (e.g. use of +=).
|
|
|
|
| |
http://python.org/sf/602191
|
|
|
|
|
| |
missing key. (Also added a guard to SyntaxError__str__ to prevent
calling PyString_Check(NULL).)
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
If the transfer-encoding is unknown, ignore it. Suggested by Tom
Emerson.
|
|
|
|
| |
sometimes wasn't short enough.
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|