[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7

2009-05-31 Thread Brett Cannon
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

[issue6152] Parallel regression testing

2009-05-31 Thread Antoine Pitrou
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 ___

[issue6152] Parallel regression testing

2009-05-31 Thread Antoine Pitrou
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

[issue6152] Parallel regression testing

2009-05-31 Thread Antoine Pitrou
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

[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7

2009-05-31 Thread Benjamin Peterson
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

[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7

2009-05-31 Thread Roumen Petrov
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

[issue6155] logging example uses unavailable cPickle module

2009-05-31 Thread Michael Newman
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

[issue6156] Error compiling valid regex

2009-05-31 Thread Daniel Eloff
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:

[issue6155] logging example uses unavailable cPickle module

2009-05-31 Thread Georg Brandl
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 ___

[issue6153] email parsing - Rare Failure

2009-05-31 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- assignee: - barry nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6153 ___ ___

[issue6137] Pickle migration: Should pickle map copy_reg to copyreg?

2009-05-31 Thread Antoine Pitrou
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. --

[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7

2009-05-31 Thread Erick Tryzelaar
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

[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7

2009-05-31 Thread Brett Cannon
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

[issue6156] Error compiling valid regex

2009-05-31 Thread Matthew Barnett
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

[issue3848] select.epoll calling register with the same fd fails

2009-05-31 Thread R. David Murray
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

[issue6157] Tkinter.Text: changes for bbox, debug, and edit methods.

2009-05-31 Thread Guilherme Polo
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

[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7

2009-05-31 Thread Mark Dickinson
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,

[issue1578269] Add os.link() and os.symlink() and os.path.islink() support for Windows

2009-05-31 Thread Jason R. Coombs
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

[issue5675] string module requires bytes type for maketrans, but calling method on regular string does not

2009-05-31 Thread Raymond Hettinger
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

[issue2443] uninitialized access to va_list

2009-05-31 Thread R. David Murray
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

[issue5675] string module requires bytes type for maketrans, but calling method on regular string does not

2009-05-31 Thread Georg Brandl
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 ___

[issue2919] Merge profile/cProfile in 3.0

2009-05-31 Thread Jean Brouwers
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

[issue2919] Merge profile/cProfile in 3.0

2009-05-31 Thread Brett Cannon
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

[issue6154] Python 3.1 rc1 will not build on OS X 10.5.7

2009-05-31 Thread Brett Cannon
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

[issue2919] Merge profile/cProfile in 3.0

2009-05-31 Thread Raymond Hettinger
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 ___

[issue6158] test_aifc failing on 32bit windows in python 3.1 rc 1

2009-05-31 Thread Raymond Hettinger
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

[issue1731717] race condition in subprocess module

2009-05-31 Thread R. David Murray
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

[issue4152] ihooks module cannot handle absolute imports

2009-05-31 Thread Neil Schemenauer
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:

[issue1731717] race condition in subprocess module

2009-05-31 Thread Yonas
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

[issue6159] Tkinter.PanedWindow: docstring fixes, change in paneconfigure and removed some returns

2009-05-31 Thread Guilherme Polo
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

[issue1731717] race condition in subprocess module

2009-05-31 Thread Yonas
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

[issue2281] Enhanced cPython profiler with high-resolution timer

2009-05-31 Thread Jean Brouwers
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

[issue1731717] race condition in subprocess module

2009-05-31 Thread Yonas
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. --

[issue2919] Merge profile/cProfile in 3.0

2009-05-31 Thread Jean Brouwers
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

[issue1731717] race condition in subprocess module

2009-05-31 Thread R. David Murray
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

[issue6158] test_aifc failing on 32bit windows in python 3.1 rc 1

2009-05-31 Thread R. David Murray
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

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread Lucas Prado Melo
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

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread R. David Murray
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

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread Lucas Prado Melo
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

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread Lucas Prado Melo
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 ___

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread R. David Murray
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 ___

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread Lucas Prado Melo
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 ___

[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-05-31 Thread Lucas Prado Melo
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

[issue6147] multithreading.Pool.map() crashes Windows computer

2009-05-31 Thread Alex James
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

[issue6147] multithreading.Pool.map() crashes Windows computer

2009-05-31 Thread Jesse Noller
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

[issue6147] multithreading.Pool.map() crashes Windows computer

2009-05-31 Thread Benjamin Peterson
Changes by Benjamin Peterson benja...@python.org: -- status: - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6147 ___ ___ Python-bugs-list

[issue6142] Distutils doesn't remove .pyc files

2009-05-31 Thread Jesse Noller
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 ___

[issue6160] Tkinter.Spinbox: fix for bbox and removed some uninteresting returns

2009-05-31 Thread Guilherme Polo
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.

[issue6158] test_aifc failing on 32bit windows in python 3.1 rc 1

2009-05-31 Thread Martin v . Löwis
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

[issue6150] test_unicode fails in wide unicode build

2009-05-31 Thread Martin v . Löwis
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