[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7
New submission from Brett Cannon br...@python.org: I believe r72863 broke building on OS X. If you uncomment the ``-lintl`` part for _localemodule.c in Modules/Setup then Python 3.1 builds. Below is the linkage error that Tarek and I both independently ran into. gcc -L/Users/brett/usr/lib -L/Users/brett/.local/lib -L/unix/lib -L/unix/macports/lib -L/Developer/usr/lib -framework CoreFoundation -o python.exe \ Modules/python.o \ libpython3.1.a -ldl Undefined symbols: _libintl_textdomain, referenced from: _PyIntl_textdomain in libpython3.1.a(_localemodule.o) _libintl_dgettext, referenced from: _PyIntl_dgettext in libpython3.1.a(_localemodule.o) _libintl_dcgettext, referenced from: _PyIntl_dcgettext in libpython3.1.a(_localemodule.o) _libintl_bindtextdomain, referenced from: _PyIntl_bindtextdomain in libpython3.1.a(_localemodule.o) _libintl_gettext, referenced from: _PyIntl_gettext in libpython3.1.a(_localemodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [python.exe] Error 1 -- assignee: benjamin.peterson components: Build messages: 88594 nosy: benjamin.peterson, brett.cannon, tarek priority: release blocker severity: normal status: open title: Python 3.1 rc1 will not build on OS X 10.5.7 type: behavior versions: Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6154 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6152] Parallel regression testing
Changes by Antoine Pitrou pit...@free.fr: Removed file: http://bugs.python.org/file14126/regrtest.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6152 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6152] Parallel regression testing
Antoine Pitrou pit...@free.fr added the comment: Updated patch, taking into account the '-u' option. -- Added file: http://bugs.python.org/file14127/regrtest.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6152 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6152] Parallel regression testing
Antoine Pitrou pit...@free.fr added the comment: Committed in r73072, waiting for the 3.1 release to merge in py3k. -- assignee: - pitrou resolution: - accepted stage: patch review - commit review versions: -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6152 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7
Benjamin Peterson benja...@python.org added the comment: Sorry to be pulling you into this, but would you see if this patch fixes your woes? -- keywords: +patch Added file: http://bugs.python.org/file14128/locale_fix.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6154 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7
Roumen Petrov bugtr...@roumenpetrov.info added the comment: Benjamin, configure script check for function textdomain in libintl. -- nosy: +rpetrov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6154 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6155] logging example uses unavailable cPickle module
New submission from Michael Newman michael.b.new...@gmail.com: The server portion of the example at: 15.6.9. Sending and receiving logging events across a network http://docs.python.org/3.0/library/logging.html uses import cPickle which is not available for Python 3.0.1 Python 3.0.1 (r301:69561, Feb 13 2009, 20:04:18) [MSC v.1500 32 bit (Intel)] on win32 Type help, copyright, credits or license for more information. import cPickle Traceback (most recent call last): File stdin, line 1, in module ImportError: No module named cPickle Alternatively, I tried to run the example from a script: G:\Programming\python3\module_logging\SocketHandler_exampleserver.py Traceback (most recent call last): File G:\Programming\python3\module_logging\SocketHandler_example\server.py, line 4, in module import cPickle ImportError: No module named cPickle I fixed it by changing: import cPickle to import pickle and return cPickle.loads(data) to return pickle.loads(data) -- assignee: georg.brandl components: Documentation messages: 88599 nosy: georg.brandl, mnewman severity: normal status: open title: logging example uses unavailable cPickle module versions: Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6155 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6156] Error compiling valid regex
New submission from Daniel Eloff dan.el...@gmail.com: This works: r'([xy])(?:\1)+' This won't compile, error: nothing to repeat r'([xy])(?:\s*\1)+' I can execute this under other regex engines, and it seems to me that it really should work. -- components: Library (Lib) messages: 88600 nosy: Eloff severity: normal status: open title: Error compiling valid regex type: behavior versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6156 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6155] logging example uses unavailable cPickle module
Georg Brandl ge...@python.org added the comment: Thanks, fixed in r73075. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6155 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6153] email parsing - Rare Failure
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - barry nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6153 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6137] Pickle migration: Should pickle map copy_reg to copyreg?
Antoine Pitrou pit...@free.fr added the comment: If I understood correctly, #3675 is about making pickle data generated by Python 3 readable by Python 2. Only if a protocol = 2 is specified. Therefore it seems it's only a matter of translating module names. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6137 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7
Erick Tryzelaar idade...@users.sourceforge.net added the comment: Benjamin, I just applied that patch but I still got the same error: /usr/bin/libtool -o Python.framework/Versions/3.1/Python -dynamic libpython3.1.a \ -lSystem -lSystemStubs -arch_only i386 - install_name /opt/local/Library/Frameworks/Python.framework/Versions/3.1/Python - compatibility_version 3.1 -current_version 3.1 -framework CoreFoundation;\ fi Undefined symbols: _libintl_textdomain, referenced from: _PyIntl_textdomain in libpython3.1.a(_localemodule.o) _libintl_dgettext, referenced from: _PyIntl_dgettext in libpython3.1.a(_localemodule.o) _libintl_dcgettext, referenced from: _PyIntl_dcgettext in libpython3.1.a(_localemodule.o) _libintl_bindtextdomain, referenced from: _PyIntl_bindtextdomain in libpython3.1.a(_localemodule.o) _libintl_gettext, referenced from: _PyIntl_gettext in libpython3.1.a(_localemodule.o) ld: symbol(s) not found /usr/bin/libtool: internal link edit command failed -- nosy: +erickt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6154 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7
Brett Cannon br...@python.org added the comment: Still fails because you are now no longer compiling against CoreFoundation. Probably need both CoreFoundation and intl: gcc -L/Users/brett/usr/lib -L/Users/brett/.local/lib -L/unix/lib -L/unix/macports/lib -L/Developer/usr/lib -lintl -o python.exe \ Modules/python.o \ libpython3.1.a -ldl Undefined symbols: _CFStringConvertEncodingToIANACharSetName, referenced from: _mac_getscript in libpython3.1.a(_localemodule.o) _CFStringGetSystemEncoding, referenced from: _mac_getscript in libpython3.1.a(_localemodule.o) _CFStringGetCStringPtr, referenced from: _mac_getscript in libpython3.1.a(_localemodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6154 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6156] Error compiling valid regex
Matthew Barnett pyt...@mrabarnett.plus.com added the comment: I agree that it's a bug. A workaround is r'([xy])(?:\s{0,65534}\1)+'. A repeat of 65535 is treated as unlimited (but no warning is given). -- nosy: +mrabarnett ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6156 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3848] select.epoll calling register with the same fd fails
R. David Murray rdmur...@bitdance.com added the comment: Committed (with fix to doc patch) to trunk in r73077, 26 in r73078, py3k in r73079, and 30 in r73081. -- nosy: +r.david.murray resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue3848 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.
New submission from Guilherme Polo ggp...@gmail.com: Hi, While testing Tkinter.Text I've found some problems and it would be good to fix them in trunk. The methods edit_redo, edit_reset, edit_separator and edit_undo doesn't return anything, so I would suggest to remove the return statements there. The debug method doesn't return a boolean when we set a value for the debug option, so the getboolean function fails: import Tkinter text = Tkinter.Text() text.debug() False text.debug(1) ... _tkinter.TclError: expected boolean value but got I'm also suggesting a change in the bbox signature. Right now it supports receiving multiple args, but the bbox command in Tcl expects a single item as the index. I believe it makes more sense to indicate that it accepts a single argument. An index like '1.0 +1c' needs to either be passed as '1.0 +1c' or ('1.0', '+1c') (a tuple holding the two parts), not as '1.0', '+1c' (two arguments). -- components: Tkinter files: tkinter_text_changes.diff keywords: patch messages: 88607 nosy: gpolo severity: normal status: open title: Tkinter.Text: changes for bbox, debug, and edit methods. versions: Python 2.7, Python 3.1 Added file: http://bugs.python.org/file14129/tkinter_text_changes.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6157 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7
Mark Dickinson dicki...@gmail.com added the comment: I don't see Brett's failure with a straight './configure make' issued from the top directory of a clean svn py3k checkout (r73082), but I do see it with: CC=gcc -I/opt/local/include -L/opt/local/lib ./configure make I'm on OS X 10.5.7, and have a MacPorts version of libintl installed as /opt/local/lib/libintl.dylib. The configure script correctly defines HAVE_LIBINTL_H to 1, and later detects that libintl *is* needed, and consequently defines WITH_LIBINTL, but then as far as I can tell does nothing further with that define. In the patch (locale_fix.patch), I don't understand this bit: +if test $have_intl +then + LINKFORSHARED=$extra_undefs -lintl +else + LINKFORSHARED=$extra_undefs -framework CoreFoundation +fi Why is the -framework CoreFoundation bit not included if $have_intl is set? When I apply your patch and rebuild as above I get a different failure: gcc -I/opt/local/include -L/opt/local/lib -lintl -o python.exe \ Modules/python.o \ libpython3.1.a -ldl Undefined symbols: _CFStringConvertEncodingToIANACharSetName, referenced from: _PyLocale_getdefaultlocale in libpython3.1.a(_localemodule.o) _CFStringGetSystemEncoding, referenced from: _PyLocale_getdefaultlocale in libpython3.1.a(_localemodule.o) _CFStringGetCStringPtr, referenced from: _PyLocale_getdefaultlocale in libpython3.1.a(_localemodule.o) ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [python.exe] Error 1 But if I apply your patch and also add the -framework CoreFoundation bit back in, then the build succeeds. Also note that there's already a check for whether libintl is needed in configure.in, at around line 1820: # check if we need libintl for locale functions AC_CHECK_LIB(intl, textdomain, AC_DEFINE(WITH_LIBINTL, 1, [Define to 1 if libintl is needed for locale functions.])) Probably we don't need both checks. And a nitpick: it looks as though the tabbing in your patch isn't consistent with the surrounding configure code. -- nosy: +marketdickinson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6154 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows
Jason R. Coombs jar...@jaraco.com added the comment: I've completed another draft patch. This new one separates the implementation of lstat and stat for windows, the latter which traverses symlinks for the target. I've tested this. It compiles and runs under Windows Vista. It works correctly with file symlinks. It fails to correctly detect that a directory symlink is a symlink. This is due to the fact that Windows symlinks can also be directories, and the os.islink which calls stat.S_ISLNK doesn't mask out the directory bit when checking for symlinkness. I see a few possible solutions: 1) Change S_ISLNK to mask of the directory bit when in Windows. 2) Change os.islink to perform a different test when in Windows. 3) Change the implementation of win32_lstat and win32_lstat_w to erase the directory bit when the path is a link. At first glance, option 3 seems the most promising, but it hides the fact that Windows cares about the directoryness of a symlink. It is possible, for example, to have a directory symlink referring to a file object in the file system. S_ISDIR would be true for the symlink and false for the target. I think I'm going to implement approach 3 in a subsequent patch unless I hear objections. I also still need to implement Martin's two suggestions (release kernel32 handle, inline functions). But I wanted to share this patch for any suggestions. -- Added file: http://bugs.python.org/file14130/windows symlink draft 4.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5675] string module requires bytes type for maketrans, but calling method on regular string does not
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: The bytearray.maketrans() method isn't documented yet. -- components: +Documentation -Interpreter Core nosy: +rhettinger status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5675 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2443] uninitialized access to va_list
R. David Murray rdmur...@bitdance.com added the comment: Reducing the priority and updating the target releases, since from the discussion there doesn't appear to be a bug here. -- nosy: +r.david.murray priority: critical - normal stage: - commit review versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6, Python 3.0 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2443 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5675] string module requires bytes type for maketrans, but calling method on regular string does not
Georg Brandl ge...@python.org added the comment: Should be fixed in r73086. -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5675 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2919] Merge profile/cProfile in 3.0
Jean Brouwers mrje...@gmail.com added the comment: Attached is *an* attempt to combine the old profile/cProfile modules into a single one called profile. Only the C and Python source and test files are included, not any documentation files. More details are in the README file, copied below. Hopefully, this is useful. /Jean Brouwers These are the modified files to replace the old profile module with the fast cProfile one and rename the latter. A complete list and description follow. ./README ./profileNEW/setup.py ./profileNEW/Lib/profile.py ./profileNEW/Lib/test/profilee.py ./profileNEW/Lib/test/test_profile.py ./profileNEW/Modules/_profile.c ./profilePy3k/setup.py ./profilePy3k/Lib/profile.py ./profilePy3k/Lib/test/profilee.py ./profilePy3k/Lib/test/test_cprofile.py ./profilePy3k/Lib/test/test_profile.py ./profilePy3k/Modules/_lsprof.c ./diff_-u_profilePy3k_Modules_lsprof.c_profileNEW_Modules_profile.c.txt ./diff_-ur_profilePy3k_profileNEW.txt ./_profile_hires.c Directory profileNEW contains all the source and test files in their corresponding directories. Directory profilePy3k contains the old, original files from the py3k trunk taken on May 31, 2009. Basically, the old _lsprof.c file has been modified and renamed to _profile.c. Both old test_profile.py and test_cprofile.py files have been combined into a single new file test_profile.py. The file diff_-ur_profilePy3k_profileNEW.txt contains the forward diffences between all the new and orginal files. File diff_-u_profilePy3k_Modules_lsprof.c_profileNEW_Modules_profile.c.txt contains just the differences between the old _lsprof.c and new _profile.c files. Lastly, for your consideration, file _profile_hires.c is the new _profile.c file enhanced to use a high resolution timer, see http://bugs.python.org/issue2281. This file would replace the _profile.c file in the profileNEW/Modules directory. The new files and tests were installed in a Python 3.0.1 build and compiled and tested on MacOS X 10.4.11 Tiger (Intel). The patches from issue 5330 were also installed in this build, see http://bugs.python.org/issue5330. All tests passed after regenerating the expected results % python.exe Lib/test/test_profile.py -r Regenerating Lib/test/test_profile.py... % python.exe Lib/test/test_profile.py test_bad_counter_during_dealloc (__main__.ProfileTest) ... ok test_calling_conventions (__main__.ProfileTest) ... ok test_profile (__main__.ProfileTest) ... ok -- Ran 3 tests in 0.017s OK -- nosy: +MrJean1 Added file: http://bugs.python.org/file14131/profile_module.tgz ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2919 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2919] Merge profile/cProfile in 3.0
Brett Cannon br...@python.org added the comment: Thanks for the code, Jean. With Python 3.1 about to go out the door this will have to be a 3.2 thing. But I plan to start looking at this module merge some time in July so I should get to looking at what you did then (unless someone beats me to it). -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2919 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7
Brett Cannon br...@python.org added the comment: I do have intl installed through MacPorts so I am sure Mark's right that having intl installed as well as running on OS X is triggering this. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6154 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2919] Merge profile/cProfile in 3.0
Changes by Raymond Hettinger rhettin...@users.sourceforge.net: -- versions: +Python 3.2 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2919 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6158] test_aifc failing on 32bit windows in python 3.1 rc 1
New submission from Raymond Hettinger rhettin...@users.sourceforge.net: Martin, the test is failing because the dist is missing the file: Lib/test/Sine-1000Hz-300ms.aif . That file is in SVN and was included in the rc1 tarball. -- assignee: loewis components: Tests messages: 88616 nosy: loewis, rhettinger priority: high severity: normal status: open title: test_aifc failing on 32bit windows in python 3.1 rc 1 versions: Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6158 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1731717] race condition in subprocess module
R. David Murray rdmur...@bitdance.com added the comment: I have confirmed that none of the original test cases referenced here or in the referenced issues fails on python 2.5.4, 2.6.2, trunk, or py3k on linux. The test case attached to this ticket I cannot test as I don't understand how one would run it (and exim appears to be involved). Given the discussion (specifically msg32219) I think this ticket should be closed as fixed; unless, Yonas, you can provide a reproducible test case that does not involve third party software, or someone else can reproduce your exim case. If someone wants to propose a patch to refactor subprocess, IMO that should be opened as a new feature request ticket. -- nosy: +r.david.murray resolution: - fixed status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1731717 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue4152] ihooks module cannot handle absolute imports
Neil Schemenauer nas-pythonb...@arctrix.com added the comment: Adding a patch that adds support for relative imports based on the import.c code. I've tested it by hacking the test_import.py test module. -- versions: +Python 2.7 Added file: http://bugs.python.org/file14132/ihooks_relative.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4152 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1731717] race condition in subprocess module
Yonas yona...@gmail.com added the comment: To test with exim4 is easy. To reproduce on Ubuntu Jaunty: 1. apt-get install exim4-daemon-heavy 2. echo local_scan = /usr/lib/exim4/local_scan/libpyexim.so /etc/exim4/conf.d/main/15_py-exim_plugin_path 3. cd /usr/lib/exim4/local_scan 4. Compile mylib, output will be libpyexim.so: gcc `python2.6-config --cflags` -c -fPIC mylib.c -o mylib.o gcc -Xlinker -export-dynamic -lpython2.6 -lnsl -lpthread -ldl -lutil -lm -lz -shared -Wl,-soname,libpyexim.so -o libpyexim.so mylib.o 5. Restart server: /etc/init.d/exim4 restart 6. Send some mail: cat mail.txt | sendmail -t (contents of mail.txt): Content-type: text/plain To: your_usern...@localhost From: foo...@example.com Subject: test Hello world. -- status: pending - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1731717 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns
New submission from Guilherme Polo ggp...@gmail.com: The attached patch removes the return statements from proxy_forget and proxy_place since these methods aren't supposed to return anything. It also fixes the docstring for the identify and paneconfigure methods. While fixing the docstring in paneconfigure I considered as important to rename tagOrId to window, so the documentation and the method signature get in agreement and also makes sense. -- components: Tkinter files: PanedWindow_docstring_and_return_fixes.diff keywords: patch messages: 88620 nosy: gpolo severity: normal status: open title: Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns versions: Python 2.7, Python 3.1 Added file: http://bugs.python.org/file14133/PanedWindow_docstring_and_return_fixes.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6159 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1731717] race condition in subprocess module
Yonas yona...@gmail.com added the comment: Also, copy exim_local_scan2.py to /usr/lib/python2.6/ -- Added file: http://bugs.python.org/file14134/exim_local_scan2.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1731717 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2281] Enhanced cPython profiler with high-resolution timer
Jean Brouwers mrje...@gmail.com added the comment: Another thought on the hires timer to make the hires time and hires time units available as 2 other functions in the time module. For example, function time.ticks() returns the hires time stamp as an int. Function time.ticks2secs(t) converts a given number of ticks to seconds. To avoid duplicating the hires time code in both the time and profile modules, it would be necessary to move the hpTimer and hpTimerUnit functions to some place inside the Python core accessible for the time and profile modules. Perhaps to a new file, say Python/gethptime.c. That new file can handle other platform-specific idiosyncrasies with respect to hires time. In particular, it could implement a different (and better) way to determine the resolution of a hires tick, e.g. on Linux and BSD Unix. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2281 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1731717] race condition in subprocess module
Yonas yona...@gmail.com added the comment: I'm assuming that exim4 is reading config files from /etc/exim4/conf.d/*. To make sure, you can enforce split file mode by running `sudo dpkg-reconfigure exim4-config`. It should be one of the last questions present to you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1731717 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue2919] Merge profile/cProfile in 3.0
Jean Brouwers mrje...@gmail.com added the comment: I just added another comment about the high-resolution timer in http://bugs.python.org/issue2281. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2919 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue1731717] race condition in subprocess module
R. David Murray rdmur...@bitdance.com added the comment: I'm afraid I'm not going to be installing exim in order to test this. Perhaps someone else will be interested enough to do so, perhaps not :) Copying files into /usr/lib/pythonx.x is a very odd thing to do, by the way (though it should have no impact on the bug). -- priority: critical - normal status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1731717 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6158] test_aifc failing on 32bit windows in python 3.1 rc 1
R. David Murray rdmur...@bitdance.com added the comment: I'm the one who added that file. I can see by analogy to, eg, audiotest.au that it needs to go in Tools/msi/msi.py (patch for trunk attached), but I don't know if anything else is needed. -- keywords: +patch nosy: +r.david.murray Added file: http://bugs.python.org/file14135/issue6158.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6158 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5230] pydoc reports misleading failure if target module raises an ImportError
Lucas Prado Melo lukepada...@gmail.com added the comment: I've written a patch. Hope you like it :) -- keywords: +patch nosy: +conf Added file: http://bugs.python.org/file14136/pydocs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5230 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5230] pydoc reports misleading failure if target module raises an ImportError
R. David Murray rdmur...@bitdance.com added the comment: Thanks :) PEP 8 recommends spaces after commas in a list. Also, we should have a unit tests before we commit the fix. If you feel like writing them that would be most welcome. -- components: +Library (Lib) nosy: +r.david.murray stage: needs patch - test needed versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5230 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5230] pydoc reports misleading failure if target module raises an ImportError
Lucas Prado Melo lukepada...@gmail.com added the comment: The same patch with whitespaces. Is it ok now? -- Added file: http://bugs.python.org/file14137/pydocs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5230 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5230] pydoc reports misleading failure if target module raises an ImportError
Changes by Lucas Prado Melo lukepada...@gmail.com: Removed file: http://bugs.python.org/file14136/pydocs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5230 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5230] pydoc reports misleading failure if target module raises an ImportError
R. David Murray rdmur...@bitdance.com added the comment: You are still missing a space between 'module' and 'named' ;) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5230 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5230] pydoc reports misleading failure if target module raises an ImportError
Changes by Lucas Prado Melo lukepada...@gmail.com: Removed file: http://bugs.python.org/file14137/pydocs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5230 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue5230] pydoc reports misleading failure if target module raises an ImportError
Lucas Prado Melo lukepada...@gmail.com added the comment: A new patch with an unit test and with whitespaces. -- Added file: http://bugs.python.org/file14138/pydocs.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5230 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6147] multithreading.Pool.map() crashes Windows computer
Alex James ac.ja...@shaw.ca added the comment: Ok Jesse, that did stop the bomb problem. Unfortunately the real code belongs in a scientific research distributable module that is called by another function in the module where both have been imported into the script that is run. So it isn't being called by __main__ in the first place. So we'll have to make sure client scripts are encapsulated with the if __name__ == '__main__' by our collegues running windows. Aka I expect to recieve this same bug report. I'll go through the docs again, but I didn't find any built-in way to get the recursion level of an operation (other than the 0 = __main__ level). Looking like this just turned into a feature request. -- type: crash - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6147 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6147] multithreading.Pool.map() crashes Windows computer
Jesse Noller jnol...@gmail.com added the comment: Hey Alex; This isn't a bug, or a feature request. On win32, the way multiprocessing fakes a fork() is by creating a special subprocess which essentially imports and executes the function/process to be run, communication is handled through pickling and pipes. For more information, see: http://svn.python.org/view/python/trunk/Lib/multiprocessing/forking.py? view=markup Search for # Windows in that file, you'll see the basic process we use to fork on windows. Without a completely different implementation, this can not be changed. This probably will not change for some time, as such, I'm going to close this issue. -- resolution: - wont fix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6147 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6147] multithreading.Pool.map() crashes Windows computer
Changes by Benjamin Peterson benja...@python.org: -- status: - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6147 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6142] Distutils doesn't remove .pyc files
Changes by Jesse Noller jnol...@gmail.com: -- assignee: - tarek components: +Library (Lib) nosy: +tarek priority: - normal ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6142 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6160] Tkinter.Spinbox: fix for bbox and removed some uninteresting returns
New submission from Guilherme Polo ggp...@gmail.com: The current bbox method for Tkinter.Spinbox is very likely to never return a tuple. The attached patch uses _getints to always return a tuple of integers. The other changes in the patch are about removing unneeded return statements. -- components: Tkinter files: Spinbox_fixes.diff keywords: patch messages: 88634 nosy: gpolo severity: normal status: open title: Tkinter.Spinbox: fix for bbox and removed some uninteresting returns versions: Python 2.7, Python 3.1 Added file: http://bugs.python.org/file14139/Spinbox_fixes.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6160 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6158] test_aifc failing on 32bit windows in python 3.1 rc 1
Martin v. Löwis mar...@v.loewis.de added the comment: Indeed, listing it in msi.py is all that needs to be done here. Fixed in r73101, r73102, r73103, r73104, r73105. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6158 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6150] test_unicode fails in wide unicode build
Martin v. Löwis mar...@v.loewis.de added the comment: Thanks for the report. Fixed in r73106 -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6150 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com