]>
granicus.if.org Git - python/log
Benjamin Peterson [Sun, 21 Jun 2009 23:03:36 +0000 (23:03 +0000)]
remove tmpname support since it's no longer used
Benjamin Peterson [Sun, 21 Jun 2009 23:01:07 +0000 (23:01 +0000)]
don't need to add the name 'lambda' as assigned
Steven Bethard [Sun, 21 Jun 2009 21:03:41 +0000 (21:03 +0000)]
Fix memory bug in bdist_msi. (Commit okayed in issue6319.)
Vinay Sajip [Sun, 21 Jun 2009 17:37:27 +0000 (17:37 +0000)]
Issue #6314: logging.basicConfig() performs extra checks on the "level" argument.
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.
Tarek Ziadé [Sat, 20 Jun 2009 13:57:20 +0000 (13:57 +0000)]
Fixed #6164 AIX specific linker argument in Distutils unixcompiler
Benjamin Peterson [Fri, 19 Jun 2009 22:21:12 +0000 (22:21 +0000)]
use closures
Benjamin Peterson [Fri, 19 Jun 2009 22:16:28 +0000 (22:16 +0000)]
show that this one isn't used
Benjamin Peterson [Fri, 19 Jun 2009 22:09:17 +0000 (22:09 +0000)]
add missing assertion #6313
Benjamin Peterson [Fri, 19 Jun 2009 22:07:47 +0000 (22:07 +0000)]
remove duplicate test
Facundo Batista [Fri, 19 Jun 2009 18:02:28 +0000 (18:02 +0000)]
Issue #6274. Fixed a potential FD leak in subprocess.py.
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)
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.
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
Georg Brandl [Wed, 17 Jun 2009 09:43:31 +0000 (09:43 +0000)]
#6255: document PyInt_FromSize_t.
Georg Brandl [Wed, 17 Jun 2009 09:36:21 +0000 (09:36 +0000)]
#6295: clarify blocking behavior of getch().
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().
Benjamin Peterson [Wed, 17 Jun 2009 03:23:04 +0000 (03:23 +0000)]
remove unused 'encoding' member from the compiler struct
Raymond Hettinger [Wed, 17 Jun 2009 01:43:47 +0000 (01:43 +0000)]
Add usage note.
Benjamin Peterson [Tue, 16 Jun 2009 23:13:09 +0000 (23:13 +0000)]
add underscores
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
Georg Brandl [Tue, 16 Jun 2009 17:43:44 +0000 (17:43 +0000)]
Remove unused macro.
Georg Brandl [Tue, 16 Jun 2009 17:41:33 +0000 (17:41 +0000)]
Add tabularcolumns directive for tables with bullet lists in them.
Tarek Ziadé [Tue, 16 Jun 2009 08:31:01 +0000 (08:31 +0000)]
starting distutils.ccompiler test coverage and cleanup
Tarek Ziadé [Tue, 16 Jun 2009 07:29:52 +0000 (07:29 +0000)]
Fixed #6287: documentation for the license field in distutils
Benjamin Peterson [Tue, 16 Jun 2009 00:29:31 +0000 (00:29 +0000)]
don't mask encoding errors when decoding a string #6289
Tarek Ziadé [Mon, 15 Jun 2009 23:30:13 +0000 (23:30 +0000)]
Issue #6286: distutils upload command now uses urllib2
Tarek Ziadé [Mon, 15 Jun 2009 23:04:29 +0000 (23:04 +0000)]
code cleanup
Benjamin Peterson [Sun, 14 Jun 2009 22:36:48 +0000 (22:36 +0000)]
backport r73430
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.
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.
Hirokazu Yamamoto [Sun, 14 Jun 2009 03:05:54 +0000 (03:05 +0000)]
Updated MSVC files to follow r73394.
Benjamin Peterson [Sat, 13 Jun 2009 20:30:48 +0000 (20:30 +0000)]
update ast version
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
Benjamin Peterson [Sat, 13 Jun 2009 17:08:53 +0000 (17:08 +0000)]
give a better error message when deleting ()
Benjamin Peterson [Sat, 13 Jun 2009 16:19:19 +0000 (16:19 +0000)]
set Print.values to NULL if there are no values
Benjamin Peterson [Sat, 13 Jun 2009 15:48:04 +0000 (15:48 +0000)]
handle different rc format
Benjamin Peterson [Sat, 13 Jun 2009 15:42:23 +0000 (15:42 +0000)]
special case release candidates
Benjamin Peterson [Sat, 13 Jun 2009 14:25:08 +0000 (14:25 +0000)]
use 'rc' for release candidates for consistency
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
Benjamin Peterson [Sat, 13 Jun 2009 03:46:30 +0000 (03:46 +0000)]
prevent import statements from assigning to None
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
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.
Alexandre Vassalotti [Fri, 12 Jun 2009 21:52:14 +0000 (21:52 +0000)]
Make pickling of OrderedDict instances more efficient.
Alexandre Vassalotti [Fri, 12 Jun 2009 21:43:47 +0000 (21:43 +0000)]
Delete outdated make file for building the parser with MSVC 6.
Alexandre Vassalotti [Fri, 12 Jun 2009 20:57:12 +0000 (20:57 +0000)]
Add const qualifier to PyErr_SetFromErrnoWithFilename and to
PyErr_SetFromErrnoWithUnicodeFilename.
Antoine Pitrou [Fri, 12 Jun 2009 20:54:21 +0000 (20:54 +0000)]
Re-enable testing of builtin open() in test_bufio in test_largefile
Antoine Pitrou [Fri, 12 Jun 2009 20:41:52 +0000 (20:41 +0000)]
Try to restore the old test_file and test_univnewlines as new, different files
(with the right revisions this time, hopefully)
Antoine Pitrou [Fri, 12 Jun 2009 20:36:25 +0000 (20:36 +0000)]
Restore the old test_file.py (for the builtin file object) as a new file named test_file2k.py
Antoine Pitrou [Fri, 12 Jun 2009 20:14:08 +0000 (20:14 +0000)]
Issue #6215: backport the 3.1 io lib
Alexandre Vassalotti [Fri, 12 Jun 2009 18:56:57 +0000 (18:56 +0000)]
Clear reference to the static PyExc_RecursionErrorInst in _PyExc_Fini.
Martin v. Löwis [Fri, 12 Jun 2009 17:28:31 +0000 (17:28 +0000)]
Support AMD64 in msilib. Set Win64 on reglocator.
Fixes #6258.
Raymond Hettinger [Thu, 11 Jun 2009 23:14:53 +0000 (23:14 +0000)]
Issue 6261: Clarify behavior of random.uniform().
Benjamin Peterson [Thu, 11 Jun 2009 22:29:23 +0000 (22:29 +0000)]
remove check for case handled in sub-function
Raymond Hettinger [Thu, 11 Jun 2009 22:08:10 +0000 (22:08 +0000)]
Move comment to correct line.
Benjamin Peterson [Thu, 11 Jun 2009 22:06:46 +0000 (22:06 +0000)]
Merged revisions 72523,72950-72951,72994,73003,73033,73036-73040,73091-73093,73096,73179-73181,73192,73231,73244,73255-73256,73365 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r72523 | benjamin.peterson | 2009-05-09 14:42:26 -0500 (Sat, 09 May 2009) | 1 line
remove parenthesis
........
r72950 | benjamin.peterson | 2009-05-26 18:19:45 -0500 (Tue, 26 May 2009) | 1 line
remove unused imports
........
r72951 | benjamin.peterson | 2009-05-26 18:27:00 -0500 (Tue, 26 May 2009) | 1 line
this is no longer executable
........
r72994 | benjamin.peterson | 2009-05-28 15:32:54 -0500 (Thu, 28 May 2009) | 1 line
fix test_all_fixers on Windows #6134
........
r73003 | benjamin.peterson | 2009-05-28 21:57:28 -0500 (Thu, 28 May 2009) | 4 lines
make 2to3 test utilities easier to use with other applications (3to2)
Patch by Joe Amenta
........
r73033 | benjamin.peterson | 2009-05-29 16:58:32 -0500 (Fri, 29 May 2009) | 1 line
update grammar for multi with statement
........
r73036 | benjamin.peterson | 2009-05-29 17:33:20 -0500 (Fri, 29 May 2009) | 1 line
simplify fix_unicode
........
r73037 | benjamin.peterson | 2009-05-29 17:53:03 -0500 (Fri, 29 May 2009) | 1 line
add custom error for pattern syntax errors
........
r73038 | benjamin.peterson | 2009-05-29 17:55:00 -0500 (Fri, 29 May 2009) | 1 line
complain if details are attached to a token
........
r73039 | benjamin.peterson | 2009-05-29 18:00:28 -0500 (Fri, 29 May 2009) | 1 line
add a test for whitespace
........
r73040 | benjamin.peterson | 2009-05-29 18:01:17 -0500 (Fri, 29 May 2009) | 1 line
a fix for emacs highlighting
........
r73091 | benjamin.peterson | 2009-05-31 20:55:25 -0500 (Sun, 31 May 2009) | 1 line
deprecate set_prefix() and get_prefix() in favor of a prefix property
........
r73092 | benjamin.peterson | 2009-05-31 21:00:51 -0500 (Sun, 31 May 2009) | 1 line
change hideous java naming scheme
........
r73093 | benjamin.peterson | 2009-05-31 21:01:39 -0500 (Sun, 31 May 2009) | 1 line
remove dated comment
........
r73096 | benjamin.peterson | 2009-05-31 21:40:53 -0500 (Sun, 31 May 2009) | 1 line
group tests
........
r73179 | benjamin.peterson | 2009-06-03 13:09:53 -0500 (Wed, 03 Jun 2009) | 1 line
handle the case where there's multiple trailers #6185
........
r73180 | benjamin.peterson | 2009-06-03 13:18:05 -0500 (Wed, 03 Jun 2009) | 1 line
scrap __main__ section
........
r73181 | benjamin.peterson | 2009-06-03 13:24:48 -0500 (Wed, 03 Jun 2009) | 1 line
remove shebang lines and __main__ sections
........
r73192 | benjamin.peterson | 2009-06-03 19:16:30 -0500 (Wed, 03 Jun 2009) | 4 lines
actually test something here
Thanks to Joe Amenta for noticing.y
........
r73231 | benjamin.peterson | 2009-06-04 13:38:50 -0500 (Thu, 04 Jun 2009) | 1 line
remove unused variable
........
r73244 | benjamin.peterson | 2009-06-05 08:39:25 -0500 (Fri, 05 Jun 2009) | 1 line
allow fixers to give different options in setUp
........
r73255 | benjamin.peterson | 2009-06-06 11:23:46 -0500 (Sat, 06 Jun 2009) | 1 line
fix the except fixer on one line suites #6222
........
r73256 | benjamin.peterson | 2009-06-06 11:27:40 -0500 (Sat, 06 Jun 2009) | 1 line
test one-line else and finally clauses
........
r73365 | benjamin.peterson | 2009-06-11 17:01:32 -0500 (Thu, 11 Jun 2009) | 1 line
normalize whitespace
........
Raymond Hettinger [Thu, 11 Jun 2009 22:04:00 +0000 (22:04 +0000)]
Add example of how to do key lookups with bisect().
Benjamin Peterson [Thu, 11 Jun 2009 17:51:17 +0000 (17:51 +0000)]
use multi-with syntax
Benjamin Peterson [Thu, 11 Jun 2009 17:49:38 +0000 (17:49 +0000)]
revert r73361
Benjamin Peterson [Thu, 11 Jun 2009 16:25:52 +0000 (16:25 +0000)]
remove duplicate check
Tarek Ziadé [Thu, 11 Jun 2009 09:55:09 +0000 (09:55 +0000)]
pep8-fied cygwinccompiler module
Vinay Sajip [Thu, 11 Jun 2009 09:53:35 +0000 (09:53 +0000)]
Issue #5262: Improved fix.
Vinay Sajip [Thu, 11 Jun 2009 09:23:41 +0000 (09:23 +0000)]
Issue #5262: Fixed bug in next roll over time computation in TimedRotatingFileHandler.
Tarek Ziadé [Thu, 11 Jun 2009 09:13:36 +0000 (09:13 +0000)]
#6263 fixed syntax error in distutils.cygwinccompiler
Tarek Ziadé [Thu, 11 Jun 2009 08:43:26 +0000 (08:43 +0000)]
removed the last string.split() call
Tarek Ziadé [Thu, 11 Jun 2009 08:12:20 +0000 (08:12 +0000)]
Fixed #5201: now distutils.sysconfig.parse_makefile() understands '53264' in Makefiles
Amaury Forgeot d'Arc [Wed, 10 Jun 2009 20:30:19 +0000 (20:30 +0000)]
Fix a typo spotted by Nick Coghlan.
Tarek Ziadé [Wed, 10 Jun 2009 18:49:50 +0000 (18:49 +0000)]
Distutils: started code cleanup and test coverage for cygwinccompiler
Raymond Hettinger [Wed, 10 Jun 2009 16:15:40 +0000 (16:15 +0000)]
Fix signed/unsigned compiler warning.
Raymond Hettinger [Wed, 10 Jun 2009 16:15:02 +0000 (16:15 +0000)]
Issue 6256: Fix stacklevel in warning message.
Benjamin Peterson [Wed, 10 Jun 2009 13:45:31 +0000 (13:45 +0000)]
fix spelling
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 23:37:11 +0000 (23:37 +0000)]
Missing import in test_curses, uncovered by some buildbots.
(There are still a few test files that don't use the standard layout)
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 23:18:50 +0000 (23:18 +0000)]
Both kind of types are concerned.
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 23:08:13 +0000 (23:08 +0000)]
#6201: Fix test_winreg on Windows:
since the introduction of the SETUP_WITH opcode,
__enter__ and __exit__ methods must belong to the type,
and are not retrieved at the instance level (__dict__ or __getattr__).
Add a note in whatsnew about this incompatibility;
old style classes are not affected.
Amaury Forgeot d'Arc [Tue, 9 Jun 2009 22:53:16 +0000 (22:53 +0000)]
Avoid invoking the parser/compiler just to test the presence of a function.
Benjamin Peterson [Tue, 9 Jun 2009 21:13:43 +0000 (21:13 +0000)]
update symbol.py from with statement changes
Benjamin Peterson [Tue, 9 Jun 2009 17:29:51 +0000 (17:29 +0000)]
explain why keyword names are not just NAME
Benjamin Peterson [Tue, 9 Jun 2009 17:24:26 +0000 (17:24 +0000)]
make ast.c depend on the grammar
Eric Smith [Tue, 9 Jun 2009 12:38:08 +0000 (12:38 +0000)]
Restored a test that was erroneously removed. See issue 6198.
R. David Murray [Tue, 9 Jun 2009 00:44:22 +0000 (00:44 +0000)]
Issue 2947: document how return code handling translates from
os.popen to subprocess. Also fixes reference link in the
os.spawn documentation.
Benjamin Peterson [Mon, 8 Jun 2009 23:44:13 +0000 (23:44 +0000)]
remove error checks already done in set_context()
Benjamin Peterson [Mon, 8 Jun 2009 22:18:32 +0000 (22:18 +0000)]
remove useless assertion
Ronald Oussoren [Mon, 8 Jun 2009 21:12:41 +0000 (21:12 +0000)]
This is a fix for Issue5809: you shouldn't specify both --enable-framework and
--enable-shared
Ronald Oussoren [Mon, 8 Jun 2009 20:54:59 +0000 (20:54 +0000)]
This checkin adds a symlink to the lib directory of a framework install
of Python (on OSX), and the end result of that is that the combination of
``python-config --ldflags`` and ``python-config --libs`` refers to an actually
existing location.
I've done this in preference to changing python-config to specify
'-framework Python' for linking because that doesn't work when you have multiple
versions of python installed (because '-framework Python' will always link to
the 'Current' version of the framework, without a possibility to specify a
specific version).
Georg Brandl [Mon, 8 Jun 2009 18:41:36 +0000 (18:41 +0000)]
Typo fix.
Georg Brandl [Mon, 8 Jun 2009 16:03:41 +0000 (16:03 +0000)]
#6238: add fillchar to string.just function family.
Georg Brandl [Mon, 8 Jun 2009 13:34:52 +0000 (13:34 +0000)]
#6194: O_SHLOCK/O_EXLOCK are not really more platform independent than lockf().
Georg Brandl [Mon, 8 Jun 2009 07:57:35 +0000 (07:57 +0000)]
Remove period from end of headings.
Benjamin Peterson [Sun, 7 Jun 2009 23:12:44 +0000 (23:12 +0000)]
backport r73273
Benjamin Peterson [Sun, 7 Jun 2009 22:55:36 +0000 (22:55 +0000)]
remove has_key
Benjamin Peterson [Sun, 7 Jun 2009 22:54:35 +0000 (22:54 +0000)]
use booleans for flags
Benjamin Peterson [Sun, 7 Jun 2009 22:35:00 +0000 (22:35 +0000)]
always inherit from an appropiate base class
Benjamin Peterson [Sun, 7 Jun 2009 22:33:11 +0000 (22:33 +0000)]
inherit from object
Georg Brandl [Sun, 7 Jun 2009 20:37:52 +0000 (20:37 +0000)]
Add Ezio.
Kristján Valur Jónsson [Sun, 7 Jun 2009 16:43:23 +0000 (16:43 +0000)]
http://bugs.python.org/issue6192
Add a feature to disable the Nagle algorithm on sockets in TCPServer
Benjamin Peterson [Sun, 7 Jun 2009 16:24:48 +0000 (16:24 +0000)]
backport r73268
Georg Brandl [Sat, 6 Jun 2009 18:21:58 +0000 (18:21 +0000)]
#6224: s/JPython/Jython/, and remove one link to a module nine years old.
Georg Brandl [Sat, 6 Jun 2009 17:51:31 +0000 (17:51 +0000)]
#6204: use a real reference instead of "see later".
Georg Brandl [Sat, 6 Jun 2009 17:50:05 +0000 (17:50 +0000)]
#6211: elaborate a bit on ways to call the function.
Georg Brandl [Sat, 6 Jun 2009 05:54:34 +0000 (05:54 +0000)]
#6206: fix test__locale.