]> granicus.if.org Git - python/log
python
16 years agouse assert* methods in test_unittest
Benjamin Peterson [Tue, 30 Jun 2009 23:30:12 +0000 (23:30 +0000)]
use assert* methods in test_unittest

16 years agoconvert usage of fail* to assert*
Benjamin Peterson [Tue, 30 Jun 2009 22:57:08 +0000 (22:57 +0000)]
convert usage of fail* to assert*

16 years agoFixed a backslash that was not supposed to be there
Ezio Melotti [Tue, 30 Jun 2009 22:56:16 +0000 (22:56 +0000)]
Fixed a backslash that was not supposed to be there

16 years agoFixed defaultTestCase -> defaultTestResult
Ezio Melotti [Tue, 30 Jun 2009 22:51:06 +0000 (22:51 +0000)]
Fixed defaultTestCase -> defaultTestResult

16 years agoprovide a dummy __exit__ on windows
Benjamin Peterson [Tue, 30 Jun 2009 22:14:33 +0000 (22:14 +0000)]
provide a dummy __exit__ on windows

16 years agoResolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes
Jesse Noller [Tue, 30 Jun 2009 17:11:52 +0000 (17:11 +0000)]
Resolves issues 5155, 5313, 5331 - bad file descriptor error with processes in processes

16 years ago#6371: fix link targets.
Georg Brandl [Tue, 30 Jun 2009 16:35:11 +0000 (16:35 +0000)]
#6371: fix link targets.

16 years ago#6384: Add a heading for the exception hierarchy.
Georg Brandl [Tue, 30 Jun 2009 16:18:55 +0000 (16:18 +0000)]
#6384: Add a heading for the exception hierarchy.

16 years ago#6374: add a bit of explanation about shell=True on Windows.
Georg Brandl [Tue, 30 Jun 2009 16:17:28 +0000 (16:17 +0000)]
#6374: add a bit of explanation about shell=True on Windows.

16 years ago#6376: fix copy-n-paste oversight.
Georg Brandl [Tue, 30 Jun 2009 16:15:43 +0000 (16:15 +0000)]
#6376: fix copy-n-paste oversight.

16 years agoIssue #6347: Add inttypes.h to the pyport.h #includes; fixes a build
Mark Dickinson [Tue, 30 Jun 2009 15:32:30 +0000 (15:32 +0000)]
Issue #6347:  Add inttypes.h to the pyport.h #includes;  fixes a build
failure on HP-UX 11.00.

16 years agoIssue 6370: Performance issue with collections.Counter().
Raymond Hettinger [Mon, 29 Jun 2009 19:10:29 +0000 (19:10 +0000)]
Issue 6370: Performance issue with collections.Counter().

16 years agoIssue 5740: multiprocessing.connection.* authkey fixes
Jesse Noller [Mon, 29 Jun 2009 18:24:26 +0000 (18:24 +0000)]
Issue 5740: multiprocessing.connection.* authkey fixes

16 years agoBug 5906: add a documentation note for unix daemons vs. multiprocessing daemons
Jesse Noller [Mon, 29 Jun 2009 18:20:34 +0000 (18:20 +0000)]
Bug 5906: add a documentation note for unix daemons vs. multiprocessing daemons

16 years agoFixed 6365: wrong inplace location for build_ext if the extension had dots
Tarek Ziadé [Mon, 29 Jun 2009 16:13:39 +0000 (16:13 +0000)]
Fixed 6365: wrong inplace location for build_ext if the extension had dots

16 years agoIssue #6368: Fixed unused variable warning on Unix.
Hirokazu Yamamoto [Mon, 29 Jun 2009 15:52:21 +0000 (15:52 +0000)]
Issue #6368: Fixed unused variable warning on Unix.

16 years agoFix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.
Georg Brandl [Mon, 29 Jun 2009 14:44:49 +0000 (14:44 +0000)]
Fix error handling in PyCode_Optimize, by Alexander Schremmer at EuroPython sprint.

16 years agoFixed NEWS.
Hirokazu Yamamoto [Mon, 29 Jun 2009 14:29:31 +0000 (14:29 +0000)]
Fixed NEWS.

16 years agoBackport fix for buglet from py3k
Antoine Pitrou [Mon, 29 Jun 2009 14:14:56 +0000 (14:14 +0000)]
Backport fix for buglet from py3k

16 years agoIssue #6344: Fixed a crash of mmap.read() when passed a negative argument.
Hirokazu Yamamoto [Mon, 29 Jun 2009 13:25:16 +0000 (13:25 +0000)]
Issue #6344: Fixed a crash of mmap.read() when passed a negative argument.
Reviewed by Amaury Forgeot d'Arc.

16 years agoIssue #4856: Py_GetFileAttributesEx[AW] are not needed because GetFileAttributesEx[AW]
Hirokazu Yamamoto [Mon, 29 Jun 2009 11:27:03 +0000 (11:27 +0000)]
Issue #4856: Py_GetFileAttributesEx[AW] are not needed because GetFileAttributesEx[AW]
won't fail with ERROR_CALL_NOT_IMPLEMENTED on win NT.
Reviewed by Amaury Forgeot d'Arc.

16 years agoupdate to sphinx 0.6.2
Benjamin Peterson [Mon, 29 Jun 2009 03:30:55 +0000 (03:30 +0000)]
update to sphinx 0.6.2

16 years agoUpdate docstrings for sys.getdlopenflags() and sys.setdlopenflags().
Alexandre Vassalotti [Mon, 29 Jun 2009 01:01:51 +0000 (01:01 +0000)]
Update docstrings for sys.getdlopenflags() and sys.setdlopenflags().

16 years agoRemove unused stdint.h includes
Mark Dickinson [Sun, 28 Jun 2009 22:37:13 +0000 (22:37 +0000)]
Remove unused stdint.h includes

16 years agoMore Decimal quote fixing; backport of r73642
Mark Dickinson [Sun, 28 Jun 2009 21:48:15 +0000 (21:48 +0000)]
More Decimal quote fixing;  backport of r73642

16 years agohttp://bugs.python.org/issue6267
Kristján Valur Jónsson [Sun, 28 Jun 2009 21:04:17 +0000 (21:04 +0000)]
http://bugs.python.org/issue6267
Cumulative patch to http and xmlrpc

16 years agoreturn locals and cells in get_locals() not bound globals, though
Benjamin Peterson [Sun, 28 Jun 2009 19:27:55 +0000 (19:27 +0000)]
return locals and cells in get_locals() not bound globals, though

16 years agouse stack macros
Benjamin Peterson [Sun, 28 Jun 2009 16:14:07 +0000 (16:14 +0000)]
use stack macros

16 years agoadd two generic macros for peeking and setting in the stack
Benjamin Peterson [Sun, 28 Jun 2009 16:08:02 +0000 (16:08 +0000)]
add two generic macros for peeking and setting in the stack

16 years agoFix types in logic to compute help file name.
Martin v. Löwis [Sun, 28 Jun 2009 12:24:23 +0000 (12:24 +0000)]
Fix types in logic to compute help file name.

16 years agoRemove stray pychecker directive.
Georg Brandl [Sun, 28 Jun 2009 12:10:18 +0000 (12:10 +0000)]
Remove stray pychecker directive.

16 years agoIssue #4856: Remove checks for win NT.
Hirokazu Yamamoto [Sun, 28 Jun 2009 10:23:00 +0000 (10:23 +0000)]
Issue #4856: Remove checks for win NT.

16 years agoIssue 5390: Add uninstall icon independent of whether file
Martin v. Löwis [Sun, 28 Jun 2009 09:32:39 +0000 (09:32 +0000)]
Issue 5390: Add uninstall icon independent of whether file
extensions are installed.

16 years agoFixed a wrong apostrophe
Ezio Melotti [Sun, 28 Jun 2009 00:07:45 +0000 (00:07 +0000)]
Fixed a wrong apostrophe

16 years agostmt and setup can contain multiple statements, see #5896
Ezio Melotti [Sat, 27 Jun 2009 23:45:39 +0000 (23:45 +0000)]
stmt and setup can contain multiple statements, see #5896

16 years agolink to extensive generator docs in the reference manual
Benjamin Peterson [Sat, 27 Jun 2009 14:16:23 +0000 (14:16 +0000)]
link to extensive generator docs in the reference manual

16 years agodocument is_declared_global()
Benjamin Peterson [Fri, 26 Jun 2009 23:37:06 +0000 (23:37 +0000)]
document is_declared_global()

16 years agomark 3.1 as stable docs
Benjamin Peterson [Fri, 26 Jun 2009 16:49:06 +0000 (16:49 +0000)]
mark 3.1 as stable docs

16 years agoFixes the last problem mentioned in issue1202.
Gregory P. Smith [Fri, 26 Jun 2009 07:50:21 +0000 (07:50 +0000)]
Fixes the last problem mentioned in issue1202.

16 years ago#2016 Fix a crash in function call when the **kwargs dictionary is mutated
Amaury Forgeot d'Arc [Thu, 25 Jun 2009 22:29:29 +0000 (22:29 +0000)]
#2016 Fix a crash in function call when the **kwargs dictionary is mutated
during the function call setup.

This even gives a slight speedup, probably because tuple allocation
is faster than PyMem_NEW.

16 years agoFix a compilation warning on Windows
Amaury Forgeot d'Arc [Thu, 25 Jun 2009 21:29:32 +0000 (21:29 +0000)]
Fix a compilation warning on Windows

16 years agoIssue 6340: update by Gregor Lingl of his tdemo_chaos demo program.
R. David Murray [Thu, 25 Jun 2009 17:29:39 +0000 (17:29 +0000)]
Issue 6340: update by Gregor Lingl of his tdemo_chaos demo program.
Functionally equivalent, clearer code, English comments.

16 years agoAdd a couple of missing function alias declarations to the turtle docs.
R. David Murray [Thu, 25 Jun 2009 14:21:06 +0000 (14:21 +0000)]
Add a couple of missing function alias declarations to the turtle docs.

16 years agohttp://bugs.python.org/issue6192
Kristján Valur Jónsson [Wed, 24 Jun 2009 09:17:04 +0000 (09:17 +0000)]
http://bugs.python.org/issue6192
Move the newly introduced disable_nagle_algorithm flag into the StreamRequestHandler, where it is more appropriate.

16 years ago#6332: fix word dupes throughout the source.
Georg Brandl [Wed, 24 Jun 2009 06:41:19 +0000 (06:41 +0000)]
#6332: fix word dupes throughout the source.

16 years agoAdd procedural note.
Raymond Hettinger [Tue, 23 Jun 2009 22:20:04 +0000 (22:20 +0000)]
Add procedural note.

16 years agoRemove last remnants of the ipaddr package.
Amaury Forgeot d'Arc [Tue, 23 Jun 2009 21:53:46 +0000 (21:53 +0000)]
Remove last remnants of the ipaddr package.
The changes in mcast.py come from the first version of the patch for issue5379.

16 years agoIssue 6305: Clarify error message for large arguments to itertools.islice().
Raymond Hettinger [Tue, 23 Jun 2009 21:32:28 +0000 (21:32 +0000)]
Issue 6305: Clarify error message for large arguments to itertools.islice().

16 years agoRemove the ipaddr module per discussion on python-dev
Amaury Forgeot d'Arc [Tue, 23 Jun 2009 21:09:09 +0000 (21:09 +0000)]
Remove the ipaddr module per discussion on python-dev

16 years agoIssue 6329: Fix iteration for memoryviews.
Raymond Hettinger [Tue, 23 Jun 2009 20:59:43 +0000 (20:59 +0000)]
Issue 6329: Fix iteration for memoryviews.

16 years agoFix issue 5230 by having pydoc's safeimport check to see if the import
R. David Murray [Tue, 23 Jun 2009 18:02:46 +0000 (18:02 +0000)]
Fix issue 5230 by having pydoc's safeimport check to see if the import
error was thrown from itself in order to decide if the module can't be
found.  Thanks to Lucas Prado Melo for collaborating on the fix and tests.

16 years agoRemove markup from docstring
Nick Coghlan [Tue, 23 Jun 2009 10:51:02 +0000 (10:51 +0000)]
Remove markup from docstring

16 years agoIssue 6288: Update contextlib.nested() docstring to reflect new documentation
Nick Coghlan [Tue, 23 Jun 2009 10:19:30 +0000 (10:19 +0000)]
Issue 6288: Update contextlib.nested() docstring to reflect new documentation

16 years agoremove some unused symtable constants
Benjamin Peterson [Tue, 23 Jun 2009 03:01:56 +0000 (03:01 +0000)]
remove some unused symtable constants

16 years agofix grammar
Benjamin Peterson [Tue, 23 Jun 2009 01:18:57 +0000 (01:18 +0000)]
fix grammar

16 years agoImprove English phrasing.
R. David Murray [Mon, 22 Jun 2009 22:11:04 +0000 (22:11 +0000)]
Improve English phrasing.

16 years ago#4490 Fix sample code run by "python -m xml.sax.xmlreader"
Amaury Forgeot d'Arc [Mon, 22 Jun 2009 19:33:48 +0000 (19:33 +0000)]
#4490 Fix sample code run by "python -m xml.sax.xmlreader"

16 years agoremove tmpname support since it's no longer used
Benjamin Peterson [Sun, 21 Jun 2009 23:03:36 +0000 (23:03 +0000)]
remove tmpname support since it's no longer used

16 years agodon't need to add the name 'lambda' as assigned
Benjamin Peterson [Sun, 21 Jun 2009 23:01:07 +0000 (23:01 +0000)]
don't need to add the name 'lambda' as assigned

16 years agoFix memory bug in bdist_msi. (Commit okayed in issue6319.)
Steven Bethard [Sun, 21 Jun 2009 21:03:41 +0000 (21:03 +0000)]
Fix memory bug in bdist_msi. (Commit okayed in issue6319.)

16 years agoIssue #6314: logging.basicConfig() performs extra checks on the "level" argument.
Vinay Sajip [Sun, 21 Jun 2009 17:37:27 +0000 (17:37 +0000)]
Issue #6314: logging.basicConfig() performs extra checks on the "level" argument.

16 years agoIssue #5450: Moved tests involving loading tk from Lib/test/test_tcl to
Guilherme Polo [Sun, 21 Jun 2009 17:22:50 +0000 (17:22 +0000)]
Issue #5450: Moved tests involving loading tk from Lib/test/test_tcl to
Lib/lib-tk/test/test_tkinter/test_loadtk in order to follow the behaviour of
test_ttkguionly.

16 years agoFixed #6164 AIX specific linker argument in Distutils unixcompiler
Tarek Ziadé [Sat, 20 Jun 2009 13:57:20 +0000 (13:57 +0000)]
Fixed #6164 AIX specific linker argument in Distutils unixcompiler

16 years agouse closures
Benjamin Peterson [Fri, 19 Jun 2009 22:21:12 +0000 (22:21 +0000)]
use closures

16 years agoshow that this one isn't used
Benjamin Peterson [Fri, 19 Jun 2009 22:16:28 +0000 (22:16 +0000)]
show that this one isn't used

16 years agoadd missing assertion #6313
Benjamin Peterson [Fri, 19 Jun 2009 22:09:17 +0000 (22:09 +0000)]
add missing assertion #6313

16 years agoremove duplicate test
Benjamin Peterson [Fri, 19 Jun 2009 22:07:47 +0000 (22:07 +0000)]
remove duplicate test

16 years agoIssue #6274. Fixed a potential FD leak in subprocess.py.
Facundo Batista [Fri, 19 Jun 2009 18:02:28 +0000 (18:02 +0000)]
Issue #6274. Fixed a potential FD leak in subprocess.py.

16 years ago#6189: The subprocess.py module should be kept compatible with python 2.2
Amaury Forgeot d'Arc [Thu, 18 Jun 2009 22:32:50 +0000 (22:32 +0000)]
#6189: The subprocess.py module should be kept compatible with python 2.2

(On windows, you still have to change one line to use pywin32
instead of the _subprocess helper module)

16 years ago#6276: Remove usage of nested() in favor of new with statement with multiple managers.
Georg Brandl [Thu, 18 Jun 2009 22:24:26 +0000 (22:24 +0000)]
#6276: Remove usage of nested() in favor of new with statement with multiple managers.

16 years agoIssue 6288: update the contextlib.nested() docs to explain why it has been deprecated...
Nick Coghlan [Wed, 17 Jun 2009 12:12:15 +0000 (12:12 +0000)]
Issue 6288: update the contextlib.nested() docs to explain why it has been deprecated and should generally be avoided

16 years ago#6255: document PyInt_FromSize_t.
Georg Brandl [Wed, 17 Jun 2009 09:43:31 +0000 (09:43 +0000)]
#6255: document PyInt_FromSize_t.

16 years ago#6295: clarify blocking behavior of getch().
Georg Brandl [Wed, 17 Jun 2009 09:36:21 +0000 (09:36 +0000)]
#6295: clarify blocking behavior of getch().

16 years agoIssue #6215: Fixed to use self.open() instead of open() or io.open().
Hirokazu Yamamoto [Wed, 17 Jun 2009 07:05:33 +0000 (07:05 +0000)]
Issue #6215: Fixed to use self.open() instead of open() or io.open().

16 years agoremove unused 'encoding' member from the compiler struct
Benjamin Peterson [Wed, 17 Jun 2009 03:23:04 +0000 (03:23 +0000)]
remove unused 'encoding' member from the compiler struct

16 years agoAdd usage note.
Raymond Hettinger [Wed, 17 Jun 2009 01:43:47 +0000 (01:43 +0000)]
Add usage note.

16 years agoadd underscores
Benjamin Peterson [Tue, 16 Jun 2009 23:13:09 +0000 (23:13 +0000)]
add underscores

16 years agoAcknowledge the role of the MPFR library in creating cmath_testcases.txt
Mark Dickinson [Tue, 16 Jun 2009 20:31:12 +0000 (20:31 +0000)]
Acknowledge the role of the MPFR library in creating cmath_testcases.txt

16 years agoRemove unused macro.
Georg Brandl [Tue, 16 Jun 2009 17:43:44 +0000 (17:43 +0000)]
Remove unused macro.

16 years agoAdd tabularcolumns directive for tables with bullet lists in them.
Georg Brandl [Tue, 16 Jun 2009 17:41:33 +0000 (17:41 +0000)]
Add tabularcolumns directive for tables with bullet lists in them.

16 years agostarting distutils.ccompiler test coverage and cleanup
Tarek Ziadé [Tue, 16 Jun 2009 08:31:01 +0000 (08:31 +0000)]
starting distutils.ccompiler test coverage and cleanup

16 years agoFixed #6287: documentation for the license field in distutils
Tarek Ziadé [Tue, 16 Jun 2009 07:29:52 +0000 (07:29 +0000)]
Fixed #6287: documentation for the license field in distutils

16 years agodon't mask encoding errors when decoding a string #6289
Benjamin Peterson [Tue, 16 Jun 2009 00:29:31 +0000 (00:29 +0000)]
don't mask encoding errors when decoding a string #6289

16 years agoIssue #6286: distutils upload command now uses urllib2
Tarek Ziadé [Mon, 15 Jun 2009 23:30:13 +0000 (23:30 +0000)]
Issue #6286: distutils upload command now uses urllib2

16 years agocode cleanup
Tarek Ziadé [Mon, 15 Jun 2009 23:04:29 +0000 (23:04 +0000)]
code cleanup

16 years agobackport r73430
Benjamin Peterson [Sun, 14 Jun 2009 22:36:48 +0000 (22:36 +0000)]
backport r73430

16 years ago#6227: Because of a wrong indentation, the test was not testing what it should.
Amaury Forgeot d'Arc [Sun, 14 Jun 2009 21:20:40 +0000 (21:20 +0000)]
#6227: Because of a wrong indentation, the test was not testing what it should.
Ensure that the snippet in doctest_aliases actually contains aliases.

16 years agoIssue #6271: mmap tried to close invalid file handle (-1) when annonymous.
Hirokazu Yamamoto [Sun, 14 Jun 2009 03:53:55 +0000 (03:53 +0000)]
Issue #6271: mmap tried to close invalid file handle (-1) when annonymous.
(On Unix) Patch by STINNER Victor.

16 years agoUpdated MSVC files to follow r73394.
Hirokazu Yamamoto [Sun, 14 Jun 2009 03:05:54 +0000 (03:05 +0000)]
Updated MSVC files to follow r73394.

16 years agoupdate ast version
Benjamin Peterson [Sat, 13 Jun 2009 20:30:48 +0000 (20:30 +0000)]
update ast version

16 years agowhen no module is given in a 'from' relative import, make ImportFrom.module NULL
Benjamin Peterson [Sat, 13 Jun 2009 20:23:33 +0000 (20:23 +0000)]
when no module is given in a 'from' relative import, make ImportFrom.module NULL

16 years agogive a better error message when deleting ()
Benjamin Peterson [Sat, 13 Jun 2009 17:08:53 +0000 (17:08 +0000)]
give a better error message when deleting ()

16 years agoset Print.values to NULL if there are no values
Benjamin Peterson [Sat, 13 Jun 2009 16:19:19 +0000 (16:19 +0000)]
set Print.values to NULL if there are no values

16 years agohandle different rc format
Benjamin Peterson [Sat, 13 Jun 2009 15:48:04 +0000 (15:48 +0000)]
handle different rc format

16 years agospecial case release candidates
Benjamin Peterson [Sat, 13 Jun 2009 15:42:23 +0000 (15:42 +0000)]
special case release candidates

16 years agouse 'rc' for release candidates for consistency
Benjamin Peterson [Sat, 13 Jun 2009 14:25:08 +0000 (14:25 +0000)]
use 'rc' for release candidates for consistency

16 years agoallow importing from a module named None if it has an 'as' clause
Benjamin Peterson [Sat, 13 Jun 2009 13:06:21 +0000 (13:06 +0000)]
allow importing from a module named None if it has an 'as' clause

16 years agoprevent import statements from assigning to None
Benjamin Peterson [Sat, 13 Jun 2009 03:46:30 +0000 (03:46 +0000)]
prevent import statements from assigning to None

16 years agokeep the slice.step field as NULL if no step expression is given
Benjamin Peterson [Sat, 13 Jun 2009 01:40:00 +0000 (01:40 +0000)]
keep the slice.step field as NULL if no step expression is given

16 years agoRevert r73401 per Raymond Hettinger's request.
Alexandre Vassalotti [Fri, 12 Jun 2009 23:03:35 +0000 (23:03 +0000)]
Revert r73401 per Raymond Hettinger's request.

The rational is the change might cause imcompatiblity problems with
PyYAML. In addition, Raymond wants to kept the different versions of
collections synchronized across Python versions.