]> granicus.if.org Git - python/log
python
16 years agoAutomatic conversion of floats to integers for struct.pack integer codes
Mark Dickinson [Sun, 19 Apr 2009 17:10:47 +0000 (17:10 +0000)]
Automatic conversion of floats to integers for struct.pack integer codes
is deprecated.  Use an explicit int() instead.

16 years agoFix for issue5657.
Ronald Oussoren [Sun, 19 Apr 2009 10:38:20 +0000 (10:38 +0000)]
Fix for issue5657.

16 years agofix typo
Benjamin Peterson [Sun, 19 Apr 2009 03:02:54 +0000 (03:02 +0000)]
fix typo

16 years agomake errors consistent
Benjamin Peterson [Sun, 19 Apr 2009 02:40:43 +0000 (02:40 +0000)]
make errors consistent

16 years agoinitialize weakref some weakref types
Benjamin Peterson [Sun, 19 Apr 2009 02:32:42 +0000 (02:32 +0000)]
initialize weakref some weakref types

16 years agomany more types to initialize (I had to expose some of them)
Benjamin Peterson [Sat, 18 Apr 2009 22:15:26 +0000 (22:15 +0000)]
many more types to initialize (I had to expose some of them)

16 years agomove test to a more appropiate one
Benjamin Peterson [Sat, 18 Apr 2009 21:03:10 +0000 (21:03 +0000)]
move test to a more appropiate one

16 years agoinitalize -> initialize
Benjamin Peterson [Sat, 18 Apr 2009 20:25:25 +0000 (20:25 +0000)]
initalize -> initialize

16 years agotry to initalize all builtin types with PyType_Ready to avoid problems like #5787
Benjamin Peterson [Sat, 18 Apr 2009 20:12:47 +0000 (20:12 +0000)]
try to initalize all builtin types with PyType_Ready to avoid problems like #5787

16 years agofix a few nits in unittest.py #5771
Benjamin Peterson [Sat, 18 Apr 2009 19:26:19 +0000 (19:26 +0000)]
fix a few nits in unittest.py #5771

16 years agorename internal bytes_ functions to bytearray
Benjamin Peterson [Sat, 18 Apr 2009 15:31:34 +0000 (15:31 +0000)]
rename internal bytes_ functions to bytearray

16 years agoIssue #1869: Fix a couple of minor round() issues.
Mark Dickinson [Sat, 18 Apr 2009 14:59:42 +0000 (14:59 +0000)]
Issue #1869: Fix a couple of minor round() issues.

16 years agoBackport r71704 (add configure check for C99 round function) to trunk.
Mark Dickinson [Sat, 18 Apr 2009 14:41:37 +0000 (14:41 +0000)]
Backport r71704 (add configure check for C99 round function) to trunk.

16 years agocopysign shouldn't be declared as static in pymath.c
Mark Dickinson [Sat, 18 Apr 2009 14:13:43 +0000 (14:13 +0000)]
copysign shouldn't be declared as static in pymath.c

16 years ago"not subscriptable" should be a bit more understandable than "unsubscriptable".
Georg Brandl [Sat, 18 Apr 2009 08:26:21 +0000 (08:26 +0000)]
"not subscriptable" should be a bit more understandable than "unsubscriptable".

16 years agoDistutilsSetupError was not raised when one single warning occured
Tarek Ziadé [Fri, 17 Apr 2009 14:29:56 +0000 (14:29 +0000)]
DistutilsSetupError was not raised when one single warning occured

16 years agoIssue #5768: Change to Unicode output logic and test case for same.
Vinay Sajip [Thu, 16 Apr 2009 19:15:49 +0000 (19:15 +0000)]
Issue #5768: Change to Unicode output logic and test case for same.

16 years agoIssue #5768: Change to Unicode output logic and test case for same.
Vinay Sajip [Thu, 16 Apr 2009 19:07:37 +0000 (19:07 +0000)]
Issue #5768: Change to Unicode output logic and test case for same.

16 years agoClarify the behavior of any() and all() with an empty iterable.
Raymond Hettinger [Thu, 16 Apr 2009 18:16:10 +0000 (18:16 +0000)]
Clarify the behavior of any() and all() with an empty iterable.

16 years agoLess red ink (warning->note) and add link to def of side-by-side assembly.
R. David Murray [Thu, 16 Apr 2009 18:12:53 +0000 (18:12 +0000)]
Less red ink (warning->note) and add link to def of side-by-side assembly.

16 years agoRemove duplicated function declaration.
Thomas Heller [Thu, 16 Apr 2009 06:42:02 +0000 (06:42 +0000)]
Remove duplicated function declaration.
Make _pagesize static.

16 years agoRemove unneeded code.
Thomas Heller [Thu, 16 Apr 2009 06:26:33 +0000 (06:26 +0000)]
Remove unneeded code.

16 years agoFix for issue3440: add warning to subprocess discussion of
R. David Murray [Wed, 15 Apr 2009 22:33:07 +0000 (22:33 +0000)]
Fix for issue3440: add warning to subprocess discussion of
env parameter that on Windows SystemRoot is required in order
to run side-by-side assemblies.

16 years agocall __float__ on str subclasses #5759
Benjamin Peterson [Wed, 15 Apr 2009 21:26:36 +0000 (21:26 +0000)]
call __float__ on str subclasses #5759

tests by R. David Murray

16 years agotupel -> tuple
Benjamin Peterson [Tue, 14 Apr 2009 21:23:09 +0000 (21:23 +0000)]
tupel -> tuple

16 years agopep8-fied
Tarek Ziadé [Mon, 13 Apr 2009 20:14:54 +0000 (20:14 +0000)]
pep8-fied

16 years agoimproved test coverage for distutils.cmd
Tarek Ziadé [Mon, 13 Apr 2009 20:03:44 +0000 (20:03 +0000)]
improved test coverage for distutils.cmd

16 years agoAdd missing NEWS item for issue1161031 fix.
R. David Murray [Mon, 13 Apr 2009 16:56:32 +0000 (16:56 +0000)]
Add missing NEWS item for issue1161031 fix.

16 years ago#5745: more linking for identifiers in email docs.
Georg Brandl [Mon, 13 Apr 2009 13:13:25 +0000 (13:13 +0000)]
#5745: more linking for identifiers in email docs.

16 years agodeactivate test_search_cpp under win32
Tarek Ziadé [Mon, 13 Apr 2009 12:42:26 +0000 (12:42 +0000)]
deactivate test_search_cpp under win32

16 years ago#5741 followup: should also allow %%(blah)s.
Georg Brandl [Mon, 13 Apr 2009 12:36:24 +0000 (12:36 +0000)]
#5741 followup: should also allow %%(blah)s.

16 years agoSimplify markup.
Georg Brandl [Mon, 13 Apr 2009 12:36:18 +0000 (12:36 +0000)]
Simplify markup.

16 years agoFixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries.
Tarek Ziadé [Mon, 13 Apr 2009 12:34:01 +0000 (12:34 +0000)]
Fixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries.

16 years agoFixed another typos. (email.Utils => email.utils)
Hirokazu Yamamoto [Mon, 13 Apr 2009 01:21:56 +0000 (01:21 +0000)]
Fixed another typos. (email.Utils => email.utils)

16 years agoFixed typo. (email.Utils => email.utils)
Hirokazu Yamamoto [Mon, 13 Apr 2009 01:07:06 +0000 (01:07 +0000)]
Fixed typo. (email.Utils => email.utils)

16 years agoAdjust test_asyncore to account for intentional asyncore behavior change
R. David Murray [Mon, 13 Apr 2009 01:06:46 +0000 (01:06 +0000)]
Adjust test_asyncore to account for intentional asyncore behavior change
introduced by r70934 that was causing a test failure when run under -O.

16 years agoFixed incorrect object passed into format_float_internal(). This was resulting in...
Eric Smith [Mon, 13 Apr 2009 00:29:50 +0000 (00:29 +0000)]
Fixed incorrect object passed into format_float_internal(). This was resulting in a conversion being done twice.

16 years agofix missing quote
Benjamin Peterson [Sun, 12 Apr 2009 23:44:15 +0000 (23:44 +0000)]
fix missing quote

16 years agofix extra parenthesis #5774
Benjamin Peterson [Sun, 12 Apr 2009 23:19:56 +0000 (23:19 +0000)]
fix extra parenthesis #5774

16 years ago#5719: add short usage example to optparse docstring.
Georg Brandl [Sun, 12 Apr 2009 20:30:53 +0000 (20:30 +0000)]
#5719: add short usage example to optparse docstring.

16 years agoremove useless import
Benjamin Peterson [Sun, 12 Apr 2009 20:24:56 +0000 (20:24 +0000)]
remove useless import

16 years ago#5741: dont disallow double percent signs in SafeConfigParser.set() keys.
Georg Brandl [Sun, 12 Apr 2009 17:24:11 +0000 (17:24 +0000)]
#5741: dont disallow double percent signs in SafeConfigParser.set() keys.

16 years agoremoved string usage and added a test for _clean
Tarek Ziadé [Sun, 12 Apr 2009 17:02:08 +0000 (17:02 +0000)]
removed string usage and added a test for _clean

16 years agoadded a test for finalize_options
Tarek Ziadé [Sun, 12 Apr 2009 16:45:32 +0000 (16:45 +0000)]
added a test for finalize_options

16 years agoadded a simple test for search_cpp
Tarek Ziadé [Sun, 12 Apr 2009 16:31:24 +0000 (16:31 +0000)]
added a simple test for search_cpp

16 years agopep8-fied the module before adding tests
Tarek Ziadé [Sun, 12 Apr 2009 15:03:50 +0000 (15:03 +0000)]
pep8-fied the module before adding tests

16 years agoremoved the print statements and added a test
Tarek Ziadé [Sun, 12 Apr 2009 14:53:51 +0000 (14:53 +0000)]
removed the print statements and added a test

16 years ago#5704: let python -3 imply -t as well.
Georg Brandl [Sun, 12 Apr 2009 12:08:12 +0000 (12:08 +0000)]
#5704: let python -3 imply -t as well.

16 years agoTake credit for my patch for issue 5237.
Eric Smith [Sun, 12 Apr 2009 02:57:29 +0000 (02:57 +0000)]
Take credit for my patch for issue 5237.

16 years agofix markup
Benjamin Peterson [Sat, 11 Apr 2009 20:27:15 +0000 (20:27 +0000)]
fix markup

16 years agoignore py3_test_grammar when compiling the library
Benjamin Peterson [Sat, 11 Apr 2009 19:31:00 +0000 (19:31 +0000)]
ignore py3_test_grammar when compiling the library

16 years agoTake credit for a patch of mine.
Georg Brandl [Sat, 11 Apr 2009 18:19:27 +0000 (18:19 +0000)]
Take credit for a patch of mine.

16 years agoMake test_asyncore tests match code changes introduced by the
R. David Murray [Sat, 11 Apr 2009 17:52:56 +0000 (17:52 +0000)]
Make test_asyncore tests match code changes introduced by the
fix to Issue1161031, refactoring the test to simplify it in
the process.

16 years agoRe-word
Andrew M. Kuchling [Sat, 11 Apr 2009 16:18:14 +0000 (16:18 +0000)]
Re-word

16 years agoAdd various items
Andrew M. Kuchling [Sat, 11 Apr 2009 16:12:23 +0000 (16:12 +0000)]
Add various items

16 years agotesting a full check case
Tarek Ziadé [Sat, 11 Apr 2009 15:14:17 +0000 (15:14 +0000)]
testing a full check case

16 years ago#5732: added the check command into Distutils
Tarek Ziadé [Sat, 11 Apr 2009 14:55:07 +0000 (14:55 +0000)]
#5732: added the check command into Distutils

16 years agofixed link
Tarek Ziadé [Sat, 11 Apr 2009 13:59:05 +0000 (13:59 +0000)]
fixed link

16 years agoIssue 5354: Provide a standardised testing mechanism for doing fresh imports of modul...
Nick Coghlan [Sat, 11 Apr 2009 13:31:31 +0000 (13:31 +0000)]
Issue 5354: Provide a standardised testing mechanism for doing fresh imports of modules, including the ability to block extension modules in order to test the pure Python fallbacks

16 years agoremove unpleasant exec
Chris Withers [Sat, 11 Apr 2009 11:22:19 +0000 (11:22 +0000)]
remove unpleasant exec

16 years agoAdd examples.
Raymond Hettinger [Fri, 10 Apr 2009 13:16:50 +0000 (13:16 +0000)]
Add examples.

16 years ago#5698: Fix casing of !DOCTYPE to conform to W3C specs.
Georg Brandl [Fri, 10 Apr 2009 08:20:23 +0000 (08:20 +0000)]
#5698: Fix casing of !DOCTYPE to conform to W3C specs.

16 years agoLet "lambda" point to the correct heading.
Georg Brandl [Fri, 10 Apr 2009 08:16:47 +0000 (08:16 +0000)]
Let "lambda" point to the correct heading.

16 years agoFix the count of datatypes.
Raymond Hettinger [Fri, 10 Apr 2009 06:38:39 +0000 (06:38 +0000)]
Fix the count of datatypes.

16 years agoClarify the table entries for combinatorics.
Raymond Hettinger [Fri, 10 Apr 2009 04:25:45 +0000 (04:25 +0000)]
Clarify the table entries for combinatorics.

16 years agoIE needs the border-left:0 for some reason.
Raymond Hettinger [Fri, 10 Apr 2009 02:01:21 +0000 (02:01 +0000)]
IE needs the border-left:0 for some reason.

16 years agoMore table clean-up
Raymond Hettinger [Fri, 10 Apr 2009 00:49:41 +0000 (00:49 +0000)]
More table clean-up

16 years agoCenter table headings.
Raymond Hettinger [Thu, 9 Apr 2009 23:34:14 +0000 (23:34 +0000)]
Center table headings.

16 years agoMore table formatting.
Raymond Hettinger [Thu, 9 Apr 2009 23:25:30 +0000 (23:25 +0000)]
More table formatting.

16 years agoAdd note on using keyword arguments with OrderedDict.
Raymond Hettinger [Thu, 9 Apr 2009 22:31:51 +0000 (22:31 +0000)]
Add note on using keyword arguments with OrderedDict.

16 years agoIssue #2170: refactored xml.dom.minidom.normalize, increasing both
R. David Murray [Thu, 9 Apr 2009 21:54:50 +0000 (21:54 +0000)]
Issue #2170: refactored xml.dom.minidom.normalize, increasing both
its clarity and its speed.

16 years agoFixed #5731: Distutils bdist_wininst no longer worked on non-Windows platforms
Tarek Ziadé [Thu, 9 Apr 2009 21:36:44 +0000 (21:36 +0000)]
Fixed #5731: Distutils bdist_wininst no longer worked on non-Windows platforms

16 years agoAdd a custom stylesheet with better table formatting.
Georg Brandl [Thu, 9 Apr 2009 19:01:04 +0000 (19:01 +0000)]
Add a custom stylesheet with better table formatting.

16 years agoIssue 5665: add more pickling tests.
Collin Winter [Thu, 9 Apr 2009 16:46:46 +0000 (16:46 +0000)]
Issue 5665: add more pickling tests.

- Add tests for the module-level load() and dump() functions.
- Add tests for cPickle's internal data structures, stressing workloads
with many gets/puts.
- Add tests for the Pickler and Unpickler classes, in particular the
memo attribute.
- test_xpickle is extended to test backwards compatibility with Python
2.4, 2.5 and 2.6 by round-tripping pickled objects through a worker
process. This is guarded with a regrtest -u xpickle resource.

16 years agoTypo fixes
Andrew M. Kuchling [Thu, 9 Apr 2009 11:23:36 +0000 (11:23 +0000)]
Typo fixes

16 years agoAdd items
Andrew M. Kuchling [Thu, 9 Apr 2009 11:22:47 +0000 (11:22 +0000)]
Add items

16 years agoUpdate ignore file for suspicious builder.
Georg Brandl [Wed, 8 Apr 2009 16:39:04 +0000 (16:39 +0000)]
Update ignore file for suspicious builder.

16 years agoRemove redundant backtick.
Georg Brandl [Wed, 8 Apr 2009 16:36:39 +0000 (16:36 +0000)]
Remove redundant backtick.

16 years agofix syntax
Benjamin Peterson [Wed, 8 Apr 2009 13:29:41 +0000 (13:29 +0000)]
fix syntax

16 years agothese must be installed to correctly run tests
Benjamin Peterson [Wed, 8 Apr 2009 13:27:29 +0000 (13:27 +0000)]
these must be installed to correctly run tests

16 years agoMinor factoring.
Raymond Hettinger [Wed, 8 Apr 2009 08:26:55 +0000 (08:26 +0000)]
Minor factoring.

16 years agoAdd docstrings.
Raymond Hettinger [Wed, 8 Apr 2009 05:39:38 +0000 (05:39 +0000)]
Add docstrings.

16 years ago- Make timing assertions very generous (a la test_timeout.py)
Jack Diederich [Tue, 7 Apr 2009 23:56:57 +0000 (23:56 +0000)]
- Make timing assertions very generous (a la test_timeout.py)
- Break the gc cycle in negotiation tests
- test the different guarantees of read_lazy and read_very_lazy

16 years agoFix make.bat to match makefile changes
Raymond Hettinger [Tue, 7 Apr 2009 21:43:51 +0000 (21:43 +0000)]
Fix make.bat to match makefile changes

16 years agoeliminate more race conditions in telnetlib tests
Jack Diederich [Tue, 7 Apr 2009 20:22:59 +0000 (20:22 +0000)]
eliminate more race conditions in telnetlib tests

16 years agoIssue #5695: Minor tweak to improve the code as suggested by Brett Cannon and as...
Vinay Sajip [Tue, 7 Apr 2009 17:18:24 +0000 (17:18 +0000)]
Issue #5695: Minor tweak to improve the code as suggested by Brett Cannon and as implemented in the Py3K branch.

16 years agorevert unrelated change to test_telnetlib
Benjamin Peterson [Tue, 7 Apr 2009 16:03:04 +0000 (16:03 +0000)]
revert unrelated change to test_telnetlib

16 years agofix since difference formating of SyntaxErrors
Benjamin Peterson [Tue, 7 Apr 2009 15:52:05 +0000 (15:52 +0000)]
fix since difference formating of SyntaxErrors

16 years agofix syntax tests after formatting change
Benjamin Peterson [Tue, 7 Apr 2009 15:15:04 +0000 (15:15 +0000)]
fix syntax tests after formatting change

16 years agosee if this helps the doc builds
Benjamin Peterson [Mon, 6 Apr 2009 22:53:29 +0000 (22:53 +0000)]
see if this helps the doc builds

16 years agoadd create_connection to __all__ #5711
Benjamin Peterson [Mon, 6 Apr 2009 21:53:33 +0000 (21:53 +0000)]
add create_connection to __all__ #5711

16 years ago- Issue #2254: Fix CGIHTTPServer information disclosure. Relative paths are
Gregory P. Smith [Mon, 6 Apr 2009 06:33:26 +0000 (06:33 +0000)]
- Issue #2254: Fix CGIHTTPServer information disclosure.  Relative paths are
  now collapsed within the url properly before looking in cgi_directories.

16 years agotest the telnetlib.Telnet interface more thoroughly
Jack Diederich [Mon, 6 Apr 2009 02:08:44 +0000 (02:08 +0000)]
test the telnetlib.Telnet interface more thoroughly

16 years agonews entry for r71299.
Gregory P. Smith [Sun, 5 Apr 2009 23:48:26 +0000 (23:48 +0000)]
news entry for r71299.

16 years agoFixes issue5705: os.setuid() and friends did not accept the same range of
Gregory P. Smith [Sun, 5 Apr 2009 23:43:58 +0000 (23:43 +0000)]
Fixes issue5705: os.setuid() and friends did not accept the same range of
values that pwd.getpwnam() returns.

16 years agopep8-fied method names
Tarek Ziadé [Sun, 5 Apr 2009 23:03:10 +0000 (23:03 +0000)]
pep8-fied method names

16 years agoFixed #5095: msi missing from Distutils bdist formats
Tarek Ziadé [Sun, 5 Apr 2009 22:51:09 +0000 (22:51 +0000)]
Fixed #5095: msi missing from Distutils bdist formats

16 years agoadded a simplest test to distutils.spawn._nt_quote_args
Tarek Ziadé [Sun, 5 Apr 2009 22:04:38 +0000 (22:04 +0000)]
added a simplest test to distutils.spawn._nt_quote_args

16 years agoFixed #1491431: distutils.filelist.glob_to_re was broken for some edge cases (detaile...
Tarek Ziadé [Sun, 5 Apr 2009 21:44:08 +0000 (21:44 +0000)]
Fixed #1491431: distutils.filelist.glob_to_re was broken for some edge cases (detailed in the test

16 years agoIssue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)'
Matthias Klose [Sun, 5 Apr 2009 21:19:13 +0000 (21:19 +0000)]
Issue #1113244: Py_XINCREF, Py_DECREF, Py_XDECREF: Add `do { ... } while (0)'
to avoid compiler warnings.