[issue11339] annotation for class being defined

2011-02-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: This has been true forever. I suggest you try python-ideas. -- nosy: +benjamin.peterson resolution: -> rejected status: open -> closed ___ Python tracker _

[issue11336] Typo in patch.rst

2011-02-26 Thread blokeley
blokeley added the comment: I updated to the tip of http://hg.python.org/devguide on the hg_transition branch. If this isn't the latest dev guide, what is? -- ___ Python tracker __

[issue11332] Increase logging/__init__.py coverage to 97%

2011-02-26 Thread Brett Cannon
Brett Cannon added the comment: Just to give an opinion (which can be ignored), I see no issue with mocking if done carefully and properly. It should just be kept to a minimum (and typically be privately exposing certain things that can be overridden). --

[issue11341] test_os fails

2011-02-26 Thread SilentGhost
SilentGhost added the comment: Which revision are you trying with? I cannot reproduce this with r88656 -- nosy: +SilentGhost ___ Python tracker ___ _

[issue11341] test_os fails

2011-02-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: Errno 75 is EOVERFLOW here (Linux), which doesn't seem to be mentioned in sendfile's man page. Can you describe your system? (CPU architecture, bitness, endianness, glibc/kernel version, etc.) -- assignee: -> giampaolo.rodola nosy: +giampaolo.rodola,

[issue11341] test_os fails

2011-02-26 Thread Westley Martínez
Westley Martínez added the comment: rev 88657 Arch Linux 2.6.37 x86_64 with glibc2.6 64-bit, little endian -- ___ Python tracker ___

[issue11341] test_os fails

2011-02-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: > rev 88657 > Arch Linux 2.6.37 x86_64 with glibc2.6 > 64-bit, little endian You are not running under a VM or something? -- ___ Python tracker __

[issue11342] ResourceWarning: unclosed file <_io.TextIOWrapper

2011-02-26 Thread LW
New submission from LW : 1 test failed: test_urllib2_localnet 1 test altered the execution environment: test_urllib2 21 tests skipped: test_codecmaps_cn test_codecmaps_hk test_codecmaps_jp test_codecmaps_kr test_codecmaps_tw test_curses test_gdb test_kqueue test_ossaudiodev te

[issue11342] ResourceWarning: unclosed file <_io.TextIOWrapper

2011-02-26 Thread LW
LW added the comment: [ 92/349] test_distutils /home/les/Downloads/Python-3.2/Lib/distutils/command/sdist.py:197: ResourceWarning: unclosed file <_io.TextIOWrapper name='MANIFEST.in' mode='r' encoding='UTF-8'> self.read_template() unknown, 0: Warning: using regular magic file `/etc/magic' un

[issue11341] test_os fails

2011-02-26 Thread Westley Martínez
Westley Martínez added the comment: > You are not running under a VM or something? No -- ___ Python tracker ___ ___ Python-bugs-list

[issue11334] Failed to build _multiprocessing on Mac OS X

2011-02-26 Thread dave
dave added the comment: seems the multiprocessing issue was produced by the dynamic_lookup parameter in the LDFLAGS... after removing this, "import multiprocessing" works... thanks > export LDFLAGS="-Wall -undefined dynamic_lookup -arch i386" -- resolution: -> works for me status:

[issue11250] 2to3 truncates files at formfeed character

2011-02-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: r88661 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue11341] test_os fails

2011-02-26 Thread Charles-Francois Natali
Charles-Francois Natali added the comment: > Errno 75 is EOVERFLOW here (Linux), which doesn't seem to be mentioned in > sendfile's man page. > Can you describe your system? (CPU architecture, bitness, endianness, > glibc/kernel version, etc.) Just checked the source code: in fs/read_write.c:

[issue11343] Make errors due to full parser stack identifiable

2011-02-26 Thread Andreas Stührk
New submission from Andreas Stührk : Currently, if the parser's internal stack is full (as it happens when the parser tries to parse a deeply nested structure), the parser writes an error message to stderr and a bare MemoryError is raised. That way, it is really hard for REPLs do handle input tha

[issue11343] Make errors due to full parser stack identifiable

2011-02-26 Thread Andreas Stührk
Changes by Andreas Stührk : Added file: http://bugs.python.org/file20926/parser_nested_SyntaxError.patch ___ Python tracker ___ ___ Python-bug

[issue11326] connect_ex() implementation missing for SSL sockets

2011-02-26 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've committed the patch + some tests in r88664 (3.3), r88665 (3.2) and r88666 (2.7). Thanks for reporting this! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: -Python 3.1 _

[issue11332] Increase logging/__init__.py coverage to 97%

2011-02-26 Thread Vinay Sajip
Vinay Sajip added the comment: @Brett: I've no religious/dogmatic objection to mocking, either, so I agree with your comment. I merely observed that it's not generally implemented in the Python test suite (not that I've made an exhaustive study of it, so I'm open to being corrected on this po

[issue11332] Increase logging/__init__.py coverage to 97%

2011-02-26 Thread Brett Cannon
Brett Cannon added the comment: OK, but acceptance tests do not need to not try to get higher test coverage. For instance, for testing disable() simply using it and making sure the outcome is as expected also works. I can understand wanting to avoid some low-level whitebox testing, but I don'

[issue11256] inspect.getcallargs raises TypeError on valid arguments

2011-02-26 Thread Andreas Stührk
Andreas Stührk added the comment: Confirmed under Python 2.7, 3.2 and 3.3. Patch looks good to me. Attached is a patch for 2.7. -- nosy: +Trundle Added file: http://bugs.python.org/file20927/issue11256_py27.patch ___ Python tracker

[issue968063] Add fileinput.islastline()

2011-02-26 Thread Dj Gilcrease
Dj Gilcrease added the comment: Updated the patch and tests for py3.3 -- keywords: +patch nosy: +Digitalxero Added file: http://bugs.python.org/file20928/cpython_rev68060.patch ___ Python tracker

[issue7833] Bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-02-26 Thread Mark Hammond
Mark Hammond added the comment: Thinking more about this, I think the approach of this patch is more complex than necessary. I think a better patch would be one which *unconditionally* removes the manifest from extension modules. For maximum flexibility though, we should probably allow a ho

[issue7833] Bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-02-26 Thread Christoph Gohlke
Christoph Gohlke added the comment: The proposed patch was meant to be backwards compatible. Unconditionally removing the whole assembly/manifest from extensions could break extensions that have additional dependencies, such as MFC or Common Controls. PyQt4 extensions for example depend on Co

[issue7833] Bdist_wininst installers fail to load extensions built with Issue4120 patch

2011-02-26 Thread Mark Hammond
Mark Hammond added the comment: I'm wondering if, in practice, extensions which need a manifest can have the manifest being generated completely by the linker - ie, I expect that in most cases where something other than the CRT or MFC is needed in the manifest, the author will want to specify

[issue10880] do_mkvalue and 'boolean'

2011-02-26 Thread Dj Gilcrease
Dj Gilcrease added the comment: Add a boolean format option to Py_BuildValue and Py_VaBuildValue Also added some tests to test_capi that verifies Py_BuildValue is building the right type. I did not add tests for every possible type as it has lived this long without, but I did want to test my

[issue11338] No list of Python hg repositories

2011-02-26 Thread Martin v . Löwis
Martin v. Löwis added the comment: Just for the record: at the moment, Python's source code isn't maintained in Mercurial at all, but in subversion. Therefore, there are no official repos - it's no surprise you didn't find any documentation what they were. -- nosy: +loewis __

<    1   2