]> granicus.if.org Git - python/log
python
14 years agoIssue #6697: Fixed instances of _PyUnicode_AsString() result not checked for NULL
Alexander Belopolsky [Wed, 8 Dec 2010 23:31:48 +0000 (23:31 +0000)]
Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for NULL

14 years agoHave script_helper._assert_python strip refcount strings from stderr.
R. David Murray [Wed, 8 Dec 2010 22:53:00 +0000 (22:53 +0000)]
Have script_helper._assert_python strip refcount strings from stderr.

This makes the output of the function and those that depend on it
independent of whether or not they are being run under a debug
build.

14 years agoIssue #10546: UTF-16-LE and UTF-16-BE *do* support non-BMP characters
Victor Stinner [Wed, 8 Dec 2010 22:25:45 +0000 (22:25 +0000)]
Issue #10546: UTF-16-LE and UTF-16-BE *do* support non-BMP characters

Fix the doc and add tests.

14 years agoEdited the Unicode 6.0.0 entry to add unicode.org links and trim the summary.
Alexander Belopolsky [Wed, 8 Dec 2010 21:38:46 +0000 (21:38 +0000)]
Edited the Unicode 6.0.0 entry to add unicode.org links and trim the summary.

14 years agoAdded a datetime new features entry
Alexander Belopolsky [Wed, 8 Dec 2010 21:21:56 +0000 (21:21 +0000)]
Added a datetime new features entry

14 years agoMention NASM which is needed to build openssl-1.0.0a original source.
Hirokazu Yamamoto [Wed, 8 Dec 2010 14:47:07 +0000 (14:47 +0000)]
Mention NASM which is needed to build openssl-1.0.0a original source.
(PC/VC6/readme.txt)

14 years agoEntry for inspect.getattr_static().
Raymond Hettinger [Wed, 8 Dec 2010 11:33:19 +0000 (11:33 +0000)]
Entry for inspect.getattr_static().

14 years agoExample of argparge with subparsers.
Raymond Hettinger [Wed, 8 Dec 2010 11:19:45 +0000 (11:19 +0000)]
Example of argparge with subparsers.

14 years agorange() example
Raymond Hettinger [Wed, 8 Dec 2010 10:18:21 +0000 (10:18 +0000)]
range() example

14 years agoFix Issue8194 - Fix incompatible API change in the parse_respones for xmlrpclib.
Senthil Kumaran [Wed, 8 Dec 2010 08:04:49 +0000 (08:04 +0000)]
Fix Issue8194  - Fix incompatible API change in the parse_respones for xmlrpclib.

14 years agoNits.
Raymond Hettinger [Wed, 8 Dec 2010 06:50:02 +0000 (06:50 +0000)]
Nits.

14 years agoClean-ups.
Raymond Hettinger [Wed, 8 Dec 2010 06:48:33 +0000 (06:48 +0000)]
Clean-ups.

14 years agoAdd example for concurrent.futures.
Raymond Hettinger [Wed, 8 Dec 2010 06:42:41 +0000 (06:42 +0000)]
Add example for concurrent.futures.

14 years agoUpdate whatsnew. Salt the random number seed.
Raymond Hettinger [Wed, 8 Dec 2010 01:13:53 +0000 (01:13 +0000)]
Update whatsnew.  Salt the random number seed.

14 years agoFix for issue #10107: Without this patch IDLE on OSX doesn't warn about unsaved files...
Ronald Oussoren [Tue, 7 Dec 2010 15:28:10 +0000 (15:28 +0000)]
Fix for issue #10107: Without this patch IDLE on OSX doesn't warn about unsaved files when quitting.

14 years agoTwo small changes to adjust framework builds to the new stable ABI
Ronald Oussoren [Tue, 7 Dec 2010 14:41:05 +0000 (14:41 +0000)]
Two small changes to adjust framework builds to the new stable ABI

Both the Makefile and the script that is used on OSX to create the binary
installer refer to the directory containing the Makefile using the name
'config'. This name was changed with the new ABI (with default build flags
it is now named config-3.2m).  This patch ensures that both files use the
correct name.

The build-installer.py script contains one other change: it now tests for the
Tcl/Tk framework version by looking at the 'Current' symlink in the framework
instead of runnning a script. This makes it possible to verify the version
that is in the SDK that's used during the build instead of the version that
is installed on the system.

14 years agoIssue #10637: Called CloseHandle twice in os.stat/os.lstat (Windows)
Hirokazu Yamamoto [Tue, 7 Dec 2010 10:24:37 +0000 (10:24 +0000)]
Issue #10637: Called CloseHandle twice in os.stat/os.lstat (Windows)

14 years agoMartin's name with Unicode.
Raymond Hettinger [Tue, 7 Dec 2010 09:55:02 +0000 (09:55 +0000)]
Martin's name with Unicode.

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.