[issue7882] Compiling on MOX 10.6 Snow Leopard --#warning Building for Intel with Mac OS X Deployment Target 10.4 is invalid.

2010-02-08 Thread WK.
New submission from WK. wolf.st.kappes...@gmx.de: get followed while compiling with $ /configure --with-universal-archs=64-bit $ make #warning Building for Intel with Mac OS X Deployment Target 10.4 is invalid. See attachment for complete build process. -- assignee: ronaldoussoren

[issue7876] unittest docs use deprecated method in code example

2010-02-08 Thread Bernt Røskar Brenna
Bernt Røskar Brenna bernt.bre...@gmail.com added the comment: Sorry, forgot to check svn, I was looking at the 3.1.1 release tarball. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7876

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2010-02-08 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2777 ___ ___ Python-bugs-list mailing list

[issue2777] subprocess unit tests for kill, term and send_signal flaky

2010-02-08 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: The patch looks fine. +1 to enable on trunk and follow the buildbots' behavior. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2777 ___

[issue7883] CallTips.py _find_constructor does not work

2010-02-08 Thread Bernt Røskar Brenna
New submission from Bernt Røskar Brenna bernt.bre...@gmail.com: Test case: In IDLE python shell: from http.client import HTTPConnection c = HTTPConnection( Notice that the call tip is an empty parenthesis. This patch works for me: [/tmp/py3k/Lib/idlelib] $ svn diff Index: CallTips.py

[issue7884] IDLE 3.1.1 crashes with UnicodeDecodeError when I press Ctrl-Space

2010-02-08 Thread Bernt Røskar Brenna
New submission from Bernt Røskar Brenna bernt.bre...@gmail.com: Platform: Linux Python 3.1.1 built from source. Tk version 8.4, Tcl version 8.4. Idle 2.6.4 (also built from source), works correctly (executes force-open-completions). Test case: - Start idle3 - press Ctrl-Space in the IDLE

[issue7857] test_logging fails

2010-02-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: There are still random failures: test test_logging failed -- Traceback (most recent call last): File /home2/buildbot/slave/trunk.loewis-sun/build/Lib/test/test_logging.py, line 1612, in test_listen_config_10_ok ], stream=output) File

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

2010-02-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file15933/windows symlink draft 19.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

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

2010-02-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file16003/windows symlink draft 20.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

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

2010-02-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Added file: http://bugs.python.org/file16178/windows symlink draft 21.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

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

2010-02-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file16174/windows symlink draft 21.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue7884] IDLE 3.1.1 crashes with UnicodeDecodeError when I press Ctrl-Space

2010-02-08 Thread Brian Curtin
Changes by Brian Curtin cur...@acm.org: -- priority: - normal stage: - test needed type: crash - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7884 ___

[issue7857] test_logging fails

2010-02-08 Thread Vinay Sajip
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment: - Original Message From: Antoine Pitrou rep...@bugs.python..org There are still random failures: Ouch. I'm not sure that I can debug this quickly, because the tests work on all platforms I've got access to (Windows XP,

[issue5802] The security descriptors of python binaries in Windows are not strict enough

2010-02-08 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Is the situation any different if you install Python to C:\Program Files? This seems to be at least part of the reason IronPython installs to C:\Program Files, which was discussed on the IronPython list [1] a few months ago. [1]

[issue6877] enable compilation of readline module on Mac OS X 10.5 and 10.6

2010-02-08 Thread Alexander Belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com: -- nosy: +Alexander.Belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6877 ___

[issue7883] CallTips.py _find_constructor does not work

2010-02-08 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: That change works for me. -- nosy: +brian.curtin priority: - normal stage: - test needed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7883

[issue7877] Iterators over _winreg EnumKey and EnumValue results

2010-02-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Traceback (most recent call last): File stdin, line 1, in module WindowsError: [Error 6] The handle is invalid I suspect that .iterkeys / .itervalues would be more acceptable spellings as those mirror the dict methods. Whether the idea of

[issue7877] Iterators over _winreg EnumKey and EnumValue results

2010-02-08 Thread Tim Golden
Tim Golden m...@timgolden.me.uk added the comment: Sorry; the email interface messed that up. The code which triggered the error was: import _winreg list ( _winreg.IterValue ( _winreg.OpenKey (_winreg.HKEY_CURRENT_USER, Console) ) ) --

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Final version of the patch, with the temp_cwd context manager added to test_support and used in test_regrtest to run the test suite in a temporary directory. It also includes a fix for test_subprocess that was failing when the tests are

[issue7884] IDLE 3.1.1 crashes with UnicodeDecodeError when I press Ctrl-Space

2010-02-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Duplicate of #1028 (and #6920). -- nosy: +ezio.melotti resolution: - duplicate stage: test needed - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7877] Iterators over _winreg EnumKey and EnumValue results

2010-02-08 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Interesting, I'll take a look and see why that's happening. Good point about the names. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7877

[issue7885] test_distutils fails if Python built in separate directory

2010-02-08 Thread Neil Schemenauer
New submission from Neil Schemenauer nas-pyt...@arctrix.com: Lib/test/test_distutils.py crashes if Python was built in a directory other than the source directory. Using a separate build directory is handy if you are building Python with different sets of configure options since you only

[issue7875] test_multiprocessing / importlib failure

2010-02-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: That would be test_support.import_module, which at your recommendation I changed to use importlib.import_module at the last pycon sprint :) I'm not clear on why option 3 would interfere with __import__ getting tested? -- nosy:

[issue7875] test_multiprocessing / importlib failure

2010-02-08 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: I meant test.support for py3k, of course. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7875 ___

[issue7875] test_multiprocessing / importlib failure

2010-02-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: That would be test_support.import_module, which at your recommendation I changed to use importlib.import_module at the last pycon sprint :) I don't think it's the culprit. According to the traceback, importlib is triggered by a simple import

[issue7875] test_multiprocessing / importlib failure

2010-02-08 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: So option 3 would marginalize __import__ testing as importlib's finders and loaders as pulled from sys.path_importer_cache would be used over __import__'s own implicit importers that it contains. As for test.support.import_module being the

[issue7886] reverse on an empty list returns None

2010-02-08 Thread tormen
New submission from tormen tor...@gmx.net: # python 3.1.1: myList = [] for item in myList: print( item ) # works for item in myList.reverse(): # breaks with: TypeError: 'NoneType' object is not iterable print( item ) # # But the reverse of an empty list should really be an empty

[issue7875] test_multiprocessing / importlib failure

2010-02-08 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Option 3 is ok with me. There could also be option 4: add a special flag (or environment var) to regrtest so as to run all tests with __import__ pulled from importlib. Then we can setup a buildbot with that flag / env var. --

[issue7886] reverse on an empty list returns None

2010-02-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: list.reverse() reverses the list *in place* and returns None, and for item in None: ... correctly raises a TypeError because None is not iterable. You either want for item in reversed(mylist): ... or mylist.reverse() for item in mylist:

[issue7875] test_multiprocessing / importlib failure

2010-02-08 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Importlib actually already can do this: importlib.test.regrtest. It runs regrtest after importlib has been set for __import__. It also skips tests known to fail for stupid reasons (typically they don't expect __loader__ to be defined). You can

[issue7296] OverflowError: signed integer is greater than maximum on mips64

2010-02-08 Thread Otto
Otto o...@drijf.net added the comment: This problem has been diagnosed as a problem in the mips64 port of OpenBSD. mips64 systems need to emulate some floating point instructions in software, depending on the cpu type. In this case we hit an instruction for which the emulation was incomplete.

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

2010-02-08 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: This latest patch (22) does some refactoring in test_posixpath to reduce nesting, limit duplicated code, and skip failing tests on Windows. The only task now is to address the failing tests in a limited user account. -- Added file:

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

2010-02-08 Thread Jason R. Coombs
Changes by Jason R. Coombs jar...@jaraco.com: Removed file: http://bugs.python.org/file16178/windows symlink draft 21.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1578269 ___

[issue7878] regrtest should check for changes in import machinery

2010-02-08 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: -- nosy: +flox ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7878 ___ ___ Python-bugs-list mailing list

[issue6366] rare assertion failure in test_multiprocessing

2010-02-08 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: -- resolution: - duplicate superseder: - Transient error in multiprocessing ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6366 ___

[issue6366] rare assertion failure in test_multiprocessing

2010-02-08 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Closed as duplicate. -- nosy: +flox stage: needs patch - status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6366 ___

[issue6747] test test_multiprocessing failed

2010-02-08 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: See #5930. -- nosy: +flox resolution: - duplicate stage: test needed - status: open - closed superseder: - Transient error in multiprocessing ___ Python tracker rep...@bugs.python.org

[issue5930] Transient error in multiprocessing

2010-02-08 Thread Florent Xicluna
Changes by Florent Xicluna la...@yahoo.fr: -- components: +Tests stage: needs patch - test needed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5930 ___

[issue7861] 2to3: import foo - from . import foo

2010-02-08 Thread Thomas Spura
Thomas Spura toms...@fedoraproject.org added the comment: The commit I'm talking about was 22 months ago (r61755), python 2.6.2 was released April 14, 2009. At least strange, that this is not jet in there, but if you think, it will in the next version... --

[issue7296] OverflowError: signed integer is greater than maximum on mips64

2010-02-08 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Many thanks for the update. I'll close this as not a Python bug, then. (Unless there's an easy and nonintrusive workaround...) -- resolution: - wont fix status: open - closed ___ Python tracker

[issue7876] unittest docs use deprecated method in code example

2010-02-08 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Fixed on 3.1 in r78111. -- assignee: georg.brandl - ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue7826] support caching for 2to3

2010-02-08 Thread Brian Harring
Brian Harring ferri...@gmail.com added the comment: Contributor agreement form is enroute via snail mail... kind of wish y'all accepted pdf's via email though ;) As for the print(cache hit), that should be punted- not very useful in it's current form (doesn't indicate what 'hit') and slipped

[issue7032] Make assertMultilineEqual default for unicode string comparison in

2010-02-08 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Revision 78116. -- resolution: - accepted stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7032

[issue2636] Regexp 2.7 (modifications to current re 2.2.2)

2010-02-08 Thread Vlastimil Brom
Vlastimil Brom vlastimil.b...@gmail.com added the comment: Hi, thanks for the update! Just for the unlikely case, it hasn't been noticed sofar, using python 2.6.4 or 2.5.4 with the regexp build issue2636-20100204.zip I am getting the following easy-to-fix error: Python 2.6.4 (r264:75708, Oct

[issue7855] Add test cases for ctypes/winreg for issues found in IronPython

2010-02-08 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Does this need committing? Dino - do you have checkin rights? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7855 ___

[issue7887] errno 107 socket.recv issure

2010-02-08 Thread Jordan Apgar
New submission from Jordan Apgar twistedphr...@gmail.com: I have a simple tcp server and client where the server sits and waits for a message and then processes it, my client sends its first message to the server. On the server I receive: socket.error: [Errno 107] Transport endpoint is not

[issue7855] Add test cases for ctypes/winreg for issues found in IronPython

2010-02-08 Thread Dino Viehland
Dino Viehland di...@microsoft.com added the comment: Brett Cannon was going to try and look at it and commit it. If you think it looks good you can commit it :) I do not yet have commit privledges simply because I need to gen my SSH key and send that off to Brett. I'm also hoping to get a

[issue7855] Add test cases for ctypes/winreg for issues found in IronPython

2010-02-08 Thread Michael Foord
Michael Foord mich...@voidspace.org.uk added the comment: Well, probably better for you to get the commit bit and DIY then. :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7855 ___

[issue7888] turtle settiltangle should be marked deprecated, not tiltangle

2010-02-08 Thread Michael Newman
New submission from Michael Newman michael.b.new...@gmail.com: In the turtle module documentation: http://docs.python.org/3.1/library/turtle.html http://docs.python.org/py3k/library/turtle.html Currently it says Deprecated since Python 3.1 under the turtle.tiltangle section. That should be

[issue7889] random produces different output on different architectures

2010-02-08 Thread Terrence Cole
New submission from Terrence Cole terre...@zettabytestorage.com: This code: random.seed(b'foo') random.getrandbits(8) ...repeated 7 more times... Yields the sequence of values: amd64: 227, 199, 34, 218, 83, 115, 236, 254 x86: 245, 198, 204, 66, 219, 4, 168, 93 Comments in the source

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: With the latest patch I get one failure: test_bufio. I piped that test to a file and attached the results here. There are numerous Permission denied: @test IOErrors. -- Added file: http://bugs.python.org/file16181/test_bufio.stdout.txt

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Brian, is it the only one failing? Did you have some test running before? Which one? (alphabetic order?) Do you reproduce the error when running this test alone? -m test.regrtest -uall test_bufio --

[issue7826] support caching for 2to3

2010-02-08 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: I'm apprehensive about accepting this patch for several reasons. First of all, it has no tests. Secondly, and more importantly, I dislike the hacks that it adds. I would prefer 2to3 to grow a more general plugin API, which people could

[issue7886] reverse on an empty list returns None

2010-02-08 Thread tormen
tormen tor...@gmx.net added the comment: Thanks for your nice feedback even though my bug report was so stupid! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7886 ___

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Brian Curtin
Brian Curtin cur...@acm.org added the comment: Yep, that's the only one failing. The output I attached is the result of running the test alone. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7712

[issue7890] equal unicode/str objects can have unequal hash

2010-02-08 Thread lplatypus
New submission from lplatypus l...@deller.id.au: The documentation for the hash() function says: Numeric values that compare equal have the same hash value (even if they are of different types, as is the case for 1 and 1.0) This can be violated when comparing a unicode object with its str

[issue7889] random produces different output on different architectures

2010-02-08 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Would you like to work on a patch? -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7889 ___

[issue7890] equal unicode/str objects can have unequal hash

2010-02-08 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: This is not a bug in Python, but in your code. sys.setdefaultencoding is only supported when setting the default encoding to either latin-1, or ascii, or 'undefined'. Setting it to any other value will have undesirable consequences like

[issue7889] random produces different output on different architectures

2010-02-08 Thread Raymond Hettinger
Raymond Hettinger rhettin...@users.sourceforge.net added the comment: Hmm, this may be difficult to fix without breaking somebody's expectation of repeating sequences they've already generated. The code is in random_getrandbits():

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Ok, it may be not related directly with this patch. Can you diagnose if it something like #7443? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7712

[issue7443] test.support.unlink issue on Windows platform

2010-02-08 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: Another report of something looking very similar on #7712. -- nosy: +brian.curtin, flox priority: low - high ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7443

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: And you could try the patch attached to #7443, and see if it fixes the test_bufio issue. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7712

[issue7712] Add a context manager to change cwd in test.test_support and run the test suite in a temp dir.

2010-02-08 Thread Florent Xicluna
Florent Xicluna la...@yahoo.fr added the comment: The command line used to run the tests is important. If you run through test.regrtest, it should chdir to a sandbox directory to run the test. If you call directly the test_bufio.py file, it runs in the current directory (as before the patch).