- 27 Jul, 2006 3 commits
-
-
Neal Norwitz authored
Reported by Klocwork # 74.
-
Neal Norwitz authored
to kill a cygwin instance. build\\python.exe was matching a normal windows instance. Prefix that with a \\ to ensure build is a directory and not PCbuild. As discussed on python-dev.
-
Tim Peters authored
In general, C doesn't define anything about what happens when an operation on a signed integral type overflows, and PyOS_strtol() did several formally undefined things of that nature on signed longs. Some version of gcc apparently tries to exploit that now, and PyOS_strtol() could fail to detect overflow then. Tried to repair all that, although it seems at least as likely to me that we'll get screwed by bad platform definitions for LONG_MIN and/or LONG_MAX now. For that reason, I don't recommend backporting this. Note that I have no box on which this makes a lick of difference -- can't really test it, except to note that it didn't break anything on my boxes. Silent change: PyOS_strtol() used to return the hard-coded 0x7fffffff in case of overflow. Now it returns LONG_MAX. They're the same only on 32-bit boxes (although C doesn't guarantee that either ...).
-
- 26 Jul, 2006 14 commits
-
-
Tim Peters authored
-
Phillip J. Eby authored
just ImportError. This allows documentation tools to better skip unimportable packages.
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
[Bug #1471938] Fix build problem on Solaris 8 by conditionalizing the use of mvwgetnstr(); it was conditionalized a few lines below. Fix from Paul Eggert. I also tried out the STRICT_SYSV_CURSES case and am therefore removing the 'untested' comment.
-
Martin v. Löwis authored
Fix httplib.HTTPConnection.getresponse to not close the socket if it is still needed for the response.
-
Georg Brandl authored
Also add a guard against NULL in converttuple and add a test case (that previously would have crashed).
-
Georg Brandl authored
-
Georg Brandl authored
-
Barry Warsaw authored
it into email 4.0. Specifically, in Message.get_content_charset(), handle RFC 2231 headers that contain an encoding not known to Python, or a character in the data that isn't in the charset encoding. Also forward port the appropriate unit tests.
-
Neal Norwitz authored
-
- 25 Jul, 2006 15 commits
-
-
Tim Peters authored
-
Ronald Oussoren authored
This adds a new key definition for OSX, which is slightly different from the classic mac definition. Also add NEWS item for a couple of bugfixes I added recently.
-
Ronald Oussoren authored
without causing problems for anyone that is on a case-insensitive filesystem). Setup.py tries to compile the MacOS extension from MacOSmodule.c, while the actual file is named macosmodule.c. This is no problem on the (default) case-insensitive filesystem, but doesn't work on case-sensitive filesystems.
-
Ronald Oussoren authored
of 'ln -s', this avoid problems when reinstalling python.
-
Armin Rigo authored
and explain why.
-
Armin Rigo authored
writing such code, of course, but it took some gdb time to figure out what my bug was).
-
Armin Rigo authored
-
Brett Cannon authored
were being converted in the format.
-
Brett Cannon authored
-
Georg Brandl authored
of pkg.walk_packages. Also improve the docstrings.
-
Martin v. Löwis authored
-
Martin v. Löwis authored
Will backport to 2.4.
-
Martin v. Löwis authored
-
Tim Peters authored
to guess /which/ line the spawned thread is in at the time sys._current_frames() is called: we know it finished enter_g.set(), but can't know whether the instruction counter has advanced to the following leave_g.wait(). The latter is overwhelming most likely, but not guaranteed, and I see that the "x86 Ubuntu dapper (icc) trunk" buildbot found it on the other line once. Changed the test so it passes in either case.
-
Greg Ward authored
Delete cruft.
-
- 24 Jul, 2006 8 commits
-
-
Tim Peters authored
-
Georg Brandl authored
-
Kurt B. Kaiser authored
M EditorWindow.py M ScriptBinding.py M NEWS.txt
-
Kurt B. Kaiser authored
Bug 1010370 Dave Florek M EditorWindow.py M PyShell.py M NEWS.txt
-
Georg Brandl authored
value in the traceback module.
-
Georg Brandl authored
-
Georg Brandl authored
Also don't install "python-config" when doing altinstall, but always install "python-config2.x" and make a link to it like with the main executable.
-
Martin v. Löwis authored
Will backport to 2.4.
-