[issue9561] distutils: set encoding to utf-8 for input and output files

2010-11-14 Thread Hagen Fürstenau
Hagen Fürstenau added the comment: Created issue 10419 for the encoding problem in "build_scripts". -- ___ Python tracker ___ ___ Pyth

[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

2010-11-14 Thread Jessica McKellar
Jessica McKellar added the comment: Thomas, I think the weirdness you were sensing when trying to adapt the nameCheck calls in test__RandomNameSequence after adding the abspath check is that those test cases really don't need nameCheck. For example, test_get_six_char_str should be testing tha

[issue7140] imp.new_module does not function correctly if the module is returned from a function and used directly

2010-11-14 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: But there were r85393 (2.7) and r85394 (3.1). -- nosy: +Arfrever versions: +Python 2.7, Python 3.1 ___ Python tracker ___ _

[issue2571] cmd.py always uses raw_input, even when another stdin is specified

2010-11-14 Thread Éric Araujo
Changes by Éric Araujo : -- status: closed -> open type: -> feature request versions: +Python 3.2 -Python 2.7 ___ Python tracker ___ _

[issue10421] Failed issue tracker submission

2010-11-14 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file19609/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue10421] Failed issue tracker submission

2010-11-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: -admin resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2010-11-14 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo versions: -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue10421] Failed issue tracker submission

2010-11-14 Thread admin
New submission from admin : You are not a registered user. Unknown address: Order Real Pfizer -- files: unnamed messages: 121212 nosy: admin priority: normal severity: normal status: open title: Failed issue tracker submission Added file: http://bugs.python.org/file19609/unnamed _

[issue10420] Document of Bdb.effective is wrong.

2010-11-14 Thread INADA Naoki
New submission from INADA Naoki : http://docs.python.org/library/bdb.html#bdb.effective >Determine if there is an effective (active) breakpoint at this line of code. >Return breakpoint number or 0 if none. bdb.effective doesn't return 0. If no breakpoint is found, it returns (None, None).

[issue1553375] Add traceback.print_full_exception()

2010-11-14 Thread Vinay Sajip
Vinay Sajip added the comment: Re. the change in r86467, you can test using this simple script: http://pastebin.com/ZXs3sXDW -- ___ Python tracker ___ ___

[issue1553375] Add traceback.print_full_exception()

2010-11-14 Thread Vinay Sajip
Vinay Sajip added the comment: I've implemented an optional keyword argument stack_info (defaulting to False) for all logging calls. If specified as True, a line Stack (most recent call last): is printed, followed by the output of traceback.print_stack(). This is output after any exception

[issue2405] Drop w9xpopen and all dependencies

2010-11-14 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: It is still time to add to 3.2 a DeprecationWarning when w9xpopen is used, and remove the feature in 3.3. See attached patch -- keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file19608/deprecate-w9xpopen.patch

[issue10419] distutils command build_scripts fails with UnicodeDecodeError

2010-11-14 Thread Hagen Fürstenau
New submission from Hagen Fürstenau : As suggested in issue 9561, I'm creating a new bug for the encoding problem in build_scripts: If a script file can't be decoded with the (locale dependent) standard encoding, then "build_scripts" fails with UnicodeDecodeError. Reproducable e.g. with LANG=C

[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2010-11-14 Thread Johannes Ammon
Johannes Ammon added the comment: Same behaviour with 2.7 -- versions: +Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue10418] test_io hangs on 3.1.3rc1

2010-11-14 Thread Virgil Dupras
Virgil Dupras added the comment: Ooh, darn, that was it. I installed it and afterwards, the tests passed. Sorry for the fuss, I'll keep that gotcha in mind next time. -- resolution: -> invalid status: open -> closed ___ Python tracker

[issue10418] test_io hangs on 3.1.3rc1

2010-11-14 Thread Ned Deily
Ned Deily added the comment: Be careful when running a framework build from the build directory without installing it. Chances are you are actually dynamically linking to an older existing framework in /Library/Frameworks. (Try looking at sys.modules to see what I mean.) You'll either need

[issue10418] test_io hangs on 3.1.3rc1

2010-11-14 Thread R. David Murray
R. David Murray added the comment: Ronald hasn't replied yet and he's the most likely to be in a position to try to reproduce it. Even if you can't fix it, figuring out more about how that individual test is arriving at the hang could be useful. If you've got the chops to look at the hang i

[issue10418] test_io hangs on 3.1.3rc1

2010-11-14 Thread Virgil Dupras
Virgil Dupras added the comment: Nobody else can reproduce the bug? I'm not sure I can fix this (although I can try). I tried to re-compile 3.1.2 with the same flags and run test_io and it passes, so something happened between 3.1.2 and 3.1.3rc1. So, I'll give it a look, but if someone more

[issue10413] Comments in unicode.h are out of date

2010-11-14 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Alexander Belopolsky wrote: > > New submission from Alexander Belopolsky : > > Attached patch updates some comments in unicode.h mostly reflecting the fact > that the default encoding is now unconditionally UTF-8. Looks good. -- ___

[issue10418] test_io hangs on 3.1.3rc1

2010-11-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I ran the test with the -v option flag. The malloc error don't happen > at the same place the hang up happens. The first one happens at: The malloc error is normal, then, it's part of that test. It's a pity OS X dumps something on stderr, though. > And final

[issue10418] test_io hangs on 3.1.3rc1

2010-11-14 Thread Virgil Dupras
Virgil Dupras added the comment: I ran the test with the -v option flag. The malloc error don't happen at the same place the hang up happens. The first one happens at: test_readline (test.test_io.PyIOTest) ... ok test_unbounded_file (test.test_io.PyIOTest) ... skipped 'test can only run in a

[issue10418] test_io hangs on 3.1.3rc1

2010-11-14 Thread Antoine Pitrou
Antoine Pitrou added the comment: Can you run regrtest with the -v option, to know which test case fails? (we have several OS X buildbots which run this test fine, by the way, including a Snow Leopard instance) Note: 9223372036854775808 is 2**63 or 0x8000. -- nosy: +ronal

[issue10418] test_io hangs on 3.1.3rc1

2010-11-14 Thread R. David Murray
Changes by R. David Murray : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2010-11-14 Thread R. David Murray
R. David Murray added the comment: Is this a duplicate of #1293741? That issue was closed as out of date, but I'm not 100% convinced that was the correct closure. What do you think? Does it still happen with 2.7? (2.6 is in security fix only mode.) -- nosy: +r.david.murray ___

[issue10416] UnicodeDecodeError when 2to3 is run on a dir with numpy .npy files

2010-11-14 Thread Benjamin Peterson
Benjamin Peterson added the comment: r86464 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue9807] deriving configuration information for different builds with the same prefix

2010-11-14 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: Could you also fix issue #10262, which is related to this issue? -- ___ Python tracker ___

[issue10418] test_io hangs on 3.1.3rc1

2010-11-14 Thread Virgil Dupras
New submission from Virgil Dupras : I downloaded Python 3.1.3rc1 this morning to do my civic duty of testing it. I don't know what I'm doing wrong, but for me, test_io hangs and never completed. I'm on OS X 10.6.5. I ran it with: $ ./python.exe Lib/test/regrtest.py test_io And I got: test_io

[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2010-11-14 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti, michael.foord ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10417] unittest triggers UnicodeEncodeError with non-ASCII character in the docstring of the test function

2010-11-14 Thread Johannes Ammon
New submission from Johannes Ammon : When there is a non-ASCII character in the docstring of a test function, unittest triggers an UnicodeEncodeError when called with "--verbose". I have this file unicodetest.py: - # -*- coding: utf-8 -*- import unittest

[issue1553375] Add traceback.print_full_exception()

2010-11-14 Thread Nick Coghlan
Nick Coghlan added the comment: Note that after the loop over the values is complete, the final value of tb should correctly refer to the traceback for the exception currently being handled regardless of whether or not any chaining is involved. So moving the stack printing code that is curren

[issue10383] test_os leaks under Windows

2010-11-14 Thread Stefan Krah
Stefan Krah added the comment: I agree that the buffer should be released. The patch fixes this leak and another one. All tests pass. -- keywords: +patch nosy: +skrah Added file: http://bugs.python.org/file19606/posixmodule_leak.patch ___ Python trac

[issue1553375] Add traceback.print_full_exception()

2010-11-14 Thread Nick Coghlan
Nick Coghlan added the comment: If the allframes flag is pursued further, then the stack trace should be added (with an appropriate header clause) after the entire exception chain has been printed (including the exception currently being handled). -- _

[issue1553375] Add traceback.print_full_exception()

2010-11-14 Thread Nick Coghlan
Nick Coghlan added the comment: As per my response to RDM on python-dev, I think the patch is misguided as it currently stands. The traceback on an exception is built up as the stack unwinds. The stack above the frame containing the exception handler obviously hasn't been unwound yet, so it

[issue10416] UnicodeDecodeError when 2to3 is run on a dir with numpy .npy files

2010-11-14 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mail

[issue10416] UnicodeDecodeError when 2to3 is run on a dir with numpy .npy files

2010-11-14 Thread Zbyszek Szmek
New submission from Zbyszek Szmek : 1. 2to3 should work only only files ending with '.py', but it takes anything which has a dot and ends with 'py'. I'm having trouble with numpy .npy files. 2. 2to3 tries to decode the file and fails with traceback that is not useful: the name of the fai

[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-11-14 Thread Stefan Krah
Stefan Krah added the comment: Hirokazu's patch works for me. Could this approach be taken in general to suppress all buildbot pop-ups? -- ___ Python tracker ___

[issue3493] No Backslash (\) in IDLE 1.2.2

2010-11-14 Thread Peter Nielsen
Peter Nielsen added the comment: I have the same problem with a danish keyboard and OSX snowleopard.. I can use \ in both the command editor and pretty everywhere else but not in Idle. -- nosy: +Peter.Nielsen versions: +Python 2.6, Python 3.1 -Python 2.7 __

[issue10414] socket.gethostbyname doesn't return an ipv6 address

2010-11-14 Thread Martin v . Löwis
Martin v. Löwis added the comment: Python has a policy of exposing low-level APIs as-is, i.e. the way the operating system implements them. gethostbyname is an old BSD socket API function that is limited to IPv4, and Python exposes it as such. If you want another convenience function, I recom

[issue10410] Is iterable a container type?

2010-11-14 Thread INADA Naoki
INADA Naoki added the comment: >> Likewise, "and objects of any classes you define >> with an __iter__() or __getitem__() method." is >> wrong because __getitem__ method is not relate to >> iterable > > That wording is correct.  Sequences are automatically > iterable even if they don't define __

[issue9991] xmlrpc client ssl check faulty

2010-11-14 Thread Senthil Kumaran
Senthil Kumaran added the comment: That's sad. The fix is very simple. We shall have it before 3.2 alpha4 or beta1. -- ___ Python tracker ___

[issue9991] xmlrpc client ssl check faulty

2010-11-14 Thread Julius Tuomisto
Julius Tuomisto added the comment: Renderfarm.fi's python based "uploader" for Blender 2.5 (GPL licensed and a part of the main distribution of Blender) is still suffering from this bug. We're hopeful that this issue would be fixed in the next versions of Python. Thank you! -- nosy: