Commit Graph

3284 Commits

Author SHA1 Message Date
Hirokazu Yamamoto 8839fd7372 Issue #6344: Fixed a crash of mmap.read() when passed a negative argument.
Reviewed by Amaury Forgeot d'Arc.
2009-06-29 13:25:16 +00:00
Hirokazu Yamamoto a3c5609079 Issue #4856: Remove checks for win NT. 2009-06-28 10:23:00 +00:00
Martin v. Löwis ecb4f953dd Issue 5390: Add uninstall icon independent of whether file
extensions are installed.
2009-06-28 09:32:39 +00:00
Amaury Forgeot d'Arc 595f7a5bf9 #2016 Fix a crash in function call when the **kwargs dictionary is mutated
during the function call setup.

This even gives a slight speedup, probably because tuple allocation
is faster than PyMem_NEW.
2009-06-25 22:29:29 +00:00
Georg Brandl 5a85d5c4f2 #6332: fix word dupes throughout the source. 2009-06-24 06:41:19 +00:00
Amaury Forgeot d'Arc 14fc673d4f Remove the ipaddr module per discussion on python-dev 2009-06-23 21:09:09 +00:00
Raymond Hettinger 62641e9534 Issue 6329: Fix iteration for memoryviews. 2009-06-23 20:59:43 +00:00
R. David Murray ef087da9e7 Fix issue 5230 by having pydoc's safeimport check to see if the import
error was thrown from itself in order to decide if the module can't be
found.  Thanks to Lucas Prado Melo for collaborating on the fix and tests.
2009-06-23 18:02:46 +00:00
Vinay Sajip 603fb6d667 Issue #6314: logging.basicConfig() performs extra checks on the "level" argument. 2009-06-21 17:37:27 +00:00
Guilherme Polo 7f146ab0ca Issue #5450: Moved tests involving loading tk from Lib/test/test_tcl to
Lib/lib-tk/test/test_tkinter/test_loadtk in order to follow the behaviour of
test_ttkguionly.
2009-06-21 17:22:50 +00:00
Tarek Ziadé 439bf93f8c Fixed #6164 AIX specific linker argument in Distutils unixcompiler 2009-06-20 13:57:20 +00:00
Facundo Batista 8c826b77e0 Issue #6274. Fixed a potential FD leak in subprocess.py. 2009-06-19 18:02:28 +00:00
Amaury Forgeot d'Arc 5fe420e34c #6189: The subprocess.py module should be kept compatible with python 2.2
(On windows, you still have to change one line to use pywin32
instead of the _subprocess helper module)
2009-06-18 22:32:50 +00:00
Tarek Ziadé fdefc0a5a1 Fixed #6287: documentation for the license field in distutils 2009-06-16 07:29:52 +00:00
Benjamin Peterson 08a0bbc846 don't mask encoding errors when decoding a string #6289 2009-06-16 00:29:31 +00:00
Tarek Ziadé a1cc040828 Issue #6286: distutils upload command now uses urllib2 2009-06-15 23:30:13 +00:00
Hirokazu Yamamoto 983a46543c Issue #6271: mmap tried to close invalid file handle (-1) when annonymous.
(On Unix) Patch by STINNER Victor.
2009-06-14 03:53:55 +00:00
Benjamin Peterson a72be3b325 when no module is given in a 'from' relative import, make ImportFrom.module NULL 2009-06-13 20:23:33 +00:00
Benjamin Peterson 565e1b6bb7 prevent import statements from assigning to None 2009-06-13 03:46:30 +00:00
Benjamin Peterson 4afbba3d34 keep the slice.step field as NULL if no step expression is given 2009-06-13 01:40:00 +00:00
Antoine Pitrou 1969059327 Issue #6215: backport the 3.1 io lib 2009-06-12 20:14:08 +00:00
Martin v. Löwis 2dcd7a0d52 Support AMD64 in msilib. Set Win64 on reglocator.
Fixes #6258.
2009-06-12 17:28:31 +00:00
Vinay Sajip 83da034c9a Issue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler. 2009-06-11 09:23:41 +00:00
Tarek Ziadé c7498f5aab #6263 fixed syntax error in distutils.cygwinccompiler 2009-06-11 09:13:36 +00:00
Tarek Ziadé 25d2bae1c9 Fixed #5201: now distutils.sysconfig.parse_makefile() understands '53264' in Makefiles 2009-06-11 08:12:20 +00:00
Ronald Oussoren 450d561028 This is a fix for Issue5809: you shouldn't specify both --enable-framework and
--enable-shared
2009-06-08 21:12:41 +00:00
Georg Brandl e6632b47bb #5767: remove sgmlop support from xmlrpclib; the sgmlop parser does not do much validation and is no longer much faster than e.g. the cElementTree XMLParser. 2009-06-04 08:58:32 +00:00
Amaury Forgeot d'Arc b02ceda3a5 #4547: When debugging a very large function, it was not always
possible to update the lineno attribute of the current frame.
2009-06-01 20:53:18 +00:00
Antoine Pitrou 4698d9928e Issue #6152: New option '-j'/'--multiprocess' for regrtest allows running
regression tests in parallel, shortening the total runtime.
2009-05-31 14:20:14 +00:00
Antoine Pitrou 46dbe27f7e Issue #5330: C functions called with keyword arguments were not reported by
the various profiling modules (profile, cProfile). Patch by Hagen Fürstenau.
2009-05-30 21:27:00 +00:00
Michael Foord b4a81c838a Add test discovery to unittest. Issue 6001. 2009-05-29 20:33:46 +00:00
Martin v. Löwis 4f16d3b4ac Issue #4873: Fix resource leaks in error cases of pwd and grp. 2009-05-29 15:58:08 +00:00
Tarek Ziadé 3e3eace7d7 Fixed #6131: test_modulefinder leaked when run after test_distutils 2009-05-29 08:08:07 +00:00
Raymond Hettinger 578a228ee2 Issue 5982: Classmethod and staticmethod expose wrapped function with __func__. 2009-05-29 04:58:52 +00:00
Raymond Hettinger 822b87f276 Deprecate contextlib.nested(). The with-statement now provides this functionality directly. 2009-05-29 01:46:48 +00:00
Raymond Hettinger b4d2d31874 Issue 5150: Add rstrip() option to IDLE's format menu. 2009-05-29 01:36:26 +00:00
Tarek Ziadé 9e5d2dc6a6 Fixed #6048: Distutils uses the tarfile module instead of the tar command now 2009-05-28 12:53:54 +00:00
R. David Murray d67ea7d4c6 fix issue #6121 by stripping spaces from the argument in the 'help'
function.
2009-05-27 20:07:21 +00:00
Georg Brandl 944f684ce6 Allow multiple context managers in one with statement, as proposed
in http://codereview.appspot.com/53094 and accepted by Guido.

The construct is transformed into multiple With AST nodes so that
there should be no problems with the semantics.
2009-05-25 21:02:56 +00:00
Benjamin Peterson 1880d8b823 add a SETUP_WITH opcode
It speeds up the with statement and correctly looks up the special
methods involved.
2009-05-25 13:13:44 +00:00
Benjamin Peterson 176a56c69b make class skipping decorators the same as skipping every test of the class
This removes ClassTestSuite and a good bit of hacks.
2009-05-25 00:48:58 +00:00
Antoine Pitrou f2caeed9c6 Issue #3585: Add pkg-config support.
It creates a python-2.7.pc file and a python.pc symlink in the
$(LIBDIR)/pkgconfig directory. Patch by Clinton Roy.
2009-05-24 20:23:57 +00:00
Martin v. Löwis 0b09c42ffe Issue #6050: Don't fail extracting a directory from a zipfile if
the directory already exists.
2009-05-24 19:30:52 +00:00
Martin v. Löwis 53b578eba1 Issue #6065: Do not try to build a version-independent
installer if the package has extension modules.

Also add NEWS entry for #5311.
2009-05-24 19:10:52 +00:00
Antoine Pitrou d49e375eed Issue #1309352: fcntl now converts its third arguments to a C `long` rather
than an int, which makes some operations possible under 64-bit Linux (e.g.
DN_MULTISHOT with F_NOTIFY).
2009-05-24 15:40:09 +00:00
Senthil Kumaran e266f25cf1 Fixed Issue1424152, urllib2 fails with HTTPS over Proxy. 2009-05-24 09:14:50 +00:00
Benjamin Peterson e5afa3b24b support building with subversion 1.7 #6094 2009-05-23 19:24:37 +00:00
Antoine Pitrou 5e858fe52b Issue #1983: Fix functions taking or returning a process identifier to use
the dedicated C type `pid_t` instead of a C `int`. Some platforms have
a process identifier type wider than the standard C integer type.
2009-05-23 15:37:45 +00:00
R. David Murray ad3058e0b8 Fix Issue #4066: smtplib.SMTP_SSL._get_socket now correctly returns
the socket.  Patch by Farhan Ahmad, test by Marcin Bachry.
2009-05-23 00:48:58 +00:00
Mark Dickinson a4e0efa4b1 Issue #5829: don't raise OverflowError for complex('1e500'). Backport of r72803. 2009-05-20 18:43:07 +00:00