]>
granicus.if.org Git - python/log
Tarek Ziadé [Thu, 5 Feb 2009 09:06:23 +0000 (09:06 +0000)]
Fix comment for #1835
Raymond Hettinger [Wed, 4 Feb 2009 19:25:17 +0000 (19:25 +0000)]
Clarify that named tuples do not have to subclass tuple.
Raymond Hettinger [Wed, 4 Feb 2009 11:31:30 +0000 (11:31 +0000)]
Tweak the docs for Counter() objects.
Raymond Hettinger [Wed, 4 Feb 2009 11:14:18 +0000 (11:14 +0000)]
Doc fixes. Remove overbroad, redundant warnings. Fixup example code.
Raymond Hettinger [Wed, 4 Feb 2009 10:52:32 +0000 (10:52 +0000)]
Minor doc fixups.
Kristján Valur Jónsson [Wed, 4 Feb 2009 10:05:25 +0000 (10:05 +0000)]
issue 4804: Provide checks for the format string of strftime, and for the "mode" string of fopen on Windows. These strings are user provided from python and so we can avoid invoking the C runtime invalid parameter handler by first checking that they are valid.
Brett Cannon [Tue, 3 Feb 2009 21:13:05 +0000 (21:13 +0000)]
Make importlib backwards-compatible to Python 2.2 (but this is not promised to
last; just doing it to be nice).
Also fix a message for an exception.
Thomas Heller [Tue, 3 Feb 2009 17:07:40 +0000 (17:07 +0000)]
This refactoring should make it easier to add new calling conventions.
Replace ffi_call_STDCALL and ffi_call_SYSV by a ffi_call_x86 function
that cleans up the stack when FFI_SYSV is used, and does nothing for
FFI_STDCALL.
Remove libffi_msvc\win32.S, which is out of date and also unused; it
was only used for building ctypes with the MingW compiler.
Brett Cannon [Tue, 3 Feb 2009 05:08:22 +0000 (05:08 +0000)]
Backport importlib to at least Python 2.5 by getting rid of use of str.format.
Brett Cannon [Tue, 3 Feb 2009 04:59:58 +0000 (04:59 +0000)]
Ignore bytecode files in importlib.
Brett Cannon [Tue, 3 Feb 2009 04:58:29 +0000 (04:58 +0000)]
Make importlib a package. This allows using svn:externals in the sandbox to
package up the code for separate distribution.
Raymond Hettinger [Tue, 3 Feb 2009 03:37:03 +0000 (03:37 +0000)]
Register decimals as numbers.Number
Raymond Hettinger [Tue, 3 Feb 2009 03:18:14 +0000 (03:18 +0000)]
Record operator deprecations in docs.
Raymond Hettinger [Tue, 3 Feb 2009 02:23:19 +0000 (02:23 +0000)]
Validate that __length_hint__ returns a usable result.
Raymond Hettinger [Mon, 2 Feb 2009 21:50:13 +0000 (21:50 +0000)]
Issue
1242657 : list(obj) can swallow KeyboardInterrupt.
Guilherme Polo [Mon, 2 Feb 2009 21:14:14 +0000 (21:14 +0000)]
NEWS entry for issue #
1581476
Guilherme Polo [Mon, 2 Feb 2009 21:08:32 +0000 (21:08 +0000)]
Guilherme Polo [Mon, 2 Feb 2009 20:28:59 +0000 (20:28 +0000)]
Moving to importlib
Guilherme Polo [Mon, 2 Feb 2009 20:23:29 +0000 (20:23 +0000)]
Restore the previous geometry before leaving the test
Martin v. Löwis [Mon, 2 Feb 2009 14:23:16 +0000 (14:23 +0000)]
Issue #4494: Fix build with Py_NO_ENABLE_SHARED on Windows.
Hirokazu Yamamoto [Mon, 2 Feb 2009 08:01:17 +0000 (08:01 +0000)]
Set native svn:eol-style property for text files.
Guilherme Polo [Mon, 2 Feb 2009 00:38:54 +0000 (00:38 +0000)]
Use a single Tcl interpreter through all these tests, this may help some
failing buildbots.
Guilherme Polo [Sun, 1 Feb 2009 02:56:16 +0000 (02:56 +0000)]
Restore Tkinter.Tk._loadtk so this test doesn't fail for problems
related to ttk.
Gregory P. Smith [Sun, 1 Feb 2009 00:24:21 +0000 (00:24 +0000)]
wording for for issue4903.
Gregory P. Smith [Sun, 1 Feb 2009 00:16:01 +0000 (00:16 +0000)]
Update doc wording as suggested in issue4903.
Benjamin Peterson [Sat, 31 Jan 2009 23:54:38 +0000 (23:54 +0000)]
more flags which only work for function blocks
Benjamin Peterson [Sat, 31 Jan 2009 23:43:25 +0000 (23:43 +0000)]
add explanatory comment
Gregory P. Smith [Sat, 31 Jan 2009 22:57:30 +0000 (22:57 +0000)]
- Issue #5104: The socket module now raises OverflowError when 16-bit port and
protocol numbers are supplied outside the allowed 0-65536 range on bind()
and getservbyport().
David Goodger [Sat, 31 Jan 2009 22:53:46 +0000 (22:53 +0000)]
markup fix
Benjamin Peterson [Sat, 31 Jan 2009 22:33:02 +0000 (22:33 +0000)]
fix indentation in comment
Benjamin Peterson [Sat, 31 Jan 2009 22:03:19 +0000 (22:03 +0000)]
fix indentation; looks like all I managed to do the first time is make things uglier
Benjamin Peterson [Sat, 31 Jan 2009 21:47:42 +0000 (21:47 +0000)]
fix indentation
Benjamin Peterson [Sat, 31 Jan 2009 21:00:10 +0000 (21:00 +0000)]
I believe the intention here was to avoid a global lookup
Benjamin Peterson [Sat, 31 Jan 2009 20:01:48 +0000 (20:01 +0000)]
fix indentation
Benjamin Peterson [Sat, 31 Jan 2009 16:52:03 +0000 (16:52 +0000)]
PyErr_BadInternalCall() raises a SystemError, not TypeError #5112
Mark Dickinson [Sat, 31 Jan 2009 16:44:04 +0000 (16:44 +0000)]
Add an extra test for long <-> float hash equivalence.
Benjamin Peterson [Sat, 31 Jan 2009 16:29:18 +0000 (16:29 +0000)]
completely detabify unicodeobject.c
Andrew M. Kuchling [Sat, 31 Jan 2009 03:26:02 +0000 (03:26 +0000)]
Text edits and markup fixes
Andrew M. Kuchling [Sat, 31 Jan 2009 02:50:09 +0000 (02:50 +0000)]
Add a section
Benjamin Peterson [Sat, 31 Jan 2009 01:42:55 +0000 (01:42 +0000)]
check the errno in bad fd cases
Benjamin Peterson [Fri, 30 Jan 2009 02:24:39 +0000 (02:24 +0000)]
make _tkinter._flatten check the result of PySequence_Size for errors #3880
Benjamin Peterson [Fri, 30 Jan 2009 02:02:25 +0000 (02:02 +0000)]
pep8tify conditionals
Tarek Ziadé [Thu, 29 Jan 2009 23:49:17 +0000 (23:49 +0000)]
fixed test_make_distribution so it runs on any platform, as long as tar an gzip are available
Antoine Pitrou [Thu, 29 Jan 2009 20:19:34 +0000 (20:19 +0000)]
Issue #2047: shutil.move() could believe that its destination path was
inside its source path if it began with the same letters (e.g. "src" vs.
"src.new").
Mark Hammond [Thu, 29 Jan 2009 12:13:31 +0000 (12:13 +0000)]
Fix issue5075: bdist_wininst should not depend on the vc runtime?
Raymond Hettinger [Thu, 29 Jan 2009 03:43:44 +0000 (03:43 +0000)]
Fix typo.
Raymond Hettinger [Thu, 29 Jan 2009 03:21:42 +0000 (03:21 +0000)]
Update itertools.__doc__ to include all tools.
Benjamin Peterson [Thu, 29 Jan 2009 03:03:00 +0000 (03:03 +0000)]
fix download url
Brett Cannon [Thu, 29 Jan 2009 00:55:33 +0000 (00:55 +0000)]
Ignore .pyc and .pyo files.
Brett Cannon [Thu, 29 Jan 2009 00:54:32 +0000 (00:54 +0000)]
Minor spelling mistake in datetime docs.
Brett Cannon [Thu, 29 Jan 2009 00:54:11 +0000 (00:54 +0000)]
Clarify some __del__ stuff.
Raymond Hettinger [Wed, 28 Jan 2009 23:58:16 +0000 (23:58 +0000)]
Correct docs for ABCs (MutableSequence was missing __setiem). Simplify the table by taking out inherited requirements for abstract methods.
Raymond Hettinger [Wed, 28 Jan 2009 23:02:26 +0000 (23:02 +0000)]
Issue 4920: Fixed next() vs __next__() issues in the ABCs
for Iterator and MutableSet. Also added thorough test for
required abstractmethods.
Guilherme Polo [Wed, 28 Jan 2009 20:03:26 +0000 (20:03 +0000)]
Issue #5083: New 'gui' resource for regrtest.
Guilherme Polo [Wed, 28 Jan 2009 20:02:01 +0000 (20:02 +0000)]
Make sure the root windows gets destroyed
Guilherme Polo [Wed, 28 Jan 2009 19:28:04 +0000 (19:28 +0000)]
* Renaming test_tk_* to test_ttk_* since that is what they are testing.
* Added ttk tests to the expected skips mapping just like where test_tcl
was expected to be skipped too.
Guilherme Polo [Wed, 28 Jan 2009 19:23:28 +0000 (19:23 +0000)]
Added support for collecting tests only from specific packages.
Guilherme Polo [Wed, 28 Jan 2009 15:56:01 +0000 (15:56 +0000)]
Demos for ttk added.
Guilherme Polo [Wed, 28 Jan 2009 13:09:03 +0000 (13:09 +0000)]
Added the ttk module. See issue #2983: Ttk support for Tkinter.
Benjamin Peterson [Tue, 27 Jan 2009 23:15:48 +0000 (23:15 +0000)]
use True and False
Mark Hammond [Tue, 27 Jan 2009 23:12:23 +0000 (23:12 +0000)]
On Windows, use the Python 'Activation Context' when loading extensions
to avoid problems loading the CRT from a private assembly. Via bug 4566.
Raymond Hettinger [Tue, 27 Jan 2009 13:26:35 +0000 (13:26 +0000)]
Add more tests for the powerset() recipe.
Raymond Hettinger [Tue, 27 Jan 2009 10:36:14 +0000 (10:36 +0000)]
More exhaustive combinatoric checks.
Raymond Hettinger [Tue, 27 Jan 2009 10:03:04 +0000 (10:03 +0000)]
Issue 5021: doctest.testfile should set __name__
Raymond Hettinger [Tue, 27 Jan 2009 09:52:35 +0000 (09:52 +0000)]
Stronger tests for combinatoric relationships.
Raymond Hettinger [Tue, 27 Jan 2009 09:33:06 +0000 (09:33 +0000)]
Add tests to verify combinatoric relationships.
Benjamin Peterson [Tue, 27 Jan 2009 03:07:53 +0000 (03:07 +0000)]
excellent place to use a set() #5069
Raymond Hettinger [Tue, 27 Jan 2009 02:58:49 +0000 (02:58 +0000)]
Promote combinations_with_replacement() from a recipe to a regular itertool.
Raymond Hettinger [Tue, 27 Jan 2009 02:36:33 +0000 (02:36 +0000)]
Tweak column alignment for collections docs.
Raymond Hettinger [Mon, 26 Jan 2009 23:29:09 +0000 (23:29 +0000)]
Remove startup firewall message. That is handled by an error dialog
whenever a connection cannot be formed. Also, the Idle version number
is already in the About Idle dialog. Now, the startup is clean looking
once again.
Mark Dickinson [Mon, 26 Jan 2009 21:51:56 +0000 (21:51 +0000)]
Issue #5073: Fix occasional failure of bsddb/test/test_lock.py. Thanks
Hirokazu Yamamoto for the patch.
Mark Dickinson [Mon, 26 Jan 2009 21:40:08 +0000 (21:40 +0000)]
Fix comment.
Mark Dickinson [Mon, 26 Jan 2009 21:36:30 +0000 (21:36 +0000)]
Fix undefined behaviour (left shift of negative value) in long_hash. Also,
rewrap a line of length > 79, and update comments.
Georg Brandl [Mon, 26 Jan 2009 21:29:38 +0000 (21:29 +0000)]
Copy over docs on advanced role features from Sphinx docs.
Raymond Hettinger [Mon, 26 Jan 2009 16:52:22 +0000 (16:52 +0000)]
Fix signed/unsigned mismatch.
Brett Cannon [Mon, 26 Jan 2009 01:16:50 +0000 (01:16 +0000)]
Backport importlib in the form of providing importlib.import_module(). This has
been done purely to help transitions from 2.7 to 3.1.
Tarek Ziadé [Sun, 25 Jan 2009 23:34:00 +0000 (23:34 +0000)]
Fixed #1885: --formats=tar,gztar was not working properly in the sdist command
Mark Dickinson [Sun, 25 Jan 2009 22:12:31 +0000 (22:12 +0000)]
No need for carry to be type twodigits in _PyLong_AsByteArray; digit is large enough.
This change should silence a compiler warning on Windows.
Tarek Ziadé [Sun, 25 Jan 2009 22:11:04 +0000 (22:11 +0000)]
added missing module docstring
Tarek Ziadé [Sun, 25 Jan 2009 22:09:10 +0000 (22:09 +0000)]
Issue #5052: removed backward compatibility information (out of date)
Raymond Hettinger [Sun, 25 Jan 2009 21:31:47 +0000 (21:31 +0000)]
Improved itertools recipe for generating powerset().
Raymond Hettinger [Sun, 25 Jan 2009 21:04:14 +0000 (21:04 +0000)]
Promote compress() from a recipe to being a regular itertool.
Tarek Ziadé [Sun, 25 Jan 2009 19:29:10 +0000 (19:29 +0000)]
Issue #4863, removing remaining bits
Tarek Ziadé [Sun, 25 Jan 2009 18:19:25 +0000 (18:19 +0000)]
Fixed #4863: removed distutils.mwerkscompiler
Hirokazu Yamamoto [Sun, 25 Jan 2009 17:46:48 +0000 (17:46 +0000)]
Fixed compile error on windows.
Benjamin Peterson [Sun, 25 Jan 2009 17:15:10 +0000 (17:15 +0000)]
fix building the core with --disable-unicode
I changed some bytearray methods to use strings instead of unicode like bytes_repr
Also, bytearray.fromhex() can take strings as well as unicode
Mark Dickinson [Sun, 25 Jan 2009 10:39:15 +0000 (10:39 +0000)]
Remove uses of cmp from the decimal module.
Jesse Noller [Sun, 25 Jan 2009 03:36:13 +0000 (03:36 +0000)]
Properly document multiprocessing's logging support, resolve outstanding issues with the custom levels
Mark Dickinson [Sat, 24 Jan 2009 21:08:38 +0000 (21:08 +0000)]
Issue #3657: fix occasional test_pickletools failures.
Mark Dickinson [Sat, 24 Jan 2009 16:40:29 +0000 (16:40 +0000)]
Issue #
1672332 : Fix unpickling of subnormal floats, which was raising
ValueError on some platforms as a result of the platform strtod setting
errno on underflow.
Mark Dickinson [Sat, 24 Jan 2009 16:17:27 +0000 (16:17 +0000)]
Issue #5025: Fix occasional test_kqueue failure on OS X.
Martin v. Löwis [Sat, 24 Jan 2009 15:47:27 +0000 (15:47 +0000)]
Issue #3881: Help Tcl to load even when started through the
unreadable local symlink to "Program Files" on Vista.
Martin v. Löwis [Sat, 24 Jan 2009 15:45:18 +0000 (15:45 +0000)]
Add heading for 2.7a0.
Mark Dickinson [Sat, 24 Jan 2009 15:27:44 +0000 (15:27 +0000)]
Issue #4393: fix 3 classes of potential portability problems in longobject.c:
- fix some places where counters into ob_digit were declared as
int instead of Py_ssize_t
- add (twodigit) casts where necessary
- fix code in _PyLong_AsByteArray that uses << on negative values
Martin v. Löwis [Sat, 24 Jan 2009 14:00:33 +0000 (14:00 +0000)]
Issue #4710: Extract directories properly in the zipfile module;
allow adding directories to a zipfile.
Kristján Valur Jónsson [Sat, 24 Jan 2009 10:52:26 +0000 (10:52 +0000)]
Add a test for UNC import paths, see issue 3677
Andrew M. Kuchling [Sat, 24 Jan 2009 03:28:18 +0000 (03:28 +0000)]
Add various items
Jesse Noller [Fri, 23 Jan 2009 14:04:41 +0000 (14:04 +0000)]
Issue 3807: multiprocessing fails to compile under --without-threads
Jesse Noller [Thu, 22 Jan 2009 21:53:22 +0000 (21:53 +0000)]
Issue 4593: apply() documentation is unclear
Georg Brandl [Thu, 22 Jan 2009 18:29:28 +0000 (18:29 +0000)]
Clarify wording.