[issue5476] datetime: timedelta(minutes = i) silently fails with numpy.int32 input

2010-08-04 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: This is clearly an invalid issue for python, but I wanted to keep it open until I or someone else gets a chance to report it to numpy project. I was hoping to close this with a link to numpy tracker. --

[issue6251] c++ extension module implementation guide/example in extending/embedding documentation

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I suggest you put your example on the Python wiki or even Python cookbook site. Or announce on Python list and you should get some feedback from C++ users. I am closing this until there is some. Writing it against 3.x capi would be more

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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: - use test.script_helper.run_python rather than rolling your own run_command (or, at least, just make run_command a thin wrapper around run_python). I've been trying to trim down the number of different ways the test suite launches interpreter

[issue8938] Mac OS dialogs(Save As..., Load) translation

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This should be closed unless there is a verified problem with 2.7 or 3.1. -- nosy: +terry.reedy versions: +Python 2.7 -Python 2.5 ___ Python tracker rep...@bugs.python.org

[issue9517] Make test.script_helper more comprehensive, and use it in the test suite

2010-08-04 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: test.script_helper has a couple of dedicated functions to launch a Python interpreter instance in a subprocess. Unfortunately, it is little used and most test modules use their own ad hoc calls to subprocess instead. Remedying the situation

[issue7077] SysLogHandler can't handle Unicode

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- stage: - commit review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7077 ___

[issue5154] OSX broken poll testing doesn't work

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.4, Python 2.5, Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5154

[issue6310] Windows App Paths key is not checked when installed for current user

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Anatoly, please current installers that might be fixed. -- nosy: +terry.reedy versions: +Python 2.7 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6310

[issue5319] I/O error during one-liner fails to return OS error status

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Georg, are you saying that there is or is not a problem with 2.6 (which is beyond non-critical bug fixes) and/or 3.1? -- nosy: +terry.reedy versions: +Python 2.7 -Python 2.5 ___ Python tracker

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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a new patch with doc. -- Added file: http://bugs.python.org/file18394/gc_fini3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue477863

[issue9512] logging.handlers.RotatingFileHandler - mode argument not respected

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I presume your report is about the fact that the mode is 'a' even though you specified 'a+'. The answer is this block from RotatingFileHandler.__init__ (3.1.2, but presume same for 2.x): if maxBytes 0: mode = 'a' # doesn't

[issue4430] time.strptime does not allow same format directive twice

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4430 ___

[issue2233] Makefile.pre.in contains extra slash before $(DESTDIR) which can cause Cygwin build to fail

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.2 -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2233 ___

[issue9319] segfault when searching modules with help()

2010-08-04 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: I added you to this Victor because it looks like what your doing to rewrite the imports to work with Unicode (issue:9425) overlaps this. See the test in the patch. Your rewrite may fix this as the segfault has to do with getting the

[issue5319] I/O error during one-liner fails to return OS error status

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a possible patch for 3.x. It doesn't change the return status of the process, though. -- keywords: +patch nosy: +pitrou versions: +Python 3.1, Python 3.2 Added file: http://bugs.python.org/file18395/devfull.patch

[issue3099] On windows, import nul always succeed

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: it is likely that the new import library will correct the problem. Did it? With standard 3.1.2, import nul ... ImportError: DLL load failed: The specified module could not be found. import con ... ImportError: No module named con So is

[issue1517993] IDLE: config-main.def contains windows-specific settings

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1517993 ___

[issue5765] stack overflow evaluating eval(() * 30000)

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: On 3.1.2, WinXP, I immediately get TypeError: 'tuple' object is not callable so this seems to have been fixed for 3.x. If released 2.7 is ok, we can close this. -- nosy: +terry.reedy versions: -Python 2.5, Python 2.6, Python 3.0

[issue9518] PyModuleDef_HEAD_INIT does not explicitly initial all fields of m_base

2010-08-04 Thread Dave Malcolm
New submission from Dave Malcolm dmalc...@redhat.com: Attempting to compile Python 3 extension modules on GCC with -Wmissing-field-initializers enabled leads to warnings from the PyModuleDef_HEAD_INIT macro Seen attempting to build SELinux python bindings against python 3.1 with -W -Werror,

[issue3099] On windows, import nul always succeed

2010-08-04 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: 3.1 does not use importlib for imports. -- nosy: +merwok ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3099 ___

[issue9518] PyModuleDef_HEAD_INIT does not explicitly initialize all fields of m_base

2010-08-04 Thread Dave Malcolm
Changes by Dave Malcolm dmalc...@redhat.com: -- title: PyModuleDef_HEAD_INIT does not explicitly initial all fields of m_base - PyModuleDef_HEAD_INIT does not explicitly initialize all fields of m_base ___ Python tracker rep...@bugs.python.org

[issue8435] It is possible to observe a mutating frozenset

2010-08-04 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8435 ___ ___ Python-bugs-list

[issue9514] platform.linux_distribution() under Ubuntu returns ('debian', 'squeeze/sid', '')

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +dmalcolm ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9514 ___ ___ Python-bugs-list mailing

[issue5251] contextlib.nested inconsistent with, well, nested with statements due exceptions raised in __enter__

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5251 ___ ___

[issue1823] Possible to set invalid Content-Transfer-Encoding on email.mime.multipart.MIMEMultipart

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1823 ___

[issue4391] optparse: use proper gettext plurals forms

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4391 ___

[issue1985] Bug/Patch: Problem with xml/__init__.py when using freeze.py

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: rejected - wont fix status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1985 ___

[issue7985] access to infinitely recursive list

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: This is a close duplicate of issue5765. Except that #5765 is apparently not a 3.x issue, while this example, WinXP, 3.1.2 crashes the command window in about 5 sec, while IDLE gets locked (^C does not break). -- nosy: +terry.reedy

[issue2090] __import__ with fromlist=

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2090 ___ ___

[issue3467] sqlite3 path is hard coded in setup.py

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: If anyone reopens this, change the version to the then current trunk version if 3.2 is already out. -- resolution: - later status: open - closed type: compile error - feature request versions: +Python 3.2 -Python 2.5

[issue1474680] pickling files works with protocol=2.

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.5, Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1474680 ___ ___

[issue1474680] pickling files works with protocol=2.

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: -Python 2.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1474680 ___ ___

[issue2658] decode_header() fails on multiline headers

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.2 -Python 2.4, Python 2.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2658 ___

[issue9519] IDLE cannot do example 4.1 in tutorial (if statements)

2010-08-04 Thread Robert Buckley
New submission from Robert Buckley drbuc...@comcast.net: In both Python 2.7 and 3.1 the IDLE is unable to handle example 4.1 in the tutorial (if statements). Works OK with the command line shell, but not the IDLE shell. -- messages: 112930 nosy: drbuckle priority: normal severity:

[issue8757] Automatic set-to-frozenset conversions not thread-safe

2010-08-04 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: FWIW, the current docs adequately cover the existing situation: Note, the elem argument to the __contains__(), remove(), and discard() methods may be a set. To support searching for an equivalent frozenset, the elem set is

[issue4434] Embedding into a shared library fails

2010-08-04 Thread John Levon
John Levon movem...@users.sourceforge.net added the comment: Terry, what in the above discussion leads you to believe there is no bug? The original complaint Python cannot be embedded in shared library due to dependency problems with lib-dynload is still valid. -- status: pending -

[issue2401] Solaris: ctypes tests being skipped despite following #1516

2010-08-04 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Well, with release-2.7 test_ctypes segfaults om OpenSolaris: make: *** [test] Segmentation Fault (core dumped) ./python -Wd -3 -E -tt ./Lib/test/regrtest.py -l == CPython 2.7.0+ (release27-maint:82854, Jul 13 2010, 19:49:12) [C] ==

[issue5723] Incomplete json tests

2010-08-04 Thread joshua williams
Changes by joshua williams jowil...@gmail.com: -- nosy: +jowillia ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5723 ___ ___ Python-bugs-list

[issue1754] WindowsError messages are not properly encoded

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: The message is definitely an str (unicode) string. WinXP,3.1.2, import os try: os.rmdir('nonexist') except Exception as e: print(repr(e.args[1]), '\n', repr(e.strerror), '\n', e.filename) os.rmdir('nonexist') # prints 'The system cannot

[issue6029] FAIL: test_longdouble (ctypes.test.test_callbacks.Callbacks) [SPARC/64-bit]

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6029 ___ ___

[issue2552] test_ctypes failed Python 2.6a2 Solaris 10 SUN C

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2552 ___ ___

[issue5289] ctypes.util.find_library does not work under Solaris

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5289 ___ ___

[issue2401] Solaris: ctypes tests being skipped despite following #1516

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I doubt it matters much. ctypes and Solaris do not get along well together. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2401 ___

[issue6792] Distutils-based installer does not detect 64bit versions of Python

2010-08-04 Thread Santoso Wijaya
Santoso Wijaya santa@me.com added the comment: Does anyone know of any workaround, for now? -- nosy: +santa4nt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6792 ___

[issue9520] Add Patricia Trie high performance container (python's defaultdict(int) is unusable on datasets with 10, 000, 000+ keys.)

2010-08-04 Thread Dmitry Chichkov
New submission from Dmitry Chichkov dchich...@gmail.com: On large data sets (10-100 million keys) the default python dictionary implementation fails to meet memory and performance constraints. It also apparently fails to keep O(1) complexity (after just 1M keys). As such, there is a need for

[issue2401] Solaris: ctypes tests being skipped despite following #1516

2010-08-04 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: As I understand, this report was about test_ctypes being skipped. This is not the case anymore, so I agree that setting the issue to pending is fine. I can open another issue for the segfault. -- status: open - pending

[issue2552] test_ctypes failed Python 2.6a2 Solaris 10 SUN C

2010-08-04 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2552 ___ ___ Python-bugs-list

[issue4434] Embedding into a shared library fails

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I carefully and specifically questioned the existence of current 'Python bug', which is what this tracker is for. For Linux, that would mean a bug in any of the source files in a current 2.7, 3.1.2, or 3.2.1a1 tarball release or the newer

[issue5476] datetime: timedelta(minutes = i) silently fails with numpy.int32 input

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: A link can be added at any time. Closing does nothing except remove an issue from searches of open issues. Please close this or allow me to. There is a cost to keeping things like this open -- the puzzlement of anyone reading it and the time

[issue6310] Windows App Paths key is not checked when installed for current user

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- Removed message: http://bugs.python.org/msg112918 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6310 ___

[issue6310] Windows App Paths key is not checked when installed for current user

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: Anatoly, can you check the behavior of the current 2.7+ installers? Those that might be changed? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6310

[issue4434] Embedding into a shared library fails

2010-08-04 Thread rb
rb rb-os...@justgohome.co.uk added the comment: Original reporter here. lib-dynload is part of Python's dynamic loading mechanism. Perhaps somewhere like Python/dynload_dl.c is the relevant code? Lib seemed like the right place to put the bug at the time, since it was the stdlib module files

[issue4434] Embedding into a shared library fails

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: perhaps Extension Modules would have been better? For future reference (like if some 3.x is not ok), yes So it seems that this bug has been fixed at some point since 2.5. Great! -- resolution: invalid - out of date

[issue9520] Add Patricia Trie high performance container (python's defaultdict(int) is unusable on datasets with 10, 000, 000+ keys.)

2010-08-04 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: I think it would be better to propose this on the python-ideas mailing list. -- nosy: +ezio.melotti, rhettinger type: performance - feature request versions: -Python 3.1, Python 3.3 ___ Python

[issue7996] concurrency problem in regrtest -jX

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7996 ___ ___

[issue8027] distutils fail to determine c++ linker with unixcompiler if using ccache

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- stage: - patch review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8027 ___

[issue8041] No documentation for Py_TPFLAGS_HAVE_STACKLESS_EXTENSION or Py_TPFLAGS_HAVE_VERSION_TAG.

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- assignee: georg.brandl - d...@python nosy: +d...@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8041 ___

[issue8052] subprocess close_fds behavior should only close open fds

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- stage: - needs patch versions: +Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8052 ___

[issue8003] Fragile and unexpected error-handling in asyncore

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- stage: - unit test needed versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8003

[issue5879] multiprocessing - example pool of http servers fails on windows socket has no attribute fromfd

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5879 ___

[issue8161] inconsistency behavior in ctypes.c_char_p dereferencing

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- stage: - needs patch versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8161 ___

[issue8170] Wrong Paths for distutils build --plat-name=win-amd64

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- stage: - patch review type: - behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8170

[issue8171] bdist_wininst builds wrongly for --plat-name=win-amd64

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- stage: - patch review type: - behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8171

[issue8184] multiprocessing.managers will not fail if listening ocket already in use

2010-08-04 Thread Mark Lawrence
Mark Lawrence breamore...@yahoo.co.uk added the comment: Ran code snippet on Windows Vista with 3.1.2 and it ran fine. I'll close this unless anyone objects. -- nosy: +BreamoreBoy resolution: - fixed status: open - pending ___ Python tracker

[issue8285] IDLE not smart indenting correctly in nested statements

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +taleinat, terry.reedy stage: - needs patch versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8285

<    1   2   3   4