]> granicus.if.org Git - python/log
python
14 years agonote version
Benjamin Peterson [Tue, 21 Sep 2010 21:29:26 +0000 (21:29 +0000)]
note version

14 years agofix news
Benjamin Peterson [Tue, 21 Sep 2010 21:28:47 +0000 (21:28 +0000)]
fix news

14 years agoIssue9131: Mark fragile test as CPython-specific
Daniel Stutzbach [Tue, 21 Sep 2010 21:08:09 +0000 (21:08 +0000)]
Issue9131: Mark fragile test as CPython-specific

14 years agoIssue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
Hirokazu Yamamoto [Tue, 21 Sep 2010 18:23:05 +0000 (18:23 +0000)]
Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)

14 years agoIssue #9908: Fix os.stat() on bytes paths under Windows 7.
Antoine Pitrou [Tue, 21 Sep 2010 18:19:07 +0000 (18:19 +0000)]
Issue #9908: Fix os.stat() on bytes paths under Windows 7.

14 years agoFixed microsecond rounding in python version of utcfromtimestamp
Alexander Belopolsky [Tue, 21 Sep 2010 16:30:56 +0000 (16:30 +0000)]
Fixed microsecond rounding in python version of utcfromtimestamp

14 years agoIssue #9899: Fix test_tkinter.test_font on various platforms. Patch by
Antoine Pitrou [Tue, 21 Sep 2010 16:26:09 +0000 (16:26 +0000)]
Issue #9899: Fix test_tkinter.test_font on various platforms.  Patch by
Ned Deily.

14 years agoIssue #2643: msync() is not called anymore when deallocating an open mmap
Antoine Pitrou [Tue, 21 Sep 2010 16:08:27 +0000 (16:08 +0000)]
Issue #2643: msync() is not called anymore when deallocating an open mmap
object, only munmap().

14 years agoRevert r84902 before committing better solution.
Hirokazu Yamamoto [Tue, 21 Sep 2010 16:05:47 +0000 (16:05 +0000)]
Revert r84902 before committing better solution.

14 years agoIssue #1633863: Don't ignore $CC under AIX.
Antoine Pitrou [Tue, 21 Sep 2010 15:19:14 +0000 (15:19 +0000)]
Issue #1633863: Don't ignore $CC under AIX.

14 years ago#9911: doc copyedits.
Georg Brandl [Tue, 21 Sep 2010 14:48:28 +0000 (14:48 +0000)]
#9911: doc copyedits.

14 years agoAdd an entry for the concurrent.futures package
Brian Quinlan [Tue, 21 Sep 2010 12:28:43 +0000 (12:28 +0000)]
Add an entry for the concurrent.futures package

14 years agoAdd missing word.
Marc-André Lemburg [Tue, 21 Sep 2010 11:55:27 +0000 (11:55 +0000)]
Add missing word.

14 years agoAdd OpenSSL license to the Python license documenation page.
Marc-André Lemburg [Tue, 21 Sep 2010 11:37:43 +0000 (11:37 +0000)]
Add OpenSSL license to the Python license documenation page.

See #9119.

14 years agologging: Updated LoggerAdapter implementation.
Vinay Sajip [Tue, 21 Sep 2010 11:31:32 +0000 (11:31 +0000)]
logging: Updated LoggerAdapter implementation.

14 years agoAdded some methods to LoggerAdapter, and updated documentation.
Vinay Sajip [Tue, 21 Sep 2010 11:25:39 +0000 (11:25 +0000)]
Added some methods to LoggerAdapter, and updated documentation.

14 years agoDocument HTTPReponse.fileno() method
Senthil Kumaran [Tue, 21 Sep 2010 01:57:43 +0000 (01:57 +0000)]
Document HTTPReponse.fileno() method

14 years agoadd column offset to all syntax errors
Benjamin Peterson [Mon, 20 Sep 2010 23:02:10 +0000 (23:02 +0000)]
add column offset to all syntax errors

14 years agoadd news note
Benjamin Peterson [Mon, 20 Sep 2010 23:01:33 +0000 (23:01 +0000)]
add news note

14 years agoadd PyErr_SyntaxLocationEx, to support adding a column offset
Benjamin Peterson [Mon, 20 Sep 2010 22:42:10 +0000 (22:42 +0000)]
add PyErr_SyntaxLocationEx, to support adding a column offset

14 years agorewrite nocaret test to not rely on a specific SyntaxError
Benjamin Peterson [Mon, 20 Sep 2010 21:47:37 +0000 (21:47 +0000)]
rewrite nocaret test to not rely on a specific SyntaxError

14 years agoIssue #9901: Destroying the GIL in Py_Finalize() can fail if some other
Antoine Pitrou [Mon, 20 Sep 2010 20:13:48 +0000 (20:13 +0000)]
Issue #9901: Destroying the GIL in Py_Finalize() can fail if some other
threads are still running.  Instead, reinitialize the GIL on a second
call to Py_Initialize().

14 years agotest_get_makefile_filename() is not compatible with Windows.
Barry Warsaw [Mon, 20 Sep 2010 19:12:07 +0000 (19:12 +0000)]
test_get_makefile_filename() is not compatible with Windows.

14 years agoIssue 9877: expose sysconfig.get_makefile_filename() in the public API.
Barry Warsaw [Mon, 20 Sep 2010 15:29:53 +0000 (15:29 +0000)]
Issue 9877: expose sysconfig.get_makefile_filename() in the public API.

14 years agoRevert previous commit.
Hirokazu Yamamoto [Mon, 20 Sep 2010 10:46:56 +0000 (10:46 +0000)]
Revert previous commit.

14 years agologging: hasHandlers additions documented.
Vinay Sajip [Mon, 20 Sep 2010 10:31:18 +0000 (10:31 +0000)]
logging: hasHandlers additions documented.

14 years agoReverted changes which were inadvertently committed.
Vinay Sajip [Mon, 20 Sep 2010 10:29:54 +0000 (10:29 +0000)]
Reverted changes which were inadvertently committed.

14 years agologging: added hasHandlers() to LoggerAdapter.
Vinay Sajip [Mon, 20 Sep 2010 10:13:13 +0000 (10:13 +0000)]
logging: added hasHandlers() to LoggerAdapter.

14 years agoWindows7 buildbot debug trial. (Probably impossible)
Hirokazu Yamamoto [Mon, 20 Sep 2010 09:59:55 +0000 (09:59 +0000)]
Windows7 buildbot debug trial. (Probably impossible)

14 years agologging: Add hasHandlers() method to Logger.
Vinay Sajip [Mon, 20 Sep 2010 09:55:00 +0000 (09:55 +0000)]
logging: Add hasHandlers() method to Logger.

14 years agoMention % as string formatting.
Georg Brandl [Mon, 20 Sep 2010 06:29:01 +0000 (06:29 +0000)]
Mention % as string formatting.

14 years agoFix typo.
Georg Brandl [Mon, 20 Sep 2010 06:27:02 +0000 (06:27 +0000)]
Fix typo.

14 years agoissue 9786 Native TLS support for pthreads
Kristján Valur Jónsson [Mon, 20 Sep 2010 02:11:49 +0000 (02:11 +0000)]
issue 9786 Native TLS support for pthreads
PyThread_create_key now has a failure mode that the applicatino can detect.

14 years agoTry a more robust implementation of _kill_process
Antoine Pitrou [Mon, 20 Sep 2010 01:33:21 +0000 (01:33 +0000)]
Try a more robust implementation of _kill_process

14 years agoTry to fix buildbot failure (#9902)
Antoine Pitrou [Mon, 20 Sep 2010 00:12:19 +0000 (00:12 +0000)]
Try to fix buildbot failure (#9902)

14 years agoMake error more explicit in test_finalize_with_trace
Antoine Pitrou [Sun, 19 Sep 2010 23:28:30 +0000 (23:28 +0000)]
Make error more explicit in test_finalize_with_trace

14 years agoTry to make signal-sending tests in test_subprocess more robust on slow machines
Antoine Pitrou [Sun, 19 Sep 2010 23:06:53 +0000 (23:06 +0000)]
Try to make signal-sending tests in test_subprocess more robust on slow machines

14 years agoTry to fix test_subprocess on "x86 debian parallel 3.x" buildbot
Antoine Pitrou [Sun, 19 Sep 2010 22:46:05 +0000 (22:46 +0000)]
Try to fix test_subprocess on "x86 debian parallel 3.x" buildbot

14 years agoPyImport_Import was using the old import hack of sticking a dummy value into
Brett Cannon [Sun, 19 Sep 2010 21:39:02 +0000 (21:39 +0000)]
PyImport_Import was using the old import hack of sticking a dummy value into
fromlist to get __import__ to return the module desired. Now it uses the proper
approach of fetching the module from sys.modules.

Closes issue #9252. Thanks to Alexander Belopolsky for the bug report.

14 years agoBe more precise as to what operations are supported
Antoine Pitrou [Sun, 19 Sep 2010 13:56:11 +0000 (13:56 +0000)]
Be more precise as to what operations are supported

14 years agoRemove references to read() and write() methods, which are useless synonyms of
Antoine Pitrou [Sun, 19 Sep 2010 13:31:06 +0000 (13:31 +0000)]
Remove references to read() and write() methods, which are useless synonyms of
recv() and send()

14 years agoMention that SSL sockets provide the basic socket API.
Antoine Pitrou [Sun, 19 Sep 2010 13:19:21 +0000 (13:19 +0000)]
Mention that SSL sockets provide the basic socket API.

14 years agoEdit concurrent docs, add versionadded and see also reference to the PEP.
Georg Brandl [Sun, 19 Sep 2010 09:31:09 +0000 (09:31 +0000)]
Edit concurrent docs, add versionadded and see also reference to the PEP.

14 years agoIssue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)
Hirokazu Yamamoto [Sun, 19 Sep 2010 09:24:20 +0000 (09:24 +0000)]
Issue #9552: Avoid unnecessary rebuild of OpenSSL. (Windows)

14 years agoAdd "concurrent" subdir to Makefile.
Georg Brandl [Sun, 19 Sep 2010 08:55:36 +0000 (08:55 +0000)]
Add "concurrent" subdir to Makefile.

14 years agoSet svn:ignore to folders.
Hirokazu Yamamoto [Sun, 19 Sep 2010 08:31:01 +0000 (08:31 +0000)]
Set svn:ignore to folders.

14 years agoedit concurrent.future docs
Benjamin Peterson [Sun, 19 Sep 2010 04:23:17 +0000 (04:23 +0000)]
edit concurrent.future docs

14 years agoset svn:eol-style on concurrent package files
Benjamin Peterson [Sun, 19 Sep 2010 03:55:10 +0000 (03:55 +0000)]
set svn:eol-style on concurrent package files

14 years agoset svn:eol-style on tracedmodules
Benjamin Peterson [Sun, 19 Sep 2010 03:54:31 +0000 (03:54 +0000)]
set svn:eol-style on tracedmodules

14 years agoUpdate the test_distutils mode test to test with umask value properly.
Senthil Kumaran [Sun, 19 Sep 2010 03:09:54 +0000 (03:09 +0000)]
Update the test_distutils mode test to test with umask value properly.

14 years agoIssue #1686: Fix string.Template when overriding the pattern attribute.
Florent Xicluna [Sat, 18 Sep 2010 23:34:07 +0000 (23:34 +0000)]
Issue #1686: Fix string.Template when overriding the pattern attribute.

14 years agoIssue #9854: SocketIO objects now observe the RawIOBase interface in
Antoine Pitrou [Sat, 18 Sep 2010 22:59:00 +0000 (22:59 +0000)]
Issue #9854: SocketIO objects now observe the RawIOBase interface in
non-blocking mode: they return None when an operation would block (instead
of raising an exception).

14 years agoIssue #9895: speed up test_subprocess
Antoine Pitrou [Sat, 18 Sep 2010 22:38:48 +0000 (22:38 +0000)]
Issue #9895: speed up test_subprocess

14 years agoInitial implementation of PEP 3148
Brian Quinlan [Sat, 18 Sep 2010 22:35:02 +0000 (22:35 +0000)]
Initial implementation of PEP 3148

14 years agoIssue #9894: Do not hardcode ENOENT in test_subprocess.
Antoine Pitrou [Sat, 18 Sep 2010 17:56:02 +0000 (17:56 +0000)]
Issue #9894: Do not hardcode ENOENT in test_subprocess.

(GNU/Hurd is not dead)

14 years agoIn Python3000, Tkinter was renamed to tkinter. And print is now function.
Hirokazu Yamamoto [Sat, 18 Sep 2010 04:42:41 +0000 (04:42 +0000)]
In Python3000, Tkinter was renamed to tkinter. And print is now function.

14 years agoApplied r84870 to older compilers.
Hirokazu Yamamoto [Sat, 18 Sep 2010 04:02:52 +0000 (04:02 +0000)]
Applied r84870 to older compilers.

14 years agoAdded missing BaseTest.tearDown(self). Fixed refleak.
Hirokazu Yamamoto [Sat, 18 Sep 2010 03:54:32 +0000 (03:54 +0000)]
Added missing BaseTest.tearDown(self). Fixed refleak.

14 years agoSkip the distutils mode test on Windows OS.
Senthil Kumaran [Sat, 18 Sep 2010 02:55:03 +0000 (02:55 +0000)]
Skip the distutils mode test on Windows OS.

14 years agoregrtest.py now runs python in build/test_python_xxx. (deeper than here)
Hirokazu Yamamoto [Sat, 18 Sep 2010 00:31:44 +0000 (00:31 +0000)]
regrtest.py now runs python in build/test_python_xxx. (deeper than here)
So failed to load tcl/tk dll because $(dist)/tcltk/bin was set to PATH as
relative path. (Windows)

14 years agoRemove unused code in posixmodule.c
Amaury Forgeot d'Arc [Fri, 17 Sep 2010 23:39:42 +0000 (23:39 +0000)]
Remove unused code in posixmodule.c

14 years agoTemporarily commented out test which succeeds locally but fails on buildbots, while...
Vinay Sajip [Fri, 17 Sep 2010 23:35:29 +0000 (23:35 +0000)]
Temporarily commented out test which succeeds locally but fails on buildbots, while investigating.

14 years agoIssue #767645: Set os.path.supports_unicode_filenames to True in posixpath
Victor Stinner [Fri, 17 Sep 2010 23:34:26 +0000 (23:34 +0000)]
Issue #767645: Set os.path.supports_unicode_filenames to True in posixpath

Previous commit changed macpath but macpath is not used anymore as os.path

14 years ago#1730136: Fix comparison between a tk Font object and an object of a different type.
Amaury Forgeot d'Arc [Fri, 17 Sep 2010 23:27:09 +0000 (23:27 +0000)]
#1730136: Fix comparison between a tk Font object and an object of a different type.

14 years agoIssue #9441: logging: Improved test coverage for rotating file handlers.
Vinay Sajip [Fri, 17 Sep 2010 18:57:36 +0000 (18:57 +0000)]
Issue #9441: logging: Improved test coverage for rotating file handlers.

14 years agoFix Issue2236: Distutils' mkpath implementation ignoring the "mode" parameter
Senthil Kumaran [Fri, 17 Sep 2010 16:35:37 +0000 (16:35 +0000)]
Fix Issue2236: Distutils' mkpath implementation ignoring the "mode" parameter

14 years agoImproved Filter documentation.
Vinay Sajip [Fri, 17 Sep 2010 12:45:26 +0000 (12:45 +0000)]
Improved Filter documentation.

14 years agoImproved basicConfig and custom level documentation.
Vinay Sajip [Fri, 17 Sep 2010 10:09:04 +0000 (10:09 +0000)]
Improved basicConfig and custom level documentation.

14 years agoLet's see if tcl/tk test runs on windows buildbot with this fix.
Hirokazu Yamamoto [Fri, 17 Sep 2010 08:53:31 +0000 (08:53 +0000)]
Let's see if tcl/tk test runs on windows buildbot with this fix.

14 years agoFix typo in example regular expression.
Raymond Hettinger [Fri, 17 Sep 2010 06:26:45 +0000 (06:26 +0000)]
Fix typo in example regular expression.

14 years agoIssue 9865: add __sizeof__ to OrderedDict.
Raymond Hettinger [Thu, 16 Sep 2010 19:10:17 +0000 (19:10 +0000)]
Issue 9865:  add __sizeof__ to OrderedDict.

14 years agoIssue #9810: Compile bzip2 source files in python's project file
Hirokazu Yamamoto [Thu, 16 Sep 2010 17:50:57 +0000 (17:50 +0000)]
Issue #9810: Compile bzip2 source files in python's project file
directly. It used to be built with bzip2's makefile.

14 years agoRelax test condition (fix failures on FreeBSD buildbots)
Antoine Pitrou [Thu, 16 Sep 2010 15:04:49 +0000 (15:04 +0000)]
Relax test condition (fix failures on FreeBSD buildbots)

14 years agoAdd tokenizer example to regex docs.
Raymond Hettinger [Thu, 16 Sep 2010 12:02:17 +0000 (12:02 +0000)]
Add tokenizer example to regex docs.

14 years agoRemove unneeded exception chaining.
Raymond Hettinger [Thu, 16 Sep 2010 08:06:05 +0000 (08:06 +0000)]
Remove unneeded exception chaining.

14 years agoImprove comment
Raymond Hettinger [Thu, 16 Sep 2010 00:31:21 +0000 (00:31 +0000)]
Improve comment

14 years agorename DISCONNECTED global constant in _DISCONNECTED
Giampaolo Rodolà [Wed, 15 Sep 2010 21:59:04 +0000 (21:59 +0000)]
rename DISCONNECTED global constant in _DISCONNECTED

14 years agoStore all errors signaling a disconnection into a global frozenset to save some compu...
Giampaolo Rodolà [Wed, 15 Sep 2010 21:43:47 +0000 (21:43 +0000)]
Store all errors signaling a disconnection into a global frozenset to save some computation time on recv() and send().

14 years agoMove library changes to the right section
Antoine Pitrou [Wed, 15 Sep 2010 15:13:17 +0000 (15:13 +0000)]
Move library changes to the right section

14 years agoAdd entries to whatsnew
Antoine Pitrou [Wed, 15 Sep 2010 15:09:40 +0000 (15:09 +0000)]
Add entries to whatsnew

14 years agoTry harder on issue #7356: ctypes.util: Make parsing of ldconfig output
Matthias Klose [Wed, 15 Sep 2010 13:06:09 +0000 (13:06 +0000)]
Try harder on issue #7356: ctypes.util: Make parsing of ldconfig output
independent of the locale. Set LC_ALL=C too.

14 years agoReverted unwanted change in r84826
Antoine Pitrou [Wed, 15 Sep 2010 11:12:57 +0000 (11:12 +0000)]
Reverted unwanted change in r84826

14 years agoAdd cross-references to the glossary entry for file objects.
Antoine Pitrou [Wed, 15 Sep 2010 11:11:28 +0000 (11:11 +0000)]
Add cross-references to the glossary entry for file objects.

14 years agoUpdate file-related information in the FAQ.
Antoine Pitrou [Wed, 15 Sep 2010 10:08:31 +0000 (10:08 +0000)]
Update file-related information in the FAQ.

14 years agoAdd a glossary entry for file objects.
Antoine Pitrou [Wed, 15 Sep 2010 09:58:26 +0000 (09:58 +0000)]
Add a glossary entry for file objects.

14 years agoImprove docs for socket.makefile() and SocketIO
Antoine Pitrou [Wed, 15 Sep 2010 09:32:45 +0000 (09:32 +0000)]
Improve docs for socket.makefile() and SocketIO

14 years agoAdd a comment explaining why SocketIO is needed
Antoine Pitrou [Wed, 15 Sep 2010 08:39:25 +0000 (08:39 +0000)]
Add a comment explaining why SocketIO is needed

14 years agoClarify where support for negative indices fall in the language hierarchy.
Raymond Hettinger [Wed, 15 Sep 2010 00:09:26 +0000 (00:09 +0000)]
Clarify where support for negative indices fall in the language hierarchy.

14 years agoIssue 9802: Document min()/max() sort stability
Raymond Hettinger [Tue, 14 Sep 2010 23:13:42 +0000 (23:13 +0000)]
Issue 9802:  Document min()/max() sort stability

14 years agoFuture proof total_ordering against changes in methods defined on object.
Raymond Hettinger [Tue, 14 Sep 2010 22:55:13 +0000 (22:55 +0000)]
Future proof total_ordering against changes in methods defined on object.

14 years agoMake testDefaults in test.test_socket.BasicSocketPairTest more reliable.
Antoine Pitrou [Tue, 14 Sep 2010 21:24:25 +0000 (21:24 +0000)]
Make testDefaults in test.test_socket.BasicSocketPairTest more reliable.

14 years agosetup.py was trying to build _weakref which is redundant as it's a built-in
Brett Cannon [Tue, 14 Sep 2010 19:41:23 +0000 (19:41 +0000)]
setup.py was trying to build _weakref which is redundant as it's a built-in
module.

Closes issue #9848. Thanks to Arfrever Frehtes Taifersar Arahesis for the bug
report.

14 years agoImprove iteration speed by only proxying back links.
Raymond Hettinger [Tue, 14 Sep 2010 19:40:15 +0000 (19:40 +0000)]
Improve iteration speed by only proxying back links.
The forward links are hard references.
The sentinel element is also a weakref proxy
(to break a forward cylce wrapping around the sentinel).

14 years agoIssue #9854: The default read() implementation in io.RawIOBase now
Antoine Pitrou [Tue, 14 Sep 2010 18:37:24 +0000 (18:37 +0000)]
Issue #9854: The default read() implementation in io.RawIOBase now
handles non-blocking readinto() returning None correctly.

14 years agoIssue #1552: socket.socketpair() now returns regular socket.socket
Antoine Pitrou [Tue, 14 Sep 2010 18:00:02 +0000 (18:00 +0000)]
Issue #1552: socket.socketpair() now returns regular socket.socket
objects supporting the whole socket API (rather than the "raw"
_socket.socket objects).

14 years agoRemove pointers to a FAQ entry that no longer exists. Incorporate some text from...
Daniel Stutzbach [Tue, 14 Sep 2010 16:02:01 +0000 (16:02 +0000)]
Remove pointers to a FAQ entry that no longer exists.  Incorporate some text from the old FAQ into the docs

14 years agoIssue #9853: Fix the signature of SSLSocket.recvfrom() and
Antoine Pitrou [Tue, 14 Sep 2010 14:43:44 +0000 (14:43 +0000)]
Issue #9853: Fix the signature of SSLSocket.recvfrom() and
SSLSocket.sendto() to match the corresponding socket methods.

14 years agoIssue 9315: Added test/tracedmodules to LIBSUBDIRS
Alexander Belopolsky [Tue, 14 Sep 2010 14:12:19 +0000 (14:12 +0000)]
Issue 9315: Added test/tracedmodules to LIBSUBDIRS

14 years agoRemove C++-style comments
Antoine Pitrou [Tue, 14 Sep 2010 10:08:08 +0000 (10:08 +0000)]
Remove C++-style comments

14 years agoDo not print additional shutdown message when gc.DEBUG_SAVEALL is set
Antoine Pitrou [Tue, 14 Sep 2010 09:48:39 +0000 (09:48 +0000)]
Do not print additional shutdown message when gc.DEBUG_SAVEALL is set