]> granicus.if.org Git - python/log
python
16 years agoIssue #5247: Improve error message when unknown format codes are used when using...
Eric Smith [Fri, 20 Feb 2009 14:02:36 +0000 (14:02 +0000)]
Issue #5247: Improve error message when unknown format codes are used when using str.format() with str, unicode, long, int, and float arguments.

16 years agoFix punctuation.
Georg Brandl [Fri, 20 Feb 2009 08:45:47 +0000 (08:45 +0000)]
Fix punctuation.

16 years agoAt least separate imports from other statements.
Georg Brandl [Fri, 20 Feb 2009 08:22:21 +0000 (08:22 +0000)]
At least separate imports from other statements.

16 years ago#5327: fix a broken link by joining it.
Georg Brandl [Fri, 20 Feb 2009 07:48:21 +0000 (07:48 +0000)]
#5327: fix a broken link by joining it.

16 years agorevert r69777 since all the experts agree that extra import lines distract from the...
Benjamin Peterson [Fri, 20 Feb 2009 03:31:23 +0000 (03:31 +0000)]
revert r69777 since all the experts agree that extra import lines distract from the code

16 years agoSince we recommend one module per import line, reflect this also in the
Jeroen Ruigrok van der Werven [Thu, 19 Feb 2009 18:52:21 +0000 (18:52 +0000)]
Since we recommend one module per import line, reflect this also in the
documentation.

16 years ago#5317: update IronPython URL.
Georg Brandl [Thu, 19 Feb 2009 16:34:51 +0000 (16:34 +0000)]
#5317: update IronPython URL.

16 years ago#5287: Add exception handling around findCaller() call to help out IronPython.
Vinay Sajip [Thu, 19 Feb 2009 12:31:32 +0000 (12:31 +0000)]
#5287: Add exception handling around findCaller() call to help out IronPython.

16 years agoInline coefficients in gamma(). Add reflection formula. Add comments.
Raymond Hettinger [Thu, 19 Feb 2009 09:50:24 +0000 (09:50 +0000)]
Inline coefficients in gamma().  Add reflection formula.  Add comments.

16 years ago#5310, #3558: fix operator precedence table.
Georg Brandl [Thu, 19 Feb 2009 08:30:06 +0000 (08:30 +0000)]
#5310, #3558: fix operator precedence table.

16 years agoAdd links to helpful external resources.
Raymond Hettinger [Thu, 19 Feb 2009 06:55:03 +0000 (06:55 +0000)]
Add links to helpful external resources.

16 years agoAdd an example for math.fsum() and elaborate on the accurary note.
Raymond Hettinger [Thu, 19 Feb 2009 05:51:41 +0000 (05:51 +0000)]
Add an example for math.fsum() and elaborate on the accurary note.

16 years agoAdd some cross-references to the docs. Simplify the python code equivalent for izip...
Raymond Hettinger [Thu, 19 Feb 2009 05:34:35 +0000 (05:34 +0000)]
Add some cross-references to the docs.  Simplify the python code equivalent for izip().  Supply an optional argument for the nth() recipe.

16 years agoAdd keyword arg support to itertools.repeat().
Raymond Hettinger [Thu, 19 Feb 2009 02:38:25 +0000 (02:38 +0000)]
Add keyword arg support to itertools.repeat().

16 years agoAdd keyword arg support to itertools.compress().
Raymond Hettinger [Thu, 19 Feb 2009 02:15:14 +0000 (02:15 +0000)]
Add keyword arg support to itertools.compress().

16 years agoPy3k warnings now automatically include -Qwarn for division.
Raymond Hettinger [Wed, 18 Feb 2009 23:10:19 +0000 (23:10 +0000)]
Py3k warnings now automatically include -Qwarn for division.

16 years agoGeneralize the itertools.tee() recipe.
Raymond Hettinger [Wed, 18 Feb 2009 20:54:53 +0000 (20:54 +0000)]
Generalize the itertools.tee() recipe.

16 years agoClarify socket timeout behavior vs system network stack behavior on connect
Gregory P. Smith [Wed, 18 Feb 2009 05:46:11 +0000 (05:46 +0000)]
Clarify socket timeout behavior vs system network stack behavior on connect
for issue5293.

16 years ago#5268: mention VMSError.
Georg Brandl [Wed, 18 Feb 2009 00:31:36 +0000 (00:31 +0000)]
#5268: mention VMSError.

16 years ago#5296: sequence -> iterable.
Georg Brandl [Wed, 18 Feb 2009 00:25:13 +0000 (00:25 +0000)]
#5296: sequence -> iterable.

16 years ago#5297: fix example.
Georg Brandl [Wed, 18 Feb 2009 00:22:55 +0000 (00:22 +0000)]
#5297: fix example.

16 years agofixed the data_files inclusion behavior
Tarek Ziadé [Tue, 17 Feb 2009 23:06:51 +0000 (23:06 +0000)]
fixed the data_files inclusion behavior

16 years agoIssue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,
Hirokazu Yamamoto [Tue, 17 Feb 2009 13:17:26 +0000 (13:17 +0000)]
Issue #5282: Fixed mmap resize on 32bit windows and unix. When offset > 0,
The file was resized to wrong size.

16 years agoClarify the deprecation of platform.dist().
Marc-André Lemburg [Tue, 17 Feb 2009 12:48:19 +0000 (12:48 +0000)]
Clarify the deprecation of platform.dist().

Add versionadded tags.

16 years agoFix issue776533.
Ronald Oussoren [Tue, 17 Feb 2009 12:38:42 +0000 (12:38 +0000)]
Fix issue776533.

16 years agoFixup intro paragraphs for the itertools docs. Add some tables for quick reference.
Raymond Hettinger [Tue, 17 Feb 2009 11:00:27 +0000 (11:00 +0000)]
Fixup intro paragraphs for the itertools docs.  Add some tables for quick reference.

16 years agoIssue #5292: Fixed mmap crash on its boundary access m[len(m)].
Hirokazu Yamamoto [Tue, 17 Feb 2009 10:12:10 +0000 (10:12 +0000)]
Issue #5292: Fixed mmap crash on its boundary access m[len(m)].

16 years ago#2279 added the plain path case for data_files
Tarek Ziadé [Tue, 17 Feb 2009 09:42:44 +0000 (09:42 +0000)]
#2279 added the plain path case for data_files

16 years agoFix-up intro paragraph for collections docs.
Raymond Hettinger [Tue, 17 Feb 2009 08:33:01 +0000 (08:33 +0000)]
Fix-up intro paragraph for collections docs.

16 years agoAdd explanation for super(type1, type2).
Raymond Hettinger [Mon, 16 Feb 2009 23:00:25 +0000 (23:00 +0000)]
Add explanation for super(type1, type2).

16 years agoIssue 5229: Documentation for super() neglects to say what super() actually does
Raymond Hettinger [Mon, 16 Feb 2009 22:42:54 +0000 (22:42 +0000)]
Issue 5229: Documentation for super() neglects to say what super() actually does

16 years agonote about #2279
Tarek Ziadé [Mon, 16 Feb 2009 22:38:43 +0000 (22:38 +0000)]
note about #2279

16 years ago#2279: use os.sep so the MANIFEST file test work on win32
Tarek Ziadé [Mon, 16 Feb 2009 21:41:54 +0000 (21:41 +0000)]
#2279: use os.sep so the MANIFEST file test work on win32

16 years agoFixed #2279: distutils.sdist.add_defaults now add files listed in package_data and...
Tarek Ziadé [Mon, 16 Feb 2009 21:38:01 +0000 (21:38 +0000)]
Fixed #2279: distutils.sdist.add_defaults now add files listed in package_data and data_files

16 years agoPyList_Append() can fail
Benjamin Peterson [Mon, 16 Feb 2009 21:23:04 +0000 (21:23 +0000)]
PyList_Append() can fail

16 years agoremove some PyBytes_* aliases that are not in 3.x
Benjamin Peterson [Mon, 16 Feb 2009 21:09:09 +0000 (21:09 +0000)]
remove some PyBytes_* aliases that are not in 3.x

16 years agofix compiler warnings
Benjamin Peterson [Mon, 16 Feb 2009 21:07:52 +0000 (21:07 +0000)]
fix compiler warnings

16 years agoAdd GC support to count() objects. Backport candidate.
Raymond Hettinger [Mon, 16 Feb 2009 20:39:12 +0000 (20:39 +0000)]
Add GC support to count() objects.  Backport candidate.

16 years agonote functions that are not aliased to PyBytes_ #5280
Benjamin Peterson [Mon, 16 Feb 2009 14:54:34 +0000 (14:54 +0000)]
note functions that are not aliased to PyBytes_ #5280

16 years agoAdded Ross Light to ACKS, for bug 4285 (r69331).
Eric Smith [Mon, 16 Feb 2009 09:56:39 +0000 (09:56 +0000)]
Added Ross Light to ACKS, for bug 4285 (r69331).

16 years agoA few more minor fixes in longobject.c
Mark Dickinson [Sun, 15 Feb 2009 15:48:39 +0000 (15:48 +0000)]
A few more minor fixes in longobject.c

16 years agoIssue #5260: Various portability and standards compliance fixes, optimizations
Mark Dickinson [Sun, 15 Feb 2009 10:13:41 +0000 (10:13 +0000)]
Issue #5260: Various portability and standards compliance fixes, optimizations
and cleanups in Objects/longobject.c.  The most significant change is that
longs now use less memory:  average savings are 2 bytes per long on 32-bit
systems and 6 bytes per long on 64-bit systems.  (This memory saving already
exists in py3k.)

16 years agoFixed typo.
Hirokazu Yamamoto [Sun, 15 Feb 2009 09:19:48 +0000 (09:19 +0000)]
Fixed typo.

16 years ago#5179: don't leak PIPE fds when child execution fails.
Georg Brandl [Sat, 14 Feb 2009 17:01:36 +0000 (17:01 +0000)]
#5179: don't leak PIPE fds when child execution fails.

16 years agothis needn't be a shebang line
Benjamin Peterson [Sat, 14 Feb 2009 17:00:51 +0000 (17:00 +0000)]
this needn't be a shebang line

16 years agowe're no longer using CVS, so this doesn't have to be binary
Benjamin Peterson [Sat, 14 Feb 2009 16:51:03 +0000 (16:51 +0000)]
we're no longer using CVS, so this doesn't have to be binary

16 years agoReplace variable
Tarek Ziadé [Sat, 14 Feb 2009 14:12:30 +0000 (14:12 +0000)]
Replace variable

16 years agoFix for #5257: refactored all tests in distutils, so they use a temporary directory.
Tarek Ziadé [Sat, 14 Feb 2009 14:10:23 +0000 (14:10 +0000)]
Fix for #5257: refactored all tests in distutils, so they use a temporary directory.

16 years agoAdd keyword argument support to itertools.count().
Raymond Hettinger [Sat, 14 Feb 2009 00:25:51 +0000 (00:25 +0000)]
Add keyword argument support to itertools.count().

16 years agofix the environ for distutils test_util
Tarek Ziadé [Fri, 13 Feb 2009 23:41:57 +0000 (23:41 +0000)]
fix the environ for distutils test_util

16 years agoFixed #4524: distutils build_script command failed with --with-suffix=3
Tarek Ziadé [Fri, 13 Feb 2009 23:00:43 +0000 (23:00 +0000)]
Fixed #4524: distutils build_script command failed with --with-suffix=3

16 years agoIssue #2461: added tests for distutils.util
Tarek Ziadé [Fri, 13 Feb 2009 22:22:03 +0000 (22:22 +0000)]
Issue #2461: added tests for distutils.util

16 years agoAdd optional code signing after merging.
Martin v. Löwis [Fri, 13 Feb 2009 20:51:48 +0000 (20:51 +0000)]
Add optional code signing after merging.

16 years agoUpdate Tix build procedure.
Martin v. Löwis [Fri, 13 Feb 2009 20:26:16 +0000 (20:26 +0000)]
Update Tix build procedure.

16 years agoMove amd64 properties further to the top, so that they override
Martin v. Löwis [Fri, 13 Feb 2009 20:11:34 +0000 (20:11 +0000)]
Move amd64 properties further to the top, so that they override
the linker options correctly.

16 years agoreverted leak fix, to use the one done in py3k branch (r67382)
Tarek Ziadé [Fri, 13 Feb 2009 16:13:16 +0000 (16:13 +0000)]
reverted leak fix, to use the one done in py3k branch (r67382)

16 years agoFix compiler warning (gcc)
Antoine Pitrou [Fri, 13 Feb 2009 13:57:40 +0000 (13:57 +0000)]
Fix compiler warning (gcc)

16 years agoIssue #5186: Reduce hash collisions for objects with no __hash__ method by
Antoine Pitrou [Fri, 13 Feb 2009 13:52:33 +0000 (13:52 +0000)]
Issue #5186: Reduce hash collisions for objects with no __hash__ method by
rotating the object pointer by 4 bits to the right.

16 years agoFix warnings GCC emits where the argument of PyErr_Format is a single variable.
Georg Brandl [Fri, 13 Feb 2009 11:10:04 +0000 (11:10 +0000)]
Fix warnings GCC emits where the argument of PyErr_Format is a single variable.

16 years agoFix warnings GCC emits where the argument of PyErr_Format is a single variable.
Georg Brandl [Fri, 13 Feb 2009 11:06:59 +0000 (11:06 +0000)]
Fix warnings GCC emits where the argument of PyErr_Format is a single variable.

16 years ago#3694: add test for fix committed in r66693.
Georg Brandl [Fri, 13 Feb 2009 11:03:59 +0000 (11:03 +0000)]
#3694: add test for fix committed in r66693.

16 years ago#1661108: note that urlsafe encoded string can contain "=".
Georg Brandl [Fri, 13 Feb 2009 10:56:50 +0000 (10:56 +0000)]
#1661108: note that urlsafe encoded string can contain "=".

16 years ago#3734: document complex coercing behavior better.
Georg Brandl [Fri, 13 Feb 2009 10:44:17 +0000 (10:44 +0000)]
#3734: document complex coercing behavior better.

16 years ago#4894: document "newurl" parameter to redirect_request().
Georg Brandl [Fri, 13 Feb 2009 10:40:14 +0000 (10:40 +0000)]
#4894: document "newurl" parameter to redirect_request().

16 years ago#5158: added documentation on the depends option in distutils extensions
Tarek Ziadé [Fri, 13 Feb 2009 09:12:33 +0000 (09:12 +0000)]
#5158: added documentation on the depends option in distutils extensions

16 years agoAdd links to the other versions we have in stock.
Georg Brandl [Fri, 13 Feb 2009 09:08:34 +0000 (09:08 +0000)]
Add links to the other versions we have in stock.

16 years ago- Issue #3745: Fix hashlib to always reject unicode and non buffer-api
Gregory P. Smith [Fri, 13 Feb 2009 03:00:00 +0000 (03:00 +0000)]
- Issue #3745: Fix hashlib to always reject unicode and non buffer-api
  supporting objects as input no matter how it was compiled (built in
  implementations or external openssl library).
(backported from a py3k branch)

16 years agofixing the leak introduced in r69304
Tarek Ziadé [Thu, 12 Feb 2009 20:56:21 +0000 (20:56 +0000)]
fixing the leak introduced in r69304

16 years agoTypo fix.
Mark Dickinson [Thu, 12 Feb 2009 17:55:42 +0000 (17:55 +0000)]
Typo fix.

16 years agoOne more test.
Raymond Hettinger [Thu, 12 Feb 2009 12:43:01 +0000 (12:43 +0000)]
One more test.

16 years agoAdd an extra testcase.
Raymond Hettinger [Thu, 12 Feb 2009 12:04:26 +0000 (12:04 +0000)]
Add an extra testcase.

16 years agoFix spaces/tabs in example.
Raymond Hettinger [Thu, 12 Feb 2009 10:16:19 +0000 (10:16 +0000)]
Fix spaces/tabs in example.

16 years agoIssue 5032: added a step argument to itertools.count() and allowed non-integer argum...
Raymond Hettinger [Thu, 12 Feb 2009 05:39:46 +0000 (05:39 +0000)]
Issue 5032:  added a step argument to itertools.count() and allowed non-integer arguments.

16 years agono need for this __bases__ trick anymore
Benjamin Peterson [Thu, 12 Feb 2009 04:17:04 +0000 (04:17 +0000)]
no need for this __bases__ trick anymore

16 years agoos.fsync() should be used to ensure that data is written to disk
Benjamin Peterson [Thu, 12 Feb 2009 03:50:00 +0000 (03:50 +0000)]
os.fsync() should be used to ensure that data is written to disk

16 years agoIssue #1008086: Fixes socket.inet_aton() to always return 4 bytes even
Gregory P. Smith [Wed, 11 Feb 2009 23:45:25 +0000 (23:45 +0000)]
Issue #1008086: Fixes socket.inet_aton() to always return 4 bytes even
on LP64 platforms (most 64-bit Linux, bsd, unix systems).

16 years agoIssue #5204: Define _PyVerify_fd on VC6 to make
Hirokazu Yamamoto [Wed, 11 Feb 2009 04:13:06 +0000 (04:13 +0000)]
Issue #5204: Define _PyVerify_fd on VC6 to make
test_fdopen (test_os.py) pass.

16 years agoClean-up named tuple docs.
Raymond Hettinger [Wed, 11 Feb 2009 00:06:17 +0000 (00:06 +0000)]
Clean-up named tuple docs.

16 years agoIssue#5203: ctypes segfaults when passing a unicode string to a
Thomas Heller [Tue, 10 Feb 2009 18:43:01 +0000 (18:43 +0000)]
Issue#5203: ctypes segfaults when passing a unicode string to a
function without argtypes, if HAVE_USABLE_WCHAR_T is false.

16 years ago_testcapi depends on testcapi_long.h
Mark Dickinson [Tue, 10 Feb 2009 16:17:16 +0000 (16:17 +0000)]
_testcapi depends on testcapi_long.h

Thanks Lisandro Dalcin.

16 years agoIssue #5175: PyLong_AsUnsignedLongLong now raises OverflowError for
Mark Dickinson [Tue, 10 Feb 2009 15:46:50 +0000 (15:46 +0000)]
Issue #5175: PyLong_AsUnsignedLongLong now raises OverflowError for
negative arguments.  Previously, it raised TypeError.

Thanks Lisandro Dalcin.

16 years agoIssue 4804. Add a function to test the validity of file descriptors on Windows,...
Kristján Valur Jónsson [Tue, 10 Feb 2009 13:32:24 +0000 (13:32 +0000)]
Issue 4804.  Add a function to test the validity of file descriptors on Windows, and stop using global runtime settings to silence the warnings / assertions.

16 years agoFixed svn:eol-style.
Hirokazu Yamamoto [Tue, 10 Feb 2009 13:31:28 +0000 (13:31 +0000)]
Fixed svn:eol-style.

16 years agoSet eol-style to native
Martin v. Löwis [Tue, 10 Feb 2009 13:12:12 +0000 (13:12 +0000)]
Set eol-style to native

16 years agoIssue #5134: Silence compiler warnings when compiling sqlite with VC++.
Martin v. Löwis [Tue, 10 Feb 2009 13:09:19 +0000 (13:09 +0000)]
Issue #5134: Silence compiler warnings when compiling sqlite with VC++.

16 years agoFixed #3386: the optional prefix argument was ignored under OS2 and NT in distutils...
Tarek Ziadé [Tue, 10 Feb 2009 12:31:09 +0000 (12:31 +0000)]
Fixed #3386: the optional prefix argument was ignored under OS2 and NT in distutils.sysconfig.get_python_lib

16 years agocompileall used the ctime of bytecode and source to determine if the bytecode
Brett Cannon [Tue, 10 Feb 2009 02:07:38 +0000 (02:07 +0000)]
compileall used the ctime of bytecode and source to determine if the bytecode
should be recreated. This created a timing hole. Fixed by just doing what
import does; check the mtime and magic number.

16 years agoIssue 1818: collections.namedtuple() to support automatic renaming of invalid fieldnames.
Raymond Hettinger [Tue, 10 Feb 2009 01:24:05 +0000 (01:24 +0000)]
Issue 1818: collections.namedtuple() to support automatic renaming of invalid fieldnames.

16 years agoEnforcing Tk 8.3.1 requirement.
Guilherme Polo [Mon, 9 Feb 2009 20:57:45 +0000 (20:57 +0000)]
Enforcing Tk 8.3.1 requirement.

16 years agoFixed issue #5122: Synchronize tk load failure check to prevent a
Guilherme Polo [Mon, 9 Feb 2009 20:50:27 +0000 (20:50 +0000)]
Fixed issue #5122: Synchronize tk load failure check to prevent a
potential deadlock.

16 years agoChecking for tk availability before continuing (basically the same that is done in...
Guilherme Polo [Mon, 9 Feb 2009 19:57:04 +0000 (19:57 +0000)]
Checking for tk availability before continuing (basically the same that is done in test_ttk_guionly)

16 years agoSome tests for Tkinter.Text.search
Guilherme Polo [Mon, 9 Feb 2009 19:21:21 +0000 (19:21 +0000)]
Some tests for Tkinter.Text.search

16 years agoIssue 5171: itertools.product docstring missing 'repeat' argument
Raymond Hettinger [Mon, 9 Feb 2009 18:39:41 +0000 (18:39 +0000)]
Issue 5171: itertools.product docstring missing 'repeat' argument

16 years agoFixed issue #4890: Handle empty text search pattern in
Guilherme Polo [Mon, 9 Feb 2009 16:41:09 +0000 (16:41 +0000)]
Fixed issue #4890: Handle empty text search pattern in
Tkinter.Text.search

16 years agoTurned setup_master public
Guilherme Polo [Mon, 9 Feb 2009 16:09:17 +0000 (16:09 +0000)]
Turned setup_master public

16 years agoIssue #4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs.
Mark Dickinson [Mon, 9 Feb 2009 14:18:43 +0000 (14:18 +0000)]
Issue #4575: fix Py_IS_INFINITY macro to work correctly on x87 FPUs.
It now forces its argument to double before testing for infinity.

16 years agoIssue #5170: Fixed Unicode output bug in logging and added test case. This is a regre...
Vinay Sajip [Sun, 8 Feb 2009 19:06:08 +0000 (19:06 +0000)]
Issue #5170: Fixed Unicode output bug in logging and added test case. This is a regression which did not occur in 2.5.

16 years agoSilence 'arg may be used uninitialized in this function' warning from gcc.
Mark Dickinson [Sun, 8 Feb 2009 17:33:11 +0000 (17:33 +0000)]
Silence 'arg may be used uninitialized in this function' warning from gcc.

16 years agoa few edits and typos
Benjamin Peterson [Sun, 8 Feb 2009 15:14:57 +0000 (15:14 +0000)]
a few edits and typos

16 years agoIssue #789290: make sure that hash(2**63) == hash(2.**63) on 64-bit
Mark Dickinson [Sun, 8 Feb 2009 14:42:28 +0000 (14:42 +0000)]
Issue #789290: make sure that hash(2**63) == hash(2.**63) on 64-bit
platforms.  The previous code was fragile, depending on the twin
accidents that:

  (1) in C, casting the double value 2.**63 to long returns the integer
      value -2**63, and
  (2) in Python, hash(-2**63) == hash(2**63).

There's already a test for this in test_hash.