[issue8153] 'set' union() fails in specific use case

2010-03-17 Thread Frank Rene Schaefer
Frank Rene Schaefer fsch...@gmail.com added the comment: Thanks, for the comments. I got it. In German we would say 'I was standing on the water hose' ... That is, something was choking the flow of my thoughts. Best Regards Frank -- ___ Python

[issue8161] inconsistency behavior in ctypes.c_char_p dereferencing

2010-03-17 Thread Jackson Yang
New submission from Jackson Yang jackson.y...@augmentum.com: # Python 3.1.2rc1 (r312rc1:78742, Mar 7 2010, 07:49:40) # [MSC v.1500 32 bit (Intel)] on win32 import ctypes class T(ctypes.Structure): _fields_ = ( ('member', ctypes.c_char * 16), ) # dereference a

[issue6541] SpooledTemporaryFile breakages

2010-03-17 Thread Dan
Changes by Dan dan...@ohuiginn.net: -- nosy: +danohuiginn ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6541 ___ ___ Python-bugs-list mailing list

[issue8162] logging.disable() incoherency

2010-03-17 Thread Pascal Chambon
New submission from Pascal Chambon chambon.pas...@gmail.com: Hello I see some trouble in the semantic of logging.disable(lvl) : according to the doc (and docstrings), it's the same as a logger.setLevel(lvl) called on all logger, but in reality it doesn't act the same way : when we call

[issue8163] DictionaryServices module broken in python2.6 and later

2010-03-17 Thread Shashwat Anand
New submission from Shashwat Anand anand.shash...@gmail.com: I am able to call DictionaryServices module from python2.5 and later. However it works correctly only on python2.5. Below is the stack-trace on using DictionaryServices on python2.5, python2.6 and python2.7

[issue8163] DictionaryServices module broken in python2.6 and later

2010-03-17 Thread Senthil Kumaran
Senthil Kumaran orsent...@gmail.com added the comment: This module is not part of Python stdlib. MacOSX might have bundled it by default. Reporting it to Apple might help. -- nosy: +orsenthil resolution: - invalid status: open - closed ___ Python

[issue8163] DictionaryServices module broken in python2.6 and later

2010-03-17 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: See also: * http://pypi.python.org/pypi/pyobjc-framework-DictionaryServices/ -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8163

[issue8142] libffi update to 3.0.9

2010-03-17 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: re-opened to track the issue on Sparc Solaris -- resolution: fixed - stage: - needs patch status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8142

[issue3783] dbm.sqlite proof of concept

2010-03-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3783 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1275] bsddb closing a DB object before all DBCursors using it are closed crashes

2010-03-17 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- resolution: - out of date status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1275 ___

[issue3783] dbm.sqlite proof of concept

2010-03-17 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3783 ___ ___ Python-bugs-list

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-03-17 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Checking the pybsddb 4.8.4devel with current trunk I still see this: It is because the test_early_close module calls resetwarnings(). It defeats the filter in the threading module. You may change the test case with a context

[issue8142] libffi update to 3.0.9

2010-03-17 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: no access to solaris hardware. please could you run the libffi testsuite on this machine? make sure that expect is installed. -- ___ Python tracker rep...@bugs.python.org

[issue8155] Incompatible change to test.test_support.check_warnings behaviour

2010-03-17 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: here come the patch. -- components: +Tests keywords: +easy, patch stage: test needed - patch review versions: +Python 2.7 Added file: http://bugs.python.org/file16572/issue8155_check_warnings_quiet.diff

[issue8162] logging.disable() incoherency

2010-03-17 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- nosy: +vinay.sajip priority: - normal versions: +Python 3.1, Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8162 ___

[issue7092] Test suite emits many DeprecationWarnings when -3 is enabled

2010-03-17 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I took part of Florent latest patch, changed a few things and committed it in r79023. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7092

[issue8155] Incompatible change to test.test_support.check_warnings behaviour

2010-03-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: On a quick read through, the patch looks fine to me. I actually agree it would be nice if we could keep the quiet=True default (since it is a better match for the feature set we want in our own tests), but I see the compatibility issue as a

[issue8155] Incompatible change to test.test_support.check_warnings behaviour

2010-03-17 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: I hesitate to do it differently: with check_warnings(('', RuntimeWarning)): == translate to check_warnings(('', RuntimeWarning), quiet=False) with check_warnings(): == translate to check_warnings(quiet=True) If the developer

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2010-03-17 Thread Jim Smyth
Jim Smyth jimsm...@gmail.com added the comment: Is there any chance of this being resolved in time for any 2.x release? I have a non-blocking application that I recently switched over to SSL and ran into this bug. I can work around it by trying to shorten the messages and beefing up the

[issue8155] Incompatible change to test.test_support.check_warnings behaviour

2010-03-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: On a second look, there are a couple of things missing: - the default value didn't actually get changed! - we should add an explicit test that the no argument behaviour doesn't raise a warning by default Since we don't really have an existing

[issue8162] logging.disable() incoherency

2010-03-17 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I've updated the docstring and documentation to be more precise (r79026). -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8162

[issue8034] logging: Improve error handing in RotatingFileHandler.doRollover()

2010-03-17 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Closing, as no feedback received. Please feel free to reopen when you have the answer to my question! -- resolution: - invalid status: pending - closed ___ Python tracker rep...@bugs.python.org

[issue8142] libffi update to 3.0.9

2010-03-17 Thread Matthias Klose
Matthias Klose d...@debian.org added the comment: the ports which are maintained separately still need an update: libffi_msvc libffi trunk now has a port to x86/msvc. might require some extra updates from libffi. libffi_osx: 3.0.9 has support for darwin on powerpc and x86 libffi_wince:

[issue2531] float compared to decimal is silently incorrect.

2010-03-17 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: For anyone interested, there's an ongoing python-dev discussion about how to resolve this at http://mail.python.org/pipermail/python-dev/2010-March/098437.html -- ___ Python tracker

[issue3928] os.mknod missing on Solaris

2010-03-17 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Sorry, Barry. Don't know what happened. Probably write a followup without reloading the page and undid previous changes. I keep my issues permanently open in firefox tabs. I will try to be more careful. --

[issue8164] (lambda:foo).func_doc

2010-03-17 Thread Armin Rigo
New submission from Armin Rigo ar...@users.sourceforge.net: Lambdas are a bit confused about their docstrings. Usually they don't have any, but: (lambda x: foo+x).func_doc 'foo' -- keywords: easy messages: 101233 nosy: arigo priority: low severity: normal status: open

[issue7512] shutil.copystat may fail EOPNOTSUPP

2010-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - pitrou nosy: +pitrou resolution: - accepted stage: - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7512 ___

[issue7512] shutil.copystat may fail EOPNOTSUPP

2010-03-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: For the record, this seems to break Mercurial on NFS-mounted repositories: http://www.selenic.com/pipermail/mercurial/2010-March/030716.html -- ___ Python tracker rep...@bugs.python.org

[issue7512] shutil.copystat may fail EOPNOTSUPP

2010-03-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Barry, I suppose this doesn't warrant being a release blocker for 2.6.5, but in any case you're welcome to advise. -- nosy: +barry ___ Python tracker rep...@bugs.python.org

[issue3890] ssl.SSLSocket.recv() implementation may not work with non-blocking sockets

2010-03-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Will apply after 2.6.5. -- assignee: - pitrou resolution: - accepted stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3890

[issue7682] Optimisation of if with constant expression

2010-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7682 ___ ___ Python-bugs-list mailing

[issue2746] ElementTree ProcessingInstruction uses character entities in content

2010-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +flox resolution: accepted - fixed status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2746 ___

[issue3783] dbm.sqlite proof of concept

2010-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- type: behavior - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3783 ___ ___

[issue3580] failures in test_os

2010-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: pitrou - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3580 ___ ___ Python-bugs-list

[issue3581] failures in test_uuid

2010-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: pitrou - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3581 ___ ___ Python-bugs-list

[issue1518] Fast globals/builtins access (patch)

2010-03-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There probably isn't any point in such a complication, until perhaps we have a JIT that magnifies the improvement. (but I assume the JIT will be able to treat references to globals and builtins as frozen using its own logic) --

[issue1518] Fast globals/builtins access (patch)

2010-03-17 Thread Collin Winter
Collin Winter coll...@gmail.com added the comment: Antoine: yes, this optimization is already implemented in the Unladen JIT. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1518 ___

[issue1518] Fast globals/builtins access (patch)

2010-03-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks Collin, recommend closing then. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1518 ___

[issue477863] New gc work

2010-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue477863 ___ ___ Python-bugs-list mailing

[issue477863] Print warning at shutdown if gc.garbage not empty

2010-03-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- stage: - needs patch title: New gc work - Print warning at shutdown if gc.garbage not empty versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue477863

[issue8162] logging.disable() incoherency

2010-03-17 Thread Pascal Chambon
Pascal Chambon chambon.pas...@gmail.com added the comment: Thanks you B-) I guess it's not important if messages of severity 0 will allways be ignored with the current semantic ? -- ___ Python tracker rep...@bugs.python.org

[issue8155] Incompatible change to test.test_support.check_warnings behaviour

2010-03-17 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: Removed file: http://bugs.python.org/file16572/issue8155_check_warnings_quiet.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8155 ___

[issue8155] Incompatible change to test.test_support.check_warnings behaviour

2010-03-17 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Patch updated. -- Added file: http://bugs.python.org/file16573/issue8155_check_warnings_quiet_v2.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8155

[issue8165] logging.handlers.RotatingFileHandler fails when delay parameter is set to True

2010-03-17 Thread Eli Courtwright
New submission from Eli Courtwright eli.courtwri...@gmail.com: Here's a summary of the issue (also presented at http://stackoverflow.com/questions/2465073) When I run the following code {{{ import logging from logging.handlers import RotatingFileHandler rfh = RotatingFileHandler(testing.log,

[issue8165] logging.handlers.RotatingFileHandler fails when delay parameter is set to True

2010-03-17 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- assignee: - vinay.sajip nosy: +vinay.sajip ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8165 ___

[issue8164] (lambda:foo).func_doc

2010-03-17 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Fixed in r79034. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8164

[issue8155] Incompatible change to test.test_support.check_warnings behaviour

2010-03-17 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Ah, I didn't notice that there were already tests for this in test_warnings (that's what I get for commenting late at night). Updated patch looks good. -- ___ Python tracker rep...@bugs.python.org

[issue8162] logging.disable() incoherency

2010-03-17 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: - Original Message From: Pascal Chambon rep...@bugs.python.org I guess it's not important if messages of severity 0 will allways be ignored with the current semantic ? Levels are supposed to be positive integers, zero is a

[issue8104] socket.recv_into doesn't support a memoryview as an argument

2010-03-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in trunk, and additional tests ported to py3k. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7512] shutil.copystat may fail EOPNOTSUPP

2010-03-17 Thread Joerg Sonnenberger
Joerg Sonnenberger jo...@netbsd.org added the comment: A better approach might be to change the function to: def copystat(src, dst): st = os.stat(src) st_dst = os.stat(dst) mode = stat.S_IMODE(st.st_mode) mode_dst = stat.S_IMODE(st_dst.st_mode) if hasattr(os, 'utime'): if

[issue8165] logging.handlers.RotatingFileHandler fails when delay parameter is set to True

2010-03-17 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: Please check that there is nothing wrong with your Python installation. I get this result: vi...@eta-jaunty:~/projects/scratch$ ls testing.log ls: cannot access testing.log: No such file or directory vi...@eta-jaunty:~/projects/scratch$

[issue8165] logging.handlers.RotatingFileHandler fails when delay parameter is set to True

2010-03-17 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I've investigated: this issue was fixed in r68829 dated 20 Jan, 2009. This was after the release of 2.6.1 but before the release of 2.6.2. Please upgrade to Python 2.6.2. -- resolution: works for me - out of date status: pending -

[issue8165] logging.handlers.RotatingFileHandler fails when delay parameter is set to True

2010-03-17 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: I've investigated: this issue was fixed in r68829 dated 20 Jan, 2009. This was after the release of 2.6.1 but before the release of 2.6.2. Please upgrade to Python 2.6.2. -- ___ Python tracker

[issue8165] logging.handlers.RotatingFileHandler fails when delay parameter is set to True

2010-03-17 Thread Vinay Sajip
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk: -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8165 ___ ___ Python-bugs-list mailing list

[issue8166] hashlib constructors for sha224, sha256, sha384, sha512 missing in Python 3.1.2rc1 with openssl 0.9.7

2010-03-17 Thread Ned Deily
New submission from Ned Deily n...@acm.org: 3.1.2 Release Blocker If Python 3.1.2rc1 is built with openssl 0.9.7 (which lacks support for sha256 and sha512), hashlib is supposed to substitute use of built-in C implementations for them. With 3.1.2rc1, the built-in versions are available via

[issue8166] hashlib constructors for sha224, sha256, sha384, sha512 missing in Python 3.1.2rc1 with openssl 0.9.7

2010-03-17 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Should be: Still later, r77608 was auto-merged [...] -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8166 ___