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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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 subprocess

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

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 ___

[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 : 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 would require: -

[issue7077] SysLogHandler can't handle Unicode

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- stage: -> commit review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___ __

[issue5154] OSX broken poll testing doesn't work

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.4, Python 2.5, Python 2.6, Python 3.0 ___ Python tracker ___ __

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

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Anatoly, please current installers that might be fixed. -- nosy: +terry.reedy versions: +Python 2.7 -Python 2.5 ___ Python tracker ___ _

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

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 added the comment: Here is a new patch with doc. -- Added file: http://bugs.python.org/file18394/gc_fini3.patch ___ Python tracker ___ __

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

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 make sense othe

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

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[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 : -- versions: +Python 3.2 -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list ma

[issue9319] segfault when searching modules with help()

2010-08-04 Thread Ron Adam
Ron Adam 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 file encoding. My apologies if

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

2010-08-04 Thread Antoine Pitrou
Antoine Pitrou 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 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 there any pro

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

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list

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

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 : 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", the "-W" implies

[issue3099] On windows, "import nul" always succeed

2010-08-04 Thread Éric Araujo
Éric Araujo added the comment: 3.1 does not use importlib for imports. -- nosy: +merwok ___ Python tracker ___ ___ Python-bugs-list ma

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

2010-08-04 Thread Dave Malcolm
Changes by Dave Malcolm : -- 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 ___

[issue8435] It is possible to observe a mutating frozenset

2010-08-04 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt

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

2010-08-04 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +dmalcolm ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[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 : -- versions: -Python 2.5, Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list ma

[issue4391] optparse: use proper gettext plurals forms

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5 ___ Python tracker ___ ___ Python-bugs-list ma

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

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: rejected -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue7985] access to infinitely recursive list

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 versions: +Python

[issue2090] __import__ with fromlist=

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.5, Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 : -- versions: -Python 2.5, Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue1474680] pickling files works with protocol=2.

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: -Python 2.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue2658] decode_header() fails on multiline headers

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.2 -Python 2.4, Python 2.5 ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

2010-08-04 Thread Robert Buckley
New submission from Robert Buckley : 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: normal status: open titl

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

2010-08-04 Thread Raymond Hettinger
Raymond Hettinger 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 temporarily mutated during the se

[issue4434] Embedding into a shared library fails

2010-08-04 Thread John Levon
John Levon 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 -> open ___

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

2010-08-04 Thread Stefan Krah
Stefan Krah 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] == Solaris-2.11-i86pc-i386-32bi

[issue5723] Incomplete json tests

2010-08-04 Thread joshua williams
Changes by joshua williams : -- nosy: +jowillia ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1754] WindowsError messages are not properly encoded

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 find the file speci

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

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-08-04 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 2.7 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: I doubt it matters much. ctypes and Solaris do not get along well together. -- ___ Python tracker ___ __

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

2010-08-04 Thread Santoso Wijaya
Santoso Wijaya added the comment: Does anyone know of any workaround, for now? -- nosy: +santa4nt ___ Python tracker ___ ___ Python-bu

[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 : 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 good, optimized, pra

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

2010-08-04 Thread Stefan Krah
Stefan Krah 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 : -- nosy: +skrah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue4434] Embedding into a shared library fails

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 source repository ve

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

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 cost to triage ma

[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 : -- Removed message: http://bugs.python.org/msg112918 ___ Python tracker ___ ___ Python-bugs-list mailing li

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

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Anatoly, can you check the behavior of the current 2.7+ installers? Those that might be changed? -- ___ Python tracker ___

[issue4434] Embedding into a shared library fails

2010-08-04 Thread rb
rb 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 that were missing depende

[issue4434] Embedding into a shared library fails

2010-08-04 Thread Terry J. Reedy
Terry J. Reedy 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 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 tracker

[issue7996] concurrency problem in regrtest -jX

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence : -- versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> patch review versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___

[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 : -- assignee: georg.brandl -> d...@python nosy: +d...@python ___ Python tracker ___ ___ Python-bugs-list mail

[issue8052] subprocess close_fds behavior should only close open fds

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> needs patch versions: +Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue8003] Fragile and unexpected error-handling in asyncore

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> unit test needed versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___

[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 : -- versions: +Python 3.2 -Python 2.6, Python 3.0 ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue8161] inconsistency behavior in ctypes.c_char_p dereferencing

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> needs patch versions: +Python 2.7, Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mail

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

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> patch review type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ _

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

2010-08-04 Thread Mark Lawrence
Changes by Mark Lawrence : -- stage: -> patch review type: -> behavior versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___ _

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

2010-08-04 Thread Mark Lawrence
Mark Lawrence 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 : -- nosy: +taleinat, terry.reedy stage: -> needs patch versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker ___

[issue8739] Update to smtpd.py to RFC 5321

2010-08-04 Thread Alberto Trevino
Alberto Trevino added the comment: Sorry. This is my first submission to Python, so I'm learning the process as I go. This latest patch is done against today's SVN snapshot. Just to summarize, it does the following: * Updates the main smtpd.py module to make it RFC 5321 compliant: -

<    1   2   3