]> granicus.if.org Git - python/log
python
16 years agoadd the beginnings of a C-API 2 -> 3 porting guide
Benjamin Peterson [Fri, 26 Sep 2008 02:58:36 +0000 (02:58 +0000)]
add the beginnings of a C-API 2 -> 3 porting guide

16 years agoFix namedtuple bug reported by Glenn Linderman. Template did not form correctly...
Raymond Hettinger [Thu, 25 Sep 2008 23:31:52 +0000 (23:31 +0000)]
Fix namedtuple bug reported by Glenn Linderman.  Template did not form correctly if the field names were input in Unicode.

16 years ago#3965: on Windows, open() crashes if the filename or the mode is invalid,
Amaury Forgeot d'Arc [Thu, 25 Sep 2008 20:52:56 +0000 (20:52 +0000)]
#3965: on Windows, open() crashes if the filename or the mode is invalid,
and if the filename is a unicode string.

Reviewed by Martin von Loewis.

16 years agoadd a NEWs entry for r66614
Benjamin Peterson [Thu, 25 Sep 2008 20:35:45 +0000 (20:35 +0000)]
add a NEWs entry for r66614

16 years agoBug #3951: Py_USING_MEMORY_DEBUGGER should not be enabled by default.
Martin v. Löwis [Thu, 25 Sep 2008 04:12:50 +0000 (04:12 +0000)]
Bug #3951: Py_USING_MEMORY_DEBUGGER should not be enabled by default.

16 years ago#3950 fix missing scale factors in turtle.py
Benjamin Peterson [Wed, 24 Sep 2008 22:11:59 +0000 (22:11 +0000)]
#3950 fix missing scale factors in turtle.py

reviewers: Georg, Benjamin

16 years agoFix issue #3547: ctypes is confused by bitfields of varying integer types
Thomas Heller [Wed, 24 Sep 2008 18:26:05 +0000 (18:26 +0000)]
Fix issue #3547: ctypes is confused by bitfields of varying integer types

Reviewed by Fredrik Lundh and Skip Montanaro.

16 years agoImprove wording
Andrew M. Kuchling [Wed, 24 Sep 2008 17:27:55 +0000 (17:27 +0000)]
Improve wording

16 years agoIndentation normalization.
Georg Brandl [Wed, 24 Sep 2008 09:47:55 +0000 (09:47 +0000)]
Indentation normalization.

16 years agobackport the atexit test for r66563
Benjamin Peterson [Tue, 23 Sep 2008 20:43:09 +0000 (20:43 +0000)]
backport the atexit test for r66563

16 years agoBugfix for issue3885 and 'DB.verify()' crash.
Jesus Cea [Tue, 23 Sep 2008 18:54:08 +0000 (18:54 +0000)]
Bugfix for issue3885 and 'DB.verify()' crash.

Reviewed by Nick Coghlan.

16 years agoIssue #3945: Fixed compile error on cygwin. (initializer element is not constant)
Hirokazu Yamamoto [Tue, 23 Sep 2008 16:11:09 +0000 (16:11 +0000)]
Issue #3945: Fixed compile error on cygwin. (initializer element is not constant)
Reviewed by Amaury Forgeot d'Arc.

16 years agomention how to override boolean evaluation
Benjamin Peterson [Tue, 23 Sep 2008 13:32:46 +0000 (13:32 +0000)]
mention how to override boolean evaluation

16 years agoclean up docs for platform's linux_distribution and dist functions
Benjamin Peterson [Mon, 22 Sep 2008 22:13:29 +0000 (22:13 +0000)]
clean up docs for platform's linux_distribution and dist functions

16 years agouse the new threading properties for multiprocessing (reviewed by Jesse #3927)
Benjamin Peterson [Mon, 22 Sep 2008 21:11:43 +0000 (21:11 +0000)]
use the new threading properties for multiprocessing (reviewed by Jesse #3927)

16 years agobuild_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config files
Andrew MacIntyre [Mon, 22 Sep 2008 14:23:45 +0000 (14:23 +0000)]
build_os2emx.patch in issue 3868 - update OS/2 EMX makefile and config files

Part of source_os2emx.patch in issue 3868:
  Include/pystrcmp.h:  OS/2 has same C APIs as Windows
  Lib/test/test_io.py: OS/2 has same behaviour as Windows for this test

Reviewed by Amaury Forgeot d'Arc

16 years agoany platform without HAVE_LOG1P should have DBL_EPSILON in <float.h>
Andrew MacIntyre [Mon, 22 Sep 2008 14:11:41 +0000 (14:11 +0000)]
any platform without HAVE_LOG1P should have DBL_EPSILON in <float.h>

Part of source_os2emx.patch in issue 3868
Reviewed by Amaury Forgeot d'Arc

16 years agoshould use macro'ed symbols not direct
Andrew MacIntyre [Mon, 22 Sep 2008 14:10:54 +0000 (14:10 +0000)]
should use macro'ed symbols not direct

Part of source_os2emx.patch in issue 3868
Reviewed by Amaury Forgeot d'Arc

16 years agoFill out download page.
Georg Brandl [Sun, 21 Sep 2008 22:31:59 +0000 (22:31 +0000)]
Fill out download page.

16 years ago#3879 fix a regression in urllib.getproxies_environment
Benjamin Peterson [Sun, 21 Sep 2008 21:27:51 +0000 (21:27 +0000)]
#3879 fix a regression in urllib.getproxies_environment

reviewers: Benjamin, Georg

16 years agoIssue #3925: Ignores shutil.rmtree error on cygwin too.
Hirokazu Yamamoto [Sun, 21 Sep 2008 20:48:41 +0000 (20:48 +0000)]
Issue #3925: Ignores shutil.rmtree error on cygwin too.
Reviewed by Benjamin Peterson.

16 years agoIssue #3838: TarFile object assigned to self.tar should be closed explicitly.
Hirokazu Yamamoto [Sun, 21 Sep 2008 11:44:23 +0000 (11:44 +0000)]
Issue #3838: TarFile object assigned to self.tar should be closed explicitly.
Reviewed by Lars Gustäbel.

16 years agoAdd "dist" target.
Georg Brandl [Sun, 21 Sep 2008 10:03:39 +0000 (10:03 +0000)]
Add "dist" target.

16 years ago#3918: note that uniform() args can be swapped.
Georg Brandl [Sun, 21 Sep 2008 08:03:21 +0000 (08:03 +0000)]
#3918: note that uniform() args can be swapped.

16 years agoUpdate readme and Makefile (web builder doesn't exist).
Georg Brandl [Sun, 21 Sep 2008 07:36:22 +0000 (07:36 +0000)]
Update readme and Makefile (web builder doesn't exist).

16 years ago#3897: _collections now has an underscore.
Georg Brandl [Sun, 21 Sep 2008 07:31:52 +0000 (07:31 +0000)]
#3897: _collections now has an underscore.

16 years ago#3901: bsddb fix.
Georg Brandl [Sun, 21 Sep 2008 07:24:11 +0000 (07:24 +0000)]
#3901: bsddb fix.

16 years ago#3914: add //= to the augmented assign operators.
Georg Brandl [Sun, 21 Sep 2008 07:18:28 +0000 (07:18 +0000)]
#3914: add //= to the augmented assign operators.

16 years ago#3916: fixes for docs wrt. Windows directory layout
Georg Brandl [Sun, 21 Sep 2008 07:17:00 +0000 (07:17 +0000)]
#3916: fixes for docs wrt. Windows directory layout

16 years ago#3912: document default for *places* arg.
Georg Brandl [Sun, 21 Sep 2008 07:15:59 +0000 (07:15 +0000)]
#3912: document default for *places* arg.

16 years ago#3852: fix some select.kqueue and kevent docs.
Georg Brandl [Sun, 21 Sep 2008 07:14:44 +0000 (07:14 +0000)]
#3852: fix some select.kqueue and kevent docs.

16 years agoUse AMD64 version of CRT in just-for-me installations for Win64 installers.
Martin v. Löwis [Fri, 19 Sep 2008 19:20:03 +0000 (19:20 +0000)]
Use AMD64 version of CRT in just-for-me installations for Win64 installers.

16 years agoBug #3887: Package x64 version of CRT for AMD64
Martin v. Löwis [Fri, 19 Sep 2008 15:21:07 +0000 (15:21 +0000)]
Bug #3887: Package x64 version of CRT for AMD64
Windows binaries.

16 years agoCorrect information about the tarfile module.
Lars Gustäbel [Fri, 19 Sep 2008 12:39:23 +0000 (12:39 +0000)]
Correct information about the tarfile module.

16 years agoImprove docs for super().
Raymond Hettinger [Fri, 19 Sep 2008 08:07:48 +0000 (08:07 +0000)]
Improve docs for super().

16 years agoFix for documentation bug. Fixes issue 3904.
Josiah Carlson [Fri, 19 Sep 2008 02:07:22 +0000 (02:07 +0000)]
Fix for documentation bug.  Fixes issue 3904.

16 years agotabify
Benjamin Peterson [Thu, 18 Sep 2008 23:20:28 +0000 (23:20 +0000)]
tabify

16 years agodone with 2.6rc2
Barry Warsaw [Thu, 18 Sep 2008 05:34:31 +0000 (05:34 +0000)]
done with 2.6rc2

16 years agoTagging 2.6rc2
Barry Warsaw [Thu, 18 Sep 2008 04:34:09 +0000 (04:34 +0000)]
Tagging 2.6rc2

16 years agoBumping to 2.6rc2 v2.6rc2
Barry Warsaw [Thu, 18 Sep 2008 04:33:43 +0000 (04:33 +0000)]
Bumping to 2.6rc2

16 years agoavoid putting unicode objects in the environment causing
Mark Hammond [Thu, 18 Sep 2008 03:51:46 +0000 (03:51 +0000)]
avoid putting unicode objects in the environment causing
later test failures.  As discussed on #python-dev

16 years agoOn Windows, temporarily disable the bsddb test referenced in bug 3892.
Mark Hammond [Thu, 18 Sep 2008 02:47:35 +0000 (02:47 +0000)]
On Windows, temporarily disable the bsddb test referenced in bug 3892.
We do yell to stderr and the bug is marked as a blocker.
Reviewed by barry in #python-dev.

16 years agofix possible integer overflows in _hashopenssl #3886
Benjamin Peterson [Thu, 18 Sep 2008 01:22:16 +0000 (01:22 +0000)]
fix possible integer overflows in _hashopenssl #3886

16 years agodocument compileall command flags
Benjamin Peterson [Wed, 17 Sep 2008 21:54:56 +0000 (21:54 +0000)]
document compileall command flags

16 years agoNote sqlite3 version; move item
Andrew M. Kuchling [Wed, 17 Sep 2008 13:04:53 +0000 (13:04 +0000)]
Note sqlite3 version; move item

16 years agoRemove comment about improvement: pystone is about the same, and
Andrew M. Kuchling [Wed, 17 Sep 2008 12:58:22 +0000 (12:58 +0000)]
Remove comment about improvement: pystone is about the same, and
the improvements seem to be difficult to quantify

16 years agoMarkup fixes
Andrew M. Kuchling [Wed, 17 Sep 2008 12:57:04 +0000 (12:57 +0000)]
Markup fixes

16 years agousage
Skip Montanaro [Wed, 17 Sep 2008 11:50:36 +0000 (11:50 +0000)]
usage

16 years ago#3888: add some deprecated modules in whatsnew.
Georg Brandl [Wed, 17 Sep 2008 08:45:54 +0000 (08:45 +0000)]
#3888: add some deprecated modules in whatsnew.

16 years agobe less wordy
Benjamin Peterson [Tue, 16 Sep 2008 21:20:28 +0000 (21:20 +0000)]
be less wordy

16 years agoFix typo.
Georg Brandl [Tue, 16 Sep 2008 10:17:45 +0000 (10:17 +0000)]
Fix typo.

16 years agoMerged revisions 66470 via svnmerge from
Benjamin Peterson [Mon, 15 Sep 2008 23:55:01 +0000 (23:55 +0000)]
Merged revisions 66470 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r66470 | benjamin.peterson | 2008-09-15 18:29:43 -0500 (Mon, 15 Sep 2008) | 1 line

  don't use os.linesep for newlines; it breaks tests on windows
........

16 years agoRewrite item a bit
Andrew M. Kuchling [Mon, 15 Sep 2008 13:08:32 +0000 (13:08 +0000)]
Rewrite item a bit

16 years agomention that object.__init__ no longer takes arbitrary args and kwargs
Benjamin Peterson [Mon, 15 Sep 2008 02:53:23 +0000 (02:53 +0000)]
mention that object.__init__ no longer takes arbitrary args and kwargs

16 years agoPick up a few more definitions from the glossary on the wiki.
Skip Montanaro [Mon, 15 Sep 2008 02:19:53 +0000 (02:19 +0000)]
Pick up a few more definitions from the glossary on the wiki.

16 years agoReview usage. Fix a mistake in the new-style class definition. Add a
Skip Montanaro [Mon, 15 Sep 2008 02:03:05 +0000 (02:03 +0000)]
Review usage.  Fix a mistake in the new-style class definition.  Add a
couple new definitions (CPython and virtual machine).

16 years agoFix grammar.
Martin v. Löwis [Mon, 15 Sep 2008 01:30:21 +0000 (01:30 +0000)]
Fix grammar.

16 years agoSet eol-style to native.
Martin v. Löwis [Sun, 14 Sep 2008 20:25:40 +0000 (20:25 +0000)]
Set eol-style to native.

16 years agoIssue #3617: Include a licensing statement regarding the Microsoft C runtime in the...
Martin v. Löwis [Sun, 14 Sep 2008 20:22:39 +0000 (20:22 +0000)]
Issue #3617: Include a licensing statement regarding the Microsoft C runtime in the Windows installer.

16 years agoclarify that radix for int is not 'guessed'
Benjamin Peterson [Sun, 14 Sep 2008 16:02:22 +0000 (16:02 +0000)]
clarify that radix for int is not 'guessed'

16 years agofix a name issue; note all doc files should be encoded in utf8
Benjamin Peterson [Sat, 13 Sep 2008 22:54:43 +0000 (22:54 +0000)]
fix a name issue; note all doc files should be encoded in utf8

16 years agoIssue #3850: Misc/find_recursionlimit.py was broken.
Antoine Pitrou [Sat, 13 Sep 2008 20:30:30 +0000 (20:30 +0000)]
Issue #3850: Misc/find_recursionlimit.py was broken.

Reviewed by A.M. Kuchling.

16 years agoMerged revisions 66191,66418,66438,66445 via svnmerge from
Benjamin Peterson [Sat, 13 Sep 2008 17:43:19 +0000 (17:43 +0000)]
Merged revisions 66191,66418,66438,66445 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r66191 | benjamin.peterson | 2008-09-03 17:00:52 -0500 (Wed, 03 Sep 2008) | 1 line

  update the Grammar file after recent syntax changes
........
  r66418 | benjamin.peterson | 2008-09-12 18:49:48 -0500 (Fri, 12 Sep 2008) | 1 line

  a trival fix to get a few more print corner cases #2899
........
  r66438 | benjamin.peterson | 2008-09-12 21:32:30 -0500 (Fri, 12 Sep 2008) | 5 lines

  add Jack Diederich's fixer for metaclass syntax #2366

  my contribution to this was adding a few tests and fixing a few bugs
  I also reviewed it (Jack is a committer)
........
  r66445 | benjamin.peterson | 2008-09-13 10:50:00 -0500 (Sat, 13 Sep 2008) | 1 line

  add a few more tests concerning int literals and weird spacing
........

16 years agoRemove things specific to the old Macintosh, and spell "Mac OS X" consistently.
Georg Brandl [Sat, 13 Sep 2008 17:41:16 +0000 (17:41 +0000)]
Remove things specific to the old Macintosh, and spell "Mac OS X" consistently.

16 years agoremove duplicate target
Benjamin Peterson [Sat, 13 Sep 2008 17:31:08 +0000 (17:31 +0000)]
remove duplicate target

16 years agoIncorporate some suggestions by Tait Stevens.
Georg Brandl [Sat, 13 Sep 2008 17:18:11 +0000 (17:18 +0000)]
Incorporate some suggestions by Tait Stevens.

16 years agoChange product code of Win64 installer to allow simultaneous installation on Win32...
Martin v. Löwis [Sat, 13 Sep 2008 08:36:22 +0000 (08:36 +0000)]
Change product code of Win64 installer to allow simultaneous installation on Win32 and Win64; also change product name to be able to distinguish the two in ARP.

16 years agoIssue #3833: Use a different upgrade code for Win64 installers.
Martin v. Löwis [Sat, 13 Sep 2008 08:11:57 +0000 (08:11 +0000)]
Issue #3833: Use a different upgrade code for Win64 installers.

16 years agoUse title case
Andrew M. Kuchling [Sat, 13 Sep 2008 02:14:15 +0000 (02:14 +0000)]
Use title case

16 years ago#3288: Document as_integer_ratio
Andrew M. Kuchling [Sat, 13 Sep 2008 02:11:51 +0000 (02:11 +0000)]
#3288: Document as_integer_ratio

16 years agoRemove extra 'the'; the following title includes it
Andrew M. Kuchling [Sat, 13 Sep 2008 02:09:15 +0000 (02:09 +0000)]
Remove extra 'the'; the following title includes it

16 years agoUse title case
Andrew M. Kuchling [Sat, 13 Sep 2008 02:08:30 +0000 (02:08 +0000)]
Use title case

16 years agoUpdate uses of string exceptions
Andrew M. Kuchling [Sat, 13 Sep 2008 01:57:25 +0000 (01:57 +0000)]
Update uses of string exceptions

16 years agoFix SyntaxError
Andrew M. Kuchling [Sat, 13 Sep 2008 01:56:56 +0000 (01:56 +0000)]
Fix SyntaxError

16 years agoSubclass exception
Andrew M. Kuchling [Sat, 13 Sep 2008 01:48:36 +0000 (01:48 +0000)]
Subclass exception

16 years agoRemove semicolon
Andrew M. Kuchling [Sat, 13 Sep 2008 01:47:02 +0000 (01:47 +0000)]
Remove semicolon

16 years ago#687648 from Robert Schuppenies: use classic division.
Andrew M. Kuchling [Sat, 13 Sep 2008 01:43:28 +0000 (01:43 +0000)]
#687648 from Robert Schuppenies: use classic division.

16 years ago#687648 from Robert Schuppenies: use classic division. From me: remove two stray...
Andrew M. Kuchling [Sat, 13 Sep 2008 01:42:55 +0000 (01:42 +0000)]
#687648 from Robert Schuppenies: use classic division.  From me: remove two stray semicolons

16 years ago#687648 from Robert Schuppenies: use classic division. From me: don't use string...
Andrew M. Kuchling [Sat, 13 Sep 2008 01:34:41 +0000 (01:34 +0000)]
#687648 from Robert Schuppenies: use classic division.  From me: don't use string exception; add __main__ section

16 years ago#687648 from Robert Schuppenies: use classic division. From me: don't use string...
Andrew M. Kuchling [Sat, 13 Sep 2008 01:27:33 +0000 (01:27 +0000)]
#687648 from Robert Schuppenies: use classic division.  From me: don't use string exception; flush stdout after printing

16 years ago#687648 from Robert Schuppenies: use classic division. (RM Barry gave permission...
Andrew M. Kuchling [Sat, 13 Sep 2008 01:22:08 +0000 (01:22 +0000)]
#687648 from Robert Schuppenies: use classic division.  (RM Barry gave permission to update the demos.)

16 years agopost release updates
Barry Warsaw [Sat, 13 Sep 2008 01:12:18 +0000 (01:12 +0000)]
post release updates

16 years agoTagging 2.6rc1
Barry Warsaw [Sat, 13 Sep 2008 00:03:14 +0000 (00:03 +0000)]
Tagging 2.6rc1

16 years agoFix the release level v2.6rc1
Barry Warsaw [Fri, 12 Sep 2008 23:35:48 +0000 (23:35 +0000)]
Fix the release level

16 years agoBumping to 2.6rc1
Barry Warsaw [Fri, 12 Sep 2008 23:25:57 +0000 (23:25 +0000)]
Bumping to 2.6rc1

16 years agoIssue #3846: Release GIL during calls to sqlite3_prepare. This improves concurrent...
Gerhard Häring [Fri, 12 Sep 2008 22:33:22 +0000 (22:33 +0000)]
Issue #3846: Release GIL during calls to sqlite3_prepare. This improves concurrent access to the same database file from multiple threads/processes.

16 years agoFixes issue #3103. In the sqlite3 module, made one more function static. All renaming...
Gerhard Häring [Fri, 12 Sep 2008 18:58:57 +0000 (18:58 +0000)]
Fixes issue #3103. In the sqlite3 module, made one more function static. All renaming public symbos now have the pysqlite prefix to avoid name clashes. This at least once created problems where the same symbol name appeared somewhere in Apache and the sqlite3 module was used from mod_python.

16 years agosqlite3 module: Mark iterdump() method as "Non-standard" like all the other methods...
Gerhard Häring [Fri, 12 Sep 2008 13:54:06 +0000 (13:54 +0000)]
sqlite3 module: Mark iterdump() method as "Non-standard" like all the other methods not found in DB-API.

16 years agofix typo
Benjamin Peterson [Thu, 11 Sep 2008 22:04:02 +0000 (22:04 +0000)]
fix typo

16 years ago#3640: Correct a crash in cPickle on 64bit platforms, in the case of deeply nested...
Amaury Forgeot d'Arc [Thu, 11 Sep 2008 20:56:13 +0000 (20:56 +0000)]
#3640: Correct a crash in cPickle on 64bit platforms, in the case of deeply nested lists or dicts.

Reviewed by Martin von Loewis.

16 years agoIssue #3781: Final cleanup of warnings.catch_warnings and its usage in the test suite...
Nick Coghlan [Thu, 11 Sep 2008 12:11:06 +0000 (12:11 +0000)]
Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)

16 years agoIssue #3642: Suppress warning in obmalloc when size_t is
Martin v. Löwis [Thu, 11 Sep 2008 06:53:30 +0000 (06:53 +0000)]
Issue #3642: Suppress warning in obmalloc when size_t is
larger than uint. Reverts r65975. Reviewed by Brett Cannon.

16 years agoupdate asdl_c.py from r66377
Benjamin Peterson [Wed, 10 Sep 2008 22:28:00 +0000 (22:28 +0000)]
update asdl_c.py from r66377

16 years ago#3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for
Amaury Forgeot d'Arc [Wed, 10 Sep 2008 22:04:45 +0000 (22:04 +0000)]
#3743: PY_FORMAT_SIZE_T is designed for the OS "printf" functions, not for
PyString_FromFormat which has an independent implementation, and uses "%zd".

This makes a difference on win64, where printf needs "%Id" to display
64bit values. For example, queue.__repr__ was incorrect.

Reviewed by Martin von Loewis.

16 years agoRead unidata_version from unicodedata module.
Martin v. Löwis [Wed, 10 Sep 2008 19:16:35 +0000 (19:16 +0000)]
Read unidata_version from unicodedata module.
Delete old NormalizationTest.txt if it doesn't match
unidata_version.

16 years agoUpdate to test Unicode 5.1.
Martin v. Löwis [Wed, 10 Sep 2008 18:43:49 +0000 (18:43 +0000)]
Update to test Unicode 5.1.

16 years ago- Issue #3629: Fix sre "bytecode" validator for an end case.
Guido van Rossum [Wed, 10 Sep 2008 14:27:00 +0000 (14:27 +0000)]
- Issue #3629: Fix sre "bytecode" validator for an end case.
  Reviewed by Amaury.

16 years agoIssue #3811: The Unicode database was updated to 5.1.
Martin v. Löwis [Wed, 10 Sep 2008 13:38:12 +0000 (13:38 +0000)]
Issue #3811: The Unicode database was updated to 5.1.
Reviewed by Fredrik Lundh and Marc-Andre Lemburg.

16 years agouse the latest pygments version
Benjamin Peterson [Tue, 9 Sep 2008 23:16:48 +0000 (23:16 +0000)]
use the latest pygments version

16 years agoFix #3634 invalid return value from _weakref.ref(Exception).__init__
Benjamin Peterson [Tue, 9 Sep 2008 20:55:01 +0000 (20:55 +0000)]
Fix #3634 invalid return value from _weakref.ref(Exception).__init__

Reviewers: Amaury, Antoine, Benjamin