]> granicus.if.org Git - python/log
python
14 years agoMake the example a little more interesting and useful.
Raymond Hettinger [Tue, 7 Dec 2010 09:44:21 +0000 (09:44 +0000)]
Make the example a little more interesting and useful.

14 years agoClean-ups and examples.
Raymond Hettinger [Tue, 7 Dec 2010 09:37:11 +0000 (09:37 +0000)]
Clean-ups and examples.

14 years agoSpelling.
Raymond Hettinger [Tue, 7 Dec 2010 09:24:30 +0000 (09:24 +0000)]
Spelling.

14 years agoMore cleanups and examples.
Raymond Hettinger [Tue, 7 Dec 2010 08:52:41 +0000 (08:52 +0000)]
More cleanups and examples.

14 years agoAdd example for the entry for argparse
Raymond Hettinger [Tue, 7 Dec 2010 06:45:30 +0000 (06:45 +0000)]
Add example for the entry for argparse

14 years agouse the more direct API
Benjamin Peterson [Tue, 7 Dec 2010 04:04:02 +0000 (04:04 +0000)]
use the more direct API

14 years agoadd news note
Benjamin Peterson [Tue, 7 Dec 2010 03:47:37 +0000 (03:47 +0000)]
add news note

14 years agoreturn views from dict proxy items/values/keys #10630
Benjamin Peterson [Tue, 7 Dec 2010 03:46:27 +0000 (03:46 +0000)]
return views from dict proxy items/values/keys #10630

14 years agoAdd entry for new pdb features
Raymond Hettinger [Tue, 7 Dec 2010 02:04:56 +0000 (02:04 +0000)]
Add entry for new pdb features

14 years agoAdd entry for the new sysconfig module.
Raymond Hettinger [Tue, 7 Dec 2010 01:47:52 +0000 (01:47 +0000)]
Add entry for the new sysconfig module.

14 years agoFix typo
David Malcolm [Tue, 7 Dec 2010 00:32:04 +0000 (00:32 +0000)]
Fix typo

14 years agoNote improvements to the docs.
Raymond Hettinger [Mon, 6 Dec 2010 23:31:36 +0000 (23:31 +0000)]
Note improvements to the docs.

14 years agoDon't use deprecated aliases.
Georg Brandl [Mon, 6 Dec 2010 22:25:25 +0000 (22:25 +0000)]
Don't use deprecated aliases.

14 years agoRemove visible XXX comments.
Georg Brandl [Mon, 6 Dec 2010 22:02:48 +0000 (22:02 +0000)]
Remove visible XXX comments.

14 years agoTypo fixups.
Raymond Hettinger [Mon, 6 Dec 2010 04:31:40 +0000 (04:31 +0000)]
Typo fixups.

14 years agoAutomate build for python3.dll.
Martin v. Löwis [Sun, 5 Dec 2010 23:07:58 +0000 (23:07 +0000)]
Automate build for python3.dll.
Package missing files.

14 years agoRetagging 3.2b1.
Georg Brandl [Sun, 5 Dec 2010 11:45:06 +0000 (11:45 +0000)]
Retagging 3.2b1.

14 years agoFix title. v3.2b1
Georg Brandl [Sun, 5 Dec 2010 11:42:38 +0000 (11:42 +0000)]
Fix title.

14 years agoRemove tag.
Georg Brandl [Sun, 5 Dec 2010 11:41:32 +0000 (11:41 +0000)]
Remove tag.

14 years agoTake PyUnicode_TransformDecimalToASCII out of the limited API.
Georg Brandl [Sun, 5 Dec 2010 11:40:48 +0000 (11:40 +0000)]
Take PyUnicode_TransformDecimalToASCII out of the limited API.

14 years agoTagging 3.2b1.
Georg Brandl [Sun, 5 Dec 2010 09:24:00 +0000 (09:24 +0000)]
Tagging 3.2b1.

14 years agoNits and todos
Raymond Hettinger [Sun, 5 Dec 2010 08:35:21 +0000 (08:35 +0000)]
Nits and todos

14 years agoApply rest of #10628, and add a few todo comments.
Georg Brandl [Sun, 5 Dec 2010 07:59:29 +0000 (07:59 +0000)]
Apply rest of #10628, and add a few todo comments.

14 years agoTemporarily disable newly failing test for the release.
Georg Brandl [Sun, 5 Dec 2010 07:51:39 +0000 (07:51 +0000)]
Temporarily disable newly failing test for the release.

14 years agoMore fine-grained monitoring of alterations to logging state
Nick Coghlan [Sun, 5 Dec 2010 07:17:25 +0000 (07:17 +0000)]
More fine-grained monitoring of alterations to logging state

14 years agoSpelling
Raymond Hettinger [Sun, 5 Dec 2010 07:06:47 +0000 (07:06 +0000)]
Spelling

14 years agoUpdate the unittest section.
Raymond Hettinger [Sun, 5 Dec 2010 07:02:45 +0000 (07:02 +0000)]
Update the unittest section.

14 years agoIssue 10626 investigation: regrtest now checks for alterations to the logging state...
Nick Coghlan [Sun, 5 Dec 2010 06:45:03 +0000 (06:45 +0000)]
Issue 10626 investigation: regrtest now checks for alterations to the logging state in the current process (and yes, test_pydoc alters it)

14 years agoNew string format character.
Raymond Hettinger [Sun, 5 Dec 2010 06:35:16 +0000 (06:35 +0000)]
New string format character.

14 years agoOptimization notes.
Raymond Hettinger [Sun, 5 Dec 2010 05:39:54 +0000 (05:39 +0000)]
Optimization notes.

14 years agoShould use posix_error here.
Hirokazu Yamamoto [Sun, 5 Dec 2010 04:16:47 +0000 (04:16 +0000)]
Should use posix_error here.

14 years agoDescribe the transform/untranform methods
Raymond Hettinger [Sun, 5 Dec 2010 04:04:21 +0000 (04:04 +0000)]
Describe the transform/untranform methods

14 years agoNote the updates to range objects.
Raymond Hettinger [Sun, 5 Dec 2010 02:56:21 +0000 (02:56 +0000)]
Note the updates to range objects.

14 years agoSorry, I had introduced tab in source code.
Hirokazu Yamamoto [Sun, 5 Dec 2010 02:48:08 +0000 (02:48 +0000)]
Sorry, I had introduced tab in source code.

14 years agoAvoid possible zombi process.
Hirokazu Yamamoto [Sun, 5 Dec 2010 02:41:46 +0000 (02:41 +0000)]
Avoid possible zombi process.

14 years agoNow can reproduce the error on AMD64 Windows Server 2008
Hirokazu Yamamoto [Sun, 5 Dec 2010 02:04:16 +0000 (02:04 +0000)]
Now can reproduce the error on AMD64 Windows Server 2008
even where os.symlink is not supported.

14 years agoOptimization of Timsort.
Raymond Hettinger [Sun, 5 Dec 2010 01:01:52 +0000 (01:01 +0000)]
Optimization of Timsort.

14 years agoStart the argparse entry.
Raymond Hettinger [Sun, 5 Dec 2010 00:39:18 +0000 (00:39 +0000)]
Start the argparse entry.

14 years agoMention itertools.accumulate().
Raymond Hettinger [Sat, 4 Dec 2010 23:42:12 +0000 (23:42 +0000)]
Mention itertools.accumulate().

14 years agoFill-in stub for concurrent.futures
Raymond Hettinger [Sat, 4 Dec 2010 22:56:25 +0000 (22:56 +0000)]
Fill-in stub for concurrent.futures

14 years agoDoc nit.
Raymond Hettinger [Sat, 4 Dec 2010 20:51:36 +0000 (20:51 +0000)]
Doc nit.

14 years agoBump to 3.2b1.
Georg Brandl [Sat, 4 Dec 2010 19:09:24 +0000 (19:09 +0000)]
Bump to 3.2b1.

14 years agoFix markup errors.
Georg Brandl [Sat, 4 Dec 2010 19:06:18 +0000 (19:06 +0000)]
Fix markup errors.

14 years agoUpdate suspicious exceptions.
Georg Brandl [Sat, 4 Dec 2010 19:06:14 +0000 (19:06 +0000)]
Update suspicious exceptions.

14 years agoUpdate pydoc topics.
Georg Brandl [Sat, 4 Dec 2010 19:01:29 +0000 (19:01 +0000)]
Update pydoc topics.

14 years agoSilence compile error
Antoine Pitrou [Sat, 4 Dec 2010 18:36:03 +0000 (18:36 +0000)]
Silence compile error

14 years agoclarify the docs and new warning message.
Gregory P. Smith [Sat, 4 Dec 2010 18:11:44 +0000 (18:11 +0000)]
clarify the docs and new warning message.

14 years agoconfigparser: mapping protocol access get() handles configparser-specific arguments...
Łukasz Langa [Sat, 4 Dec 2010 17:48:18 +0000 (17:48 +0000)]
configparser: mapping protocol access get() handles configparser-specific arguments as well

14 years agoUse proper plural forms in argparse (#4391)
Éric Araujo [Sat, 4 Dec 2010 17:31:49 +0000 (17:31 +0000)]
Use proper plural forms in argparse (#4391)

14 years agoIssue #10601: sys.displayhook uses 'backslashreplace' error handler on
Victor Stinner [Sat, 4 Dec 2010 17:24:33 +0000 (17:24 +0000)]
Issue #10601: sys.displayhook uses 'backslashreplace' error handler on
UnicodeEncodeError.

14 years agoMore issue #10624: Add requires_IEEE_754 to __all__.
Eric Smith [Sat, 4 Dec 2010 17:12:41 +0000 (17:12 +0000)]
More issue #10624: Add requires_IEEE_754 to __all__.

14 years agoFix test suite to not activate new sigint behavior in pdb.
Georg Brandl [Sat, 4 Dec 2010 17:11:36 +0000 (17:11 +0000)]
Fix test suite to not activate new sigint behavior in pdb.

14 years agoFix typo.
Georg Brandl [Sat, 4 Dec 2010 17:09:30 +0000 (17:09 +0000)]
Fix typo.

14 years agoFix accidental checkin.
Georg Brandl [Sat, 4 Dec 2010 16:22:44 +0000 (16:22 +0000)]
Fix accidental checkin.

14 years agoAdd display/undisplay pdb commands.
Georg Brandl [Sat, 4 Dec 2010 16:21:42 +0000 (16:21 +0000)]
Add display/undisplay pdb commands.

14 years ago#7245: Add a SIGINT handler on continue in pdb that allows to break a program again...
Georg Brandl [Sat, 4 Dec 2010 16:00:47 +0000 (16:00 +0000)]
#7245: Add a SIGINT handler on continue in pdb that allows to break a program again by pressing Ctrl-C.

14 years agoIssue 10625: Add tests for negative zeros in complex str and repr.
Eric Smith [Sat, 4 Dec 2010 15:26:13 +0000 (15:26 +0000)]
Issue 10625: Add tests for negative zeros in complex str and repr.

14 years agoIssue #10624: Use support.requires_IEEE_754 in all appropriate tests.
Eric Smith [Sat, 4 Dec 2010 15:17:38 +0000 (15:17 +0000)]
Issue #10624: Use support.requires_IEEE_754 in all appropriate tests.

14 years agoFix PEP number.
Martin v. Löwis [Sat, 4 Dec 2010 13:49:32 +0000 (13:49 +0000)]
Fix PEP number.

14 years agosupport for checking test coverage added.
Łukasz Langa [Sat, 4 Dec 2010 13:48:13 +0000 (13:48 +0000)]
support for checking test coverage added.
70% coverage at the moment (not tragic but needs work).

14 years agoIssue #10624: Move requires_IEEE_754 into test.support. I'll fix up other uses of...
Eric Smith [Sat, 4 Dec 2010 13:32:18 +0000 (13:32 +0000)]
Issue #10624: Move requires_IEEE_754 into test.support. I'll fix up other uses of it shortly.

14 years agoRemoved static function complex_format, moved it into complex_repr. Modified tests...
Eric Smith [Sat, 4 Dec 2010 13:27:34 +0000 (13:27 +0000)]
Removed static function complex_format, moved it into complex_repr. Modified tests to check both str and repr, which are the same for complex.

14 years agoUse copysign to produce appropriately signed zeros instead of trying to worm around...
Mark Dickinson [Sat, 4 Dec 2010 13:14:29 +0000 (13:14 +0000)]
Use copysign to produce appropriately signed zeros instead of trying to worm around possible compiler optimizations.

14 years agoconfigparser: fixed inconsistency where in SafeConfigParser option values
Łukasz Langa [Sat, 4 Dec 2010 12:46:01 +0000 (12:46 +0000)]
configparser: fixed inconsistency where in SafeConfigParser option values
 were ensured to be strings but section names and option keys were not.
 Behaviour unchanged for RawConfigParser and ConfigParser.

14 years agoIssue #10596: Fix float.__mod__ to have the same behaviour as
Mark Dickinson [Sat, 4 Dec 2010 12:25:30 +0000 (12:25 +0000)]
Issue #10596: Fix float.__mod__ to have the same behaviour as
float.__divmod__ with respect to signed zeros.

14 years agoI hope this will fix Win2008(x64) buildbot error.
Hirokazu Yamamoto [Sat, 4 Dec 2010 12:20:57 +0000 (12:20 +0000)]
I hope this will fix Win2008(x64) buildbot error.

14 years agoExpose CompileString, not CompileStringFlags under the
Martin v. Löwis [Sat, 4 Dec 2010 12:00:49 +0000 (12:00 +0000)]
Expose CompileString, not CompileStringFlags under the
limited API.

14 years agoRemove some unecessary '#ifdef Py_NAN's from floatobject.c
Mark Dickinson [Sat, 4 Dec 2010 11:52:58 +0000 (11:52 +0000)]
Remove some unecessary '#ifdef Py_NAN's from floatobject.c

14 years agoconfigparser: minute refactoring of RawConfigParser.items()
Łukasz Langa [Sat, 4 Dec 2010 11:48:11 +0000 (11:48 +0000)]
configparser: minute refactoring of RawConfigParser.items()

14 years agoissue10622: fix superflous scrollbar on the right side of <pre> boxes in the
Gregory P. Smith [Sat, 4 Dec 2010 11:36:58 +0000 (11:36 +0000)]
issue10622: fix superflous scrollbar on the right side of <pre> boxes in the
generated html docs.  visible in chrome, possibly other webkit browsers.

14 years agoissue6559: Adds a pass_fds parameter to subprocess.Popen that allows the caller
Gregory P. Smith [Sat, 4 Dec 2010 11:22:11 +0000 (11:22 +0000)]
issue6559: Adds a pass_fds parameter to subprocess.Popen that allows the caller
to list exactly which file descriptors should be kept open.

14 years agoAdd the "interact" pdb command from pdb++.
Georg Brandl [Sat, 4 Dec 2010 11:20:26 +0000 (11:20 +0000)]
Add the "interact" pdb command from pdb++.

14 years ago#7905: Actually respect the keyencoding parameter to shelve.Shelf.
Georg Brandl [Sat, 4 Dec 2010 11:12:43 +0000 (11:12 +0000)]
#7905: Actually respect the keyencoding parameter to shelve.Shelf.

14 years agoFix indentation in Objects/longobject.c
Mark Dickinson [Sat, 4 Dec 2010 11:06:25 +0000 (11:06 +0000)]
Fix indentation in Objects/longobject.c

14 years ago#1569291: speed up array.repeat() by making only O(log n) memcpy() calls; the code...
Georg Brandl [Sat, 4 Dec 2010 11:02:04 +0000 (11:02 +0000)]
#1569291: speed up array.repeat() by making only O(log n) memcpy() calls; the code follows unicode_repeat.

14 years ago#1772833: add -q command line option.
Georg Brandl [Sat, 4 Dec 2010 10:47:18 +0000 (10:47 +0000)]
#1772833: add -q command line option.

14 years ago#1513299: cleanup some map() uses where a comprehension works better.
Georg Brandl [Sat, 4 Dec 2010 10:39:14 +0000 (10:39 +0000)]
#1513299: cleanup some map() uses where a comprehension works better.

14 years agoAdd an "optimize" parameter to compile() to control the optimization level, and provi...
Georg Brandl [Sat, 4 Dec 2010 10:26:46 +0000 (10:26 +0000)]
Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile.

14 years agoFixed several corner case issues on os.stat/os.lstat related to reparse
Hirokazu Yamamoto [Sat, 4 Dec 2010 10:16:05 +0000 (10:16 +0000)]
Fixed several corner case issues on os.stat/os.lstat related to reparse
points. (Windows)

- Set S_IEXEC via final path name not link name.
- Set S_IFLNK also via FindFirstFile (when CreateFile fails)

14 years agorefactor the warning test.
Gregory P. Smith [Sat, 4 Dec 2010 09:59:52 +0000 (09:59 +0000)]
refactor the warning test.

14 years agoAdd the NEWS entry for issue7904
Senthil Kumaran [Sat, 4 Dec 2010 09:44:30 +0000 (09:44 +0000)]
Add the NEWS entry for issue7904

14 years ago#6045: provide at least get() and setdefault() for all dbm modules.
Georg Brandl [Sat, 4 Dec 2010 09:14:36 +0000 (09:14 +0000)]
#6045: provide at least get() and setdefault() for all dbm modules.

14 years agoRegenerate.
Martin v. Löwis [Sat, 4 Dec 2010 09:12:14 +0000 (09:12 +0000)]
Regenerate.

14 years agoAdd Revision keyword.
Martin v. Löwis [Sat, 4 Dec 2010 09:11:41 +0000 (09:11 +0000)]
Add Revision keyword.

14 years agoissue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument is
Gregory P. Smith [Sat, 4 Dec 2010 09:10:44 +0000 (09:10 +0000)]
issue7213 + issue2320: Cause a DeprecationWarning if the close_fds argument is
not passed to subprocess.Popen as the default value will be changing in a
future Python to the safer and more often desired value of True.

DeprecationWarnings that show up in a lot of existing code are controversial
and have caused pain in the past.  I'd like to leave this on for 3.2 beta1 and
see how things go.  We can remove the warning if it is deemed too noisy during
any betas.  (case study: the md5 and sha module DeprecationWarnings are loathed
around the world as those modules were never going to be removed in 2.x and
2to3 has a fixer for code that uses them)

14 years agoMake script 2-vs-3-agnostic.
Martin v. Löwis [Sat, 4 Dec 2010 09:08:10 +0000 (09:08 +0000)]
Make script 2-vs-3-agnostic.

14 years agoFix typo.
Georg Brandl [Sat, 4 Dec 2010 09:04:04 +0000 (09:04 +0000)]
Fix typo.

14 years agoIssue #10557: Fixed error messages from float() and other numeric
Alexander Belopolsky [Sat, 4 Dec 2010 03:38:46 +0000 (03:38 +0000)]
Issue #10557: Fixed error messages from float() and other numeric
types.  Added a new API function, PyUnicode_TransformDecimalToASCII(),
which transforms non-ASCII decimal digits in a Unicode string to their
ASCII equivalents.

14 years agoCorrect comment in unittest test
Michael Foord [Sat, 4 Dec 2010 01:43:59 +0000 (01:43 +0000)]
Correct comment in unittest test

14 years agoIssue 10620: Specifying test modules by path instead of module name to 'python -m...
Michael Foord [Sat, 4 Dec 2010 01:11:21 +0000 (01:11 +0000)]
Issue 10620: Specifying test modules by path instead of module name to 'python -m unittest'

14 years agoMerged revisions 85551,86156-86157,86464 via svnmerge from
Martin v. Löwis [Fri, 3 Dec 2010 23:11:07 +0000 (23:11 +0000)]
Merged revisions 85551,86156-86157,86464 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r85551 | benjamin.peterson | 2010-10-15 23:57:29 +0200 (Fr, 15 Okt 2010) | 1 line

  escape() is now in the html module
........
  r86156 | georg.brandl | 2010-11-04 09:34:57 +0100 (Do, 04 Nov 2010) | 1 line

  Consistency fixes in option parser help texts.
........
  r86157 | georg.brandl | 2010-11-04 09:35:30 +0100 (Do, 04 Nov 2010) | 1 line

  #10286: fix urllib class names.
........
  r86464 | benjamin.peterson | 2010-11-14 16:28:52 +0100 (So, 14 Nov 2010) | 1 line

  match only .py files #10416
........

14 years agoIssue #10534: add NEWS entry for r86983 and r87000.
Terry Reedy [Fri, 3 Dec 2010 22:50:06 +0000 (22:50 +0000)]
Issue #10534: add NEWS entry for r86983 and  r87000.

14 years agoIssue 10534 deprecate isbjunk and isbpopular methods.
Terry Reedy [Fri, 3 Dec 2010 22:29:40 +0000 (22:29 +0000)]
Issue 10534 deprecate isbjunk and isbpopular methods.
Will add gone in 3.3 test later.

14 years ago%s -> %r correction after review by Éric Araujo
Łukasz Langa [Fri, 3 Dec 2010 22:15:19 +0000 (22:15 +0000)]
%s -> %r correction after review by Éric Araujo

14 years agoMerge branches/pep-0384.
Martin v. Löwis [Fri, 3 Dec 2010 20:14:31 +0000 (20:14 +0000)]
Merge branches/pep-0384.

14 years agoIssue #10272: The ssl module now raises socket.timeout instead of a generic
Antoine Pitrou [Fri, 3 Dec 2010 19:59:41 +0000 (19:59 +0000)]
Issue #10272: The ssl module now raises socket.timeout instead of a generic
SSLError on socket timeouts.

14 years agoFix indentation.
Georg Brandl [Fri, 3 Dec 2010 19:56:42 +0000 (19:56 +0000)]
Fix indentation.

14 years agoAllow translators to reorder placeholders in localizable messages from
Éric Araujo [Fri, 3 Dec 2010 19:41:00 +0000 (19:41 +0000)]
Allow translators to reorder placeholders in localizable messages from
argparse (#10528).

There is no unit test; I checked with xgettext that no more warnings
were emitted.  Steven approved the change.

14 years agoFix so that test.test_unittest can be executed by unittest and not just regrtest
Michael Foord [Fri, 3 Dec 2010 19:20:44 +0000 (19:20 +0000)]
Fix so that test.test_unittest can be executed by unittest and not just regrtest

14 years agoFix incorrect use of gettext in argparse (#10497).
Éric Araujo [Fri, 3 Dec 2010 19:19:17 +0000 (19:19 +0000)]
Fix incorrect use of gettext in argparse (#10497).

Steven, the maintainer of argparse, agreed to have this committed
without tests for now, since the fix is obvious.  See the bug log.