[issue17764] Support http.server passing bind address via commend line argument

2013-04-16 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14735] Version 3.2.3 IDLE CTRL-Z plus Carriage Return to end does not work

2013-04-16 Thread Roger Serwy
Changes by Roger Serwy : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue14735] Version 3.2.3 IDLE CTRL-Z plus Carriage Return to end does not work

2013-04-16 Thread Roger Serwy
Roger Serwy added the comment: I am closing this issue as fixed since the documentation now matches the behavior of IDLE. -- resolution: -> fixed stage: patch review -> committed/rejected ___ Python tracker _

[issue14735] Version 3.2.3 IDLE CTRL-Z plus Carriage Return to end does not work

2013-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset f2a744e067e0 by Roger Serwy in branch '2.7': #14735: Update IDLE docs to omit "Control-z on Windows". http://hg.python.org/cpython/rev/f2a744e067e0 New changeset 017891cc973f by Roger Serwy in branch '3.3': #14735: Update IDLE docs to omit "Control-

[issue17771] Missing period in concurrent execution doc in standard library

2013-04-16 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 3.3 ___ Python tracke

[issue17771] Missing period in concurrent execution doc in standard library

2013-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 72b650a99b36 by Ezio Melotti in branch '3.3': #17771: fix typo. Patch by Andriy Mysyk. http://hg.python.org/cpython/rev/72b650a99b36 New changeset 61a17d9e58e2 by Ezio Melotti in branch 'default': #17771: merge with 3.3. http://hg.python.org/cpytho

[issue17771] Missing period in concurrent execution doc in standard library

2013-04-16 Thread Andriy Mysyk
Changes by Andriy Mysyk : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue17771] Missing period in concurrent execution doc in standard library

2013-04-16 Thread Andriy Mysyk
Andriy Mysyk added the comment: Added a missing period to concurrency.rst -- keywords: +patch type: enhancement -> Added file: http://bugs.python.org/file29898/mywork.patch ___ Python tracker _

[issue16988] argparse: PARSER option for nargs not documented

2013-04-16 Thread paul j3
paul j3 added the comment: I've experimented with an argparse adaptation of profile.py: parser = argparse.ArgumentParser(usage=usage) parser.add_argument('-o', '--outfile', dest="outfile", help="Save stats to ", metavar="path") parser.add_argument('-s', '--sort', dest="sort",

[issue17673] add `copy_from` argument to temporaryfile

2013-04-16 Thread Kyle Roberts
Kyle Roberts added the comment: Sorry, disregard my second question about finding a test file. I found an example in test_mailcap.py. I've uploaded a new patch with the cleaner test functions. -- Added file: http://bugs.python.org/file29897/copy_from_v2.patch _

[issue17771] Missing period in concurrent execution doc in standard library

2013-04-16 Thread Andriy Mysyk
Andriy Mysyk added the comment: I will create a patch for this issue by Apr 23, 2013. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue17771] Missing period in concurrent execution doc in standard library

2013-04-16 Thread Andriy Mysyk
New submission from Andriy Mysyk: No period after the first sentence of the first paragraph in /Doc/build/html/library/concurrency.html. "The appropriate choice of tool will depend on the task to be executed (CPU bound vs IO bound) and preferred style of development (event driven cooperative

[issue17673] add `copy_from` argument to temporaryfile

2013-04-16 Thread Kyle Roberts
Changes by Kyle Roberts : Added file: http://bugs.python.org/file29896/copy_from_test.txt ___ Python tracker ___ ___ Python-bugs-list mailing

[issue17673] add `copy_from` argument to temporaryfile

2013-04-16 Thread Kyle Roberts
Kyle Roberts added the comment: Attached is a patch to include the copy_from argument in mkstemp, TemporaryFile, and NamedTemporaryFile. Also attached is a text file for testing the copy operation. Some notes: I intended to use shutil's copyfile(src, dst) method to copy the copy_from file to

[issue17491] Consolidate traceback.format_tb and traceback.print_tb

2013-04-16 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> out of date status: open -> closed superseder: -> traceback.py has a lot of code duplication ___ Python tracker ___ ___

[issue17646] traceback.py has a lot of code duplication

2013-04-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: The other patch author hasn't updated his patch, so this issue can just superseded the other one. I uploaded a few review comments. -- ___ Python tracker _

[issue17770] MSI installer default behaviour inconsistent

2013-04-16 Thread Harry Johnston
Harry Johnston added the comment: Never mind, I found where this is documented. Still seems odd to me, but it's not a bug. -- status: open -> closed ___ Python tracker ___

[issue17770] MSI installer default behaviour inconsistent

2013-04-16 Thread Harry Johnston
New submission from Harry Johnston: When installing python-2.7.4.msi via the GUI, the default setting for the installation type is "All Users". When installing it passively, e.g. msiexec /package python-2.7.4.msi /passive the default installation type is "Just For Me", or at least that is how

[issue9849] Argparse needs better error handling for nargs

2013-04-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: -ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue9849] Argparse needs better error handling for nargs

2013-04-16 Thread paul j3
paul j3 added the comment: It does shift the error from parse_args to add_argument, but the message 'ValueError: length of metavar tuple does not match nargs', indicates that it's a side effect of checking on the tuple form of `metavar`. http://bugs.python.org/issue9348 There is still room for

[issue17766] Fix test discovery for test_iterlen.py

2013-04-16 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker _

[issue17766] Fix test discovery for test_iterlen.py

2013-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset c2550f75c8b1 by Ezio Melotti in branch '3.3': #17766: test_iterlen now works with unittest test discovery. Patch by Zachary Ware. http://hg.python.org/cpython/rev/c2550f75c8b1 New changeset 2add6c86f38e by Ezio Melotti in branch 'default': #17766:

[issue17740] :func:`socket` in socket.rst links to socket module, not socket.socket

2013-04-16 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patches! -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17740] :func:`socket` in socket.rst links to socket module, not socket.socket

2013-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7041401699e9 by Ezio Melotti in branch '3.3': #17740: fix links to the socket function. Initial patch by Zachary Ware. http://hg.python.org/cpython/rev/7041401699e9 New changeset b6802d2a6c4e by Ezio Melotti in branch 'default': #17740: merge with

[issue17353] Plistlib outputs empty data tags when deeply nested

2013-04-16 Thread Mike Milkin
Mike Milkin added the comment: Adding tests. -- Added file: http://bugs.python.org/file29894/issue-17357-tests.txt ___ Python tracker ___

[issue17532] IDLE: Always include "Options" menu on MacOSX

2013-04-16 Thread Guilherme Simões
Guilherme Simões added the comment: I tested the extensions in MacOS and they seem to work (even the Terminal Mode). The Options menu appear and everything seems to be fine. The patch attached removes the Configure entry from the Options menu because this entry is already in the application me

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread R. David Murray
R. David Murray added the comment: Right, it doesn't *have* to be root, but that would be the typical situation when the tests are run with Python installed. Having it be any other user still requires some privilege increase. -- ___ Python tracker

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose
Matthias Klose added the comment: it doesn't have to be root, just another user as for running the testsuite. -- ___ Python tracker ___ __

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +test_subprocess test_executable_without_cwd fails when run with installed python ___ Python tracker ___ ___

[issue17707] Multiprocessing queue get method does not block for short timeouts

2013-04-16 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- versions: -Python 2.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue14408] Support ./python -m unittest in test_socket

2013-04-16 Thread R. David Murray
Changes by R. David Murray : -- dependencies: +Fix test discovery for test_concurrent_futures.py ___ Python tracker ___ ___ Python-bug

[issue14408] Support ./python -m unittest in test_socket

2013-04-16 Thread R. David Murray
R. David Murray added the comment: Sure, let's rename it since there's a useful patch here. -- title: Support ./python -m unittest in the stdlib tests -> Support ./python -m unittest in test_socket ___ Python tracker

[issue14408] Support ./python -m unittest in the stdlib tests

2013-04-16 Thread Zachary Ware
Zachary Ware added the comment: The test_socket patch is incomplete with the way I've been converting test modules, but it is a good starting point. Should this issue be renamed to be specifically for test_socket? The necessity of reaping threads at the end of the test poses a bit of an issue

[issue17769] python-config --ldflags gives broken output when statically linking Python with --as-needed

2013-04-16 Thread Max Cantor
New submission from Max Cantor: On certain Linux distributions such as Ubuntu, the linker is invoked by default with --as-needed, which has an undesireable side effect when linking static libraries: it is bad at detecting required symbols, and the order of libraries on the command line become

[issue14408] Support ./python -m unittest in the stdlib tests

2013-04-16 Thread R. David Murray
R. David Murray added the comment: Zach, what about the test_socket patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17768] _decimal: allow NUL fill character

2013-04-16 Thread Stefan Krah
New submission from Stefan Krah: Making the _decimal part of #17705 a separate issue. I noticed that decimal.py does not allow a newline as a fill character: Python 3.3.0rc2+ (default:50dd7426b880, Sep 25 2012, 15:52:28) [GCC 4.4.3] on linux Type "help", "copyright", "credits" or "license" for

[issue17707] Multiprocessing queue get method does not block for short timeouts

2013-04-16 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I think I'll just stick with the original patch. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue17767] Fix test discovery for test_locale.py

2013-04-16 Thread Zachary Ware
New submission from Zachary Ware: This one actually had Failures rather than Errors; those failures arose from enUS_locale being None because it was being changed in test_main. This patch attempts to fix things by adapting get_enUS_locale() to return a tuple of a suitable setting for enUS_loc

[issue17766] Fix test discovery for test_iterlen.py

2013-04-16 Thread Zachary Ware
New submission from Zachary Ware: Just subclassing and test_main in this one. -- components: Tests files: test_iterlen_discovery.diff keywords: patch messages: 187116 nosy: brett.cannon, ezio.melotti, zach.ware priority: normal severity: normal status: open title: Fix test discovery for

[issue17765] weakref.ref ignores a 'callback' keyword argument

2013-04-16 Thread Mark Dickinson
New submission from Mark Dickinson: Passing a weakref.ref callback by keyword currently fails silently: Python 3.4.0a0 (default:537c1f1ab53c, Apr 16 2013, 20:07:47) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import we

[issue10572] Move test sub-packages to Lib/test

2013-04-16 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue7559] TestLoader.loadTestsFromName swallows import errors

2013-04-16 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue17037] Use a test.support helper to wrap the PEP 399 boilerplate

2013-04-16 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue14408] Support ./python -m unittest in the stdlib tests

2013-04-16 Thread Zachary Ware
Zachary Ware added the comment: I just happened across this issue, which I think has been superseded by issues #16748 and #16968. -- nosy: +zach.ware ___ Python tracker ___

[issue17732] distutils.cfg Can Break venv

2013-04-16 Thread Nick Sloan
Nick Sloan added the comment: Whoops. One of the options I had in my list doesn't actually exist. Here is yet another update. -- Added file: http://bugs.python.org/file29889/distutilsvenv.patch ___ Python tracker

[issue17732] distutils.cfg Can Break venv

2013-04-16 Thread Nick Sloan
Nick Sloan added the comment: That is, errors that pre-existed my patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue17732] distutils.cfg Can Break venv

2013-04-16 Thread Nick Sloan
Nick Sloan added the comment: Here is an updated patch with documentation changes and a new test. 5 tests in distutils have errors. I have left those alone for now. -- Added file: http://bugs.python.org/file29888/distutilsvenv.patch ___ Python tracke

[issue17739] ssl.SSLSocket.getpeercert does not return client certificate

2013-04-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: I have now fixed the documentation. Thank you! -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed versions: -Python 3.2 ___ Python tracker __

[issue17739] ssl.SSLSocket.getpeercert does not return client certificate

2013-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 908f1a61b907 by Antoine Pitrou in branch '3.3': Issue #17739: fix the description of SSLSocket.getpeercert(binary_form=True) for server sockets. http://hg.python.org/cpython/rev/908f1a61b907 New changeset 537c1f1ab53c by Antoine Pitrou in branch 'd

[issue17739] ssl.SSLSocket.getpeercert does not return client certificate

2013-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8dffb76faacc by Antoine Pitrou in branch '2.7': Issue #17739: fix the description of SSLSocket.getpeercert(binary_form=True) for server sockets. http://hg.python.org/cpython/rev/8dffb76faacc -- nosy: +python-dev ___

[issue17760] No i18n of IDLE's interface in french

2013-04-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The idle-dev list would be even more appropriate. I have been thinking about translated help text and have been thinking about discussing it on that list when more pressing IDLE issues are disposed of. -- ___ Python

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread R. David Murray
R. David Murray added the comment: It occurs to me that the tricky bit is that the install directory contents should be (a) read-only (easy) and ideally (b) owned by root (a little trickier, but doable with a setuid script or tailored sudo command). --

[issue17046] test_subprocess test_executable_without_cwd fails when run with installed python

2013-04-16 Thread Ned Deily
Changes by Ned Deily : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/ma

[issue17757] test_executable_without_cwd fails when run in the installed location

2013-04-16 Thread Ned Deily
Ned Deily added the comment: Duplicate of Issue17046 -- nosy: +ned.deily resolution: -> duplicate status: open -> closed superseder: -> test_subprocess test_executable_without_cwd fails when run with installed python ___ Python tracker

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Ned Deily
Ned Deily added the comment: We could change an existing buildbot, say one of the snakebite buildbots, to add a `make install` and run the tests from it. I don't think it should be very difficult. Just make sure ./configure --prefix= has a reasonable value like a dedicated directory (rather

[issue16694] Add pure Python operator module

2013-04-16 Thread Zachary Ware
Zachary Ware added the comment: Thank you for the review, Raymond. Since Serhiy agrees that the _operator __func__s are unnecessary, here's a v13 that removes them. Again, I'm not a native C speaker, so these new changes in _operator.c deserve a bit of extra scrutiny. Everything builds and s

[issue17764] Support http.server passing bind address via commend line argument

2013-04-16 Thread Malte Swart
New submission from Malte Swart: The http.server supports a shortcut to start it directly via the interpreter. To be able to use this shortcut on server with insecure interfaces, this patch adds a --bind, -b option to specify a bind address. -- components: Library (Lib) files: http-ser

[issue17689] Fix test discovery for test_tarfile.py

2013-04-16 Thread Zachary Ware
Zachary Ware added the comment: >> should I just add a requires_gzip to test.support and use those three >> in test_tarfile? > I think that's reasonable for now -- we can always refactor it later > and replace them with a skip_unless_module() Here's a patch :) -- Added file: http://bu

[issue17763] test_pydoc fails with the installed testsuite

2013-04-16 Thread R. David Murray
R. David Murray added the comment: There's an issue somewhere about allowing certain tests to be run in a tailored python environment (I'm pretty sure it involved test_site but I can't lay my hands on it). It seems like test_pydoc would be another candidate for that capability. -- no

[issue17759] test_urllibnet.test_bad_address() fails on Ubuntu 13.04

2013-04-16 Thread R. David Murray
R. David Murray added the comment: OK, that makes sense. I leave it to you to close, I guess. -- ___ Python tracker ___ ___ Python-bu

[issue5004] socket.getfqdn() doesn't cope properly with purely DNS-based setups

2013-04-16 Thread R. David Murray
R. David Murray added the comment: Note that socket.getfqdn is a wrapper around a couple of socket calls that are just wrappers of OS level socket calls. If you take a look at socket.py you'll see the definition. As Martin said earlier, if you (or anyone else) can figure out what hostname do

[issue17763] test_pydoc fails with the installed testsuite

2013-04-16 Thread Matthias Klose
Matthias Klose added the comment: this can be avoided when running python with -S, the error comes from a package installed in site-packages. -- ___ Python tracker ___ _

[issue17759] test_urllibnet.test_bad_address() fails on Ubuntu 13.04

2013-04-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: On Apr 16, 2013, at 03:26 PM, R. David Murray wrote: >I can't see how this could be classed as a bug in Python. An invalid domain >should quickly return a DNS error on a correctly configured operating system, >which is what the test is testing. If this report

[issue17759] test_urllibnet.test_bad_address() fails on Ubuntu 13.04

2013-04-16 Thread R. David Murray
R. David Murray added the comment: I can't see how this could be classed as a bug in Python. An invalid domain should quickly return a DNS error on a correctly configured operating system, which is what the test is testing. If this report came from less well know names, I'd just close the is

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +test_pydoc fails with the installed testsuite ___ Python tracker ___ ___ Python-bugs-lis

[issue17763] test_pydoc fails with the installed testsuite

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: this fails on an Ubuntu installation, running the installed tests. confirmed by a coworker. Where does the 'invalid distro' come from? == FAIL: test_apropos_with_bad_package (test.test_pydoc.

[issue17012] Differences between /usr/bin/which and shutil.which()

2013-04-16 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue17012] Differences between /usr/bin/which and shutil.which()

2013-04-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I couldn't wait. :) -- assignee: serhiy.storchaka -> barry ___ Python tracker ___ ___ Python-bugs-l

[issue17755] test_builtin assumes LANG=C

2013-04-16 Thread R. David Murray
R. David Murray added the comment: Based on the test failure this may be the same as #13886 and/or #17734. -- nosy: +r.david.murray ___ Python tracker ___ ___

[issue17012] Differences between /usr/bin/which and shutil.which()

2013-04-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset eb8c575fa781 by Barry Warsaw in branch '3.3': - Issue #17012: shutil.which() no longer fallbacks to the PATH environment http://hg.python.org/cpython/rev/eb8c575fa781 New changeset 8f5b37f8f964 by Barry Warsaw in branch 'default': - Issue #17012: sh

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread R. David Murray
R. David Murray added the comment: This has been fixed and broken again several times in the past[1]. We need a buildbot that runs the tests installed[2]. Antoine, do you have any thoughts about how to set up such a thing? I'm willing to host it. [1] I believe there used to be a program tha

[issue17762] platform.linux_distribution() should honor /etc/os-release

2013-04-16 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue17762] platform.linux_distribution() should honor /etc/os-release

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: http://www.freedesktop.org/software/systemd/man/os-release.html is a recent standard describing release information for an operating system. platform.linux_distribution() should know about it. - should that be the first file to be parsed? - names returned

[issue17760] No i18n of IDLE's interface in french

2013-04-16 Thread Ezio Melotti
Ezio Melotti added the comment: You could try to propose this on the python-ideas mailing list -- the bug tracker is for more concrete proposals. FWIW I'm -0.5 on translating IDLE's UI. IMHO every developer must learn English sooner or later and it's better to start using it from the beginnin

[issue3948] readline steals sigwinch

2013-04-16 Thread R. David Murray
Changes by R. David Murray : -- versions: +Python 2.7, Python 3.3, Python 3.4 -Python 2.6 ___ Python tracker ___ ___ Python-bugs-list m

[issue3949] curses' sigwinch handler isn't visible from python

2013-04-16 Thread R. David Murray
Changes by R. David Murray : -- stage: test needed -> needs patch versions: +Python 2.7, Python 3.3, Python 3.4 -Python 2.6 ___ Python tracker ___

[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- keywords: +needs review -patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- keywords: +patch Added file: http://bugs.python.org/file29884/pr17761.diff ___ Python tracker ___ ___ P

[issue17761] platform._parse_release_file doesn't close the /etc/lsb-release file, doesn't know about 'Ubuntu'

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: platform._parse_release_file doesn't close the /etc/lsb-release file, and is missing Ubuntu in _supported_dists. -- components: Library (Lib) messages: 187087 nosy: doko priority: normal severity: normal stage: patch review status: open title: platfor

[issue17760] No i18n of IDLE's interface in french

2013-04-16 Thread Olivier Berger
New submission from Olivier Berger: The IDLE UI isn't internationalized, AFAICS. This doesn't help when teachning Python to non-english native speakers. While learning basic english skills is no problem for wanabe Python hackers, it isn't so for young programmers being tought informatics throu

[issue16659] Pure Python implementation of random

2013-04-16 Thread Alex Gaynor
Alex Gaynor added the comment: Looking at the patch (haven't actually benchmarked it), I have two concerns with respect to performance: a) The need for locking, this doesn't exist in the C or RPython versions because of the GIL. That locking is going to be distinctly un-free. b) The need for m

[issue16659] Pure Python implementation of random

2013-04-16 Thread Brett Cannon
Brett Cannon added the comment: I was talking with Alex Gaynor about the Python implementation of operator (http://bugs.python.org/issue16694) and asked about this bug since Raymond said the fact PyPy had an RPython implementation was a knock against bothering with this. Alex said if performan

[issue14398] bz2.BZ2DEcompressor.decompress fail on large files

2013-04-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: Why does only 2.7 have tests? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue17689] Fix test discovery for test_tarfile.py

2013-04-16 Thread Ezio Melotti
Ezio Melotti added the comment: > I found requires_bz2 and requires_lzma that already exist; There's also requires_zlib. import_module is also somewhat similar, but it's used to skip the whole test file when the module is missing. > Here's another thought; would it be more useful to have a ge

[issue17759] test_urllibnet.test_bad_address() fails on Ubuntu 13.04

2013-04-16 Thread Matthias Klose
Matthias Klose added the comment: would be good to know if this is related to glibc-2.17, or not. There was a similiar issue ... -- ___ Python tracker ___ __

[issue17749] root logging functions break logger configuration

2013-04-16 Thread Vinay Sajip
Vinay Sajip added the comment: No, this behaviour is as expected. The sequence of events: 1. You call setup_logging(), which creates a logger with level DEBUG, and add a file handler to it. 2. You import m2, which calls logging.info(), which adds a handler to the root logger (via basicConfig()

[issue17759] test_urllibnet.test_bad_address() fails on Ubuntu 13.04

2013-04-16 Thread Barry A. Warsaw
New submission from Barry A. Warsaw: socket.gethostbyname('sadflkjsasf.i.nvali.d') gives a TimeoutError instead of an IOError on Ubuntu 13.04, causing the test to fail. % ./python -m unittest test.test_urllibnet .E../home/barry/projects/python/cpython/Lib/test/test_urllibnet.py:94: Deprecation

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +test_site fails when the user does not have a home directory ___ Python tracker ___ ___

[issue17758] test_site fails when the user does not have a home directory

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: seen when running the testsuite as user nobody, with test_site fails when the user's home directory does not exist, and is not creatable (e.g. /nonexistent). FAILED (failures=3) test test_pydoc failed Re-running test 'test_site' in verbose mode test test_site

[issue17712] test_gdb failures

2013-04-16 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Possibly this issue: Possibly this issue: https://bugzilla.redhat.com/show_bug.cgi?id=312011 I'm seeing tons of this on Ubuntu 13.04. -- ___ Python tracker _

[issue17712] test_gdb failures

2013-04-16 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry, doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue17737] test_gdb fails on armv7hl

2013-04-16 Thread Bohuslav "Slavek" Kabrda
Bohuslav "Slavek" Kabrda added the comment: This may also be related to the tests failing on official buildbots as mentioned in [1], although the error messages look different. However both of these issues seem to be a memory corruption problem, as one of the frames in stack trace (the one tha

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2013-04-16 Thread Larry Hastings
Larry Hastings added the comment: Whoops, forgot to write something here. Updated patch (in previous edit to the issue) incorporating Serhiy's suggestions from Rietveld. -- ___ Python tracker

[issue15301] os.chown: OverflowError: Python int too large to convert to C long

2013-04-16 Thread Larry Hastings
Changes by Larry Hastings : Added file: http://bugs.python.org/file29883/larry.chown.unsigned.uid.gid.3.diff ___ Python tracker ___ ___ Python

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +test_executable_without_cwd fails when run in the installed location ___ Python tracker ___ ___

[issue17757] test_executable_without_cwd fails when run in the installed location

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: this test already has a: @unittest.skipIf(sysconfig.is_python_build(), "need an installed Python. See #7774") but fails in the installed location. == FAIL: test_exec

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +test_syntax_error fails when run in the installed location ___ Python tracker ___ ___ Py

[issue17756] test_syntax_error fails when run in the installed location

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: no idea yet about that one ... == FAIL: test_syntax_error (test.test_code_module.TestInteractiveConsole) -- Traceback (most

[issue17750] allow the testsuite to run in the installed location

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +test_builtin assumes LANG=C ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

  1   2   >