Martin v. Löwis
b90304acb9
Issue #4850 : Change COUNT_ALLOCS variables to Py_ssize_t.
2009-01-07 18:40:40 +00:00
Antoine Pitrou
e96d4ea4e2
Issue #1180193 : When importing a module from a .pyc (or .pyo) file with
...
an existing .py counterpart, override the co_filename attributes of all
code objects if the original filename is obsolete (which can happen if the
file has been renamed, moved, or if it is accessed through different paths).
Patch by Ziga Seilnacht and Jean-Paul Calderone.
2009-01-06 18:10:47 +00:00
Neal Norwitz
f99b0110a8
Make sure to checkout any new packages
2009-01-05 03:57:25 +00:00
Antoine Pitrou
f0d2c3f730
Issue #4272 : Add an optional argument to the GzipFile constructor to override the timestamp in the gzip stream.
2009-01-04 21:29:23 +00:00
Mark Dickinson
514d483a7d
Misc/NEWS entry for r68317
2009-01-04 21:25:40 +00:00
Tarek Ziadé
85d6fb5022
fixed #1702551 : distutils sdist was not pruning VCS directories under win32
2009-01-04 00:04:49 +00:00
Georg Brandl
e54aea786e
Add temporary code to fix the automatic doc build failure.
2009-01-03 22:15:42 +00:00
Georg Brandl
fe427895b5
Manually merge r68095,68186,68187,68188,68190 from 2.6 branch.
2009-01-03 22:03:11 +00:00
Guilherme Polo
e7f140355b
The _tkinter module functions "createfilehandler", "deletefilehandler",
...
"createtimerhandler", "mainloop", "dooneevent" and "quit" have been
deprecated for removal in 3.x (part of issue #3638 ).
2009-01-03 21:51:09 +00:00
Raymond Hettinger
f4d8597a59
Issue 4796: Add from_float methods to the decimal module.
2009-01-03 19:02:23 +00:00
Martin v. Löwis
0fa10b3cd5
Issue #4817 : Remove unused function PyOS_GetLastModificationTime.
2009-01-03 17:19:26 +00:00
Mark Dickinson
c5de0969ca
Issue #4812 : add missing underscore prefix to some internal-use-only
...
constants in the decimal module. (Dec_0 becomes _Dec_0, etc.)
2009-01-02 23:07:08 +00:00
Martin v. Löwis
9ac4927125
Issue #4051 : Prevent conflict of UNICODE macros in cPickle.
2009-01-02 20:40:14 +00:00
Martin v. Löwis
5344c99734
Issue #4075 : Use OutputDebugStringW in Py_FatalError.
2009-01-02 20:32:55 +00:00
Ronald Oussoren
072bb405f3
Fix for issues #841800 and #900506
2009-01-02 15:25:36 +00:00
Ronald Oussoren
abcc168c69
Fix for issue 1149804
2009-01-02 15:00:05 +00:00
Ronald Oussoren
919697cefe
Fix for issue r1737832
2009-01-02 14:52:09 +00:00
Ronald Oussoren
7f8cbf0e73
Fix for issue 1627952
2009-01-02 14:48:17 +00:00
Ronald Oussoren
63b74feb51
Fix for issue 900949
2009-01-02 14:46:19 +00:00
Ronald Oussoren
0238497e93
Fix for issue1594
2009-01-02 14:10:20 +00:00
Ronald Oussoren
f7d5405d57
Forgot to add a NEWS item in my previous checkin
2009-01-02 10:48:31 +00:00
Hirokazu Yamamoto
99a1b20bbf
Issue #4797 : IOError.filename was not set when _fileio.FileIO failed to open
...
file with `str' filename on Windows.
2009-01-01 15:45:39 +00:00
Antoine Pitrou
aa687902f2
Issue #3680 : Reference cycles created through a dict, set or deque iterator did not get collected.
2009-01-01 14:11:22 +00:00
Georg Brandl
6269fec171
#4228 : Pack negative values the same way as 2.4
...
in struct's L format.
2009-01-01 12:15:31 +00:00
Benjamin Peterson
8ad09a4f2e
#4795 inspect.isgeneratorfunction() should return False instead of None
2008-12-31 23:48:39 +00:00
Tarek Ziadé
b1a85413b1
Fixed #4702 : Throwing DistutilsPlatformError instead of IOError under win32 if MSVC is not found
2008-12-30 23:03:41 +00:00
Nick Coghlan
180e400766
Issue #4701 : implicitly call PyType_Ready from PyObject_Hash
2008-12-30 01:18:48 +00:00
Tarek Ziadé
c13acb18bc
fixed #4646 : distutils was choking on empty options arg in the setup function.
2008-12-29 22:23:53 +00:00
Martin v. Löwis
03824e45f6
Issue #1040026 : Fix os.times result on systems where HZ is incorrect.
2008-12-29 18:17:34 +00:00
Benjamin Peterson
7af65568ff
#4764 in io.open, set IOError.filename when trying to open a directory on POSIX platforms
2008-12-29 17:56:58 +00:00
Benjamin Peterson
fe231b07e4
#4764 set IOError.filename when trying to open a directory on POSIX platforms
2008-12-29 17:47:42 +00:00
Martin v. Löwis
732479f50b
Issue #3767 : Convert Tk object to string in tkColorChooser.
2008-12-29 16:22:25 +00:00
Martin v. Löwis
e2eb2b4bc3
Issue #3248 : Allow placing ScrolledText in a PanedWindow.
2008-12-29 15:51:01 +00:00
Benjamin Peterson
fd9633ed36
fix WORD_BIGEDIAN declaration in Universal builds; fixes #4060 and #4728
2008-12-28 15:37:31 +00:00
Antoine Pitrou
697ca3d0cb
Issue #4444 : Allow assertRaises() to be used as a context handler.
2008-12-28 14:09:36 +00:00
Georg Brandl
6425a2fa8f
Backport r67974:
...
#4759 : allow None as first argument of bytearray.translate(), for consistency with bytes.translate().
Also fix segfault for bytearray.translate(x, None) -- will backport this part to 3.0 and 2.6.
2008-12-28 11:54:53 +00:00
Antoine Pitrou
e555f581dc
Issue #4677 : add two list comprehension tests to pybench.
2008-12-27 20:34:52 +00:00
Benjamin Peterson
8d5934b25d
#4748 lambda generators shouldn't return values
2008-12-27 18:24:11 +00:00
Georg Brandl
c3a9803410
Patch #4739 by David Laban: add symbols to pydoc help topics,
...
so that ``help('@')`` works as expected.
2008-12-27 18:20:04 +00:00
Antoine Pitrou
6f193e0e95
Issue #4756 : zipfile.is_zipfile() now supports file-like objects.
...
Patch by Gabriel Genellina.
2008-12-27 15:43:12 +00:00
Alexandre Vassalotti
6067f78ecf
Add Misc/NEWS entry for r67934.
2008-12-27 07:13:01 +00:00
Tarek Ziadé
e4c75bb585
fixed #4400 : distutils .pypirc default generated file was broken.
2008-12-24 19:10:05 +00:00
Benjamin Peterson
54686e3c29
#4736 BufferRWPair.closed shouldn't try to call another property as a function
2008-12-24 15:10:27 +00:00
Skip Montanaro
f205c13fac
As a result of a regression that snuck into 2.5.3 add a test case that
...
ensures that when you try to read from a file opened for writing an IOError
is raised.
2008-12-23 03:30:15 +00:00
Benjamin Peterson
cf2ce24db5
add NEWS note
2008-12-22 20:52:53 +00:00
Neal Norwitz
1077c42869
Add Tarek for work on distutils.
2008-12-21 14:28:32 +00:00
Antoine Pitrou
73c0e65fc3
Issue #2467 : gc.DEBUG_STATS reports invalid elapsed times.
...
Patch by Neil Schemenauer, very slightly modified.
2008-12-17 22:46:54 +00:00
Mark Dickinson
1a707981c8
Issue #3439 : add bit_length method to int and long.
...
Thanks Fredrik Johansson and Victor Stinner for code,
Raymond Hettinger for review.
2008-12-17 16:14:37 +00:00
Antoine Pitrou
d0c3515bc5
Issue #2183 : Simplify and optimize bytecode for list comprehensions.
2008-12-17 00:38:28 +00:00
Amaury Forgeot d'Arc
3538a3107a
#3632 : the "pyo" macro from gdbinit can now run when the GIL is released.
...
Patch by haypo.
2008-12-15 22:29:14 +00:00