[issue14191] argparse doesn't allow optionals within positionals

2013-04-16 Thread paul j3
paul j3 added the comment: This patch permits the mixing of optionals with positionals, with the caveat that a particular positional cannot be split up. If: parser = ArgumentParser() parser.add_argument('-f','--foo') parser.add_argument('cmd') parser.add_argument('rest', nargs=

[issue17119] Integer overflow when passing large string or tuple to Tkinter

2013-04-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch. Please run test_tcl test on 64-bit platform with > 20 GiB of memory. I haven't included a test for huge tuples because it requires a lot of memory (perhaps the hundreds of GiBs) and should run a long time. It is impossible to calculate exac

[issue17320] os.path.abspath in window7, return error

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

[issue17742] Add _PyBytesWriter API

2013-04-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please provide the benchmarks results? I am afraid that it may hit a performance. Results on Windows are especially interesting. -- components: +Interpreter Core stage: -> patch review type: -> enhancement

[issue17742] Add _PyBytesWriter API

2013-04-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17204] argparser's subparsers.add_parser() should accept an ArgumentParser

2013-04-16 Thread Greg Trahair
Changes by Greg Trahair : -- nosy: +Greg.Trahair ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue17204] argparser's subparsers.add_parser() should accept an ArgumentParser

2013-04-16 Thread Greg Trahair
Changes by Greg Trahair : -- nosy: -Greg.Trahair ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue17746] test_shutil.TestWhich.test_non_matching_mode fails when running as root

2013-04-16 Thread Jean-Baptiste Lallement
New submission from Jean-Baptiste Lallement: The test test_shutil.TestWhich.test_non_matching_mode fails when running as root because the temporary file is always writeable for this user. To reproduce on linux: $ sudo python3.3 -E -Wd -tt /usr/lib/python3.3/test/regrtest.py -v -w test_shutil [

[issue17746] test_shutil.TestWhich.test_non_matching_mode fails when running as root

2013-04-16 Thread Jean-Baptiste Lallement
Jean-Baptiste Lallement added the comment: Reference on LP: https://bugs.launchpad.net/ubuntu/+source/python3.3/+bug/1169458 -- ___ Python tracker ___ __

[issue16694] Add pure Python operator module

2013-04-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Now we can remove all __func__s from _operator.c. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue17742] Add _PyBytesWriter API

2013-04-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I did not run a benchmark yet. I wrote a patch to factorize the code, > not the make the code faster. Your patches don't seem to reduce the line count, so I don't understand the point. -- ___ Python tracker

[issue17745] "packaging" no longer planned to be included

2013-04-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Distutils, Distutils2 nosy: +alexis, tarek ___ Python tracker ___ ___ Python-bugs-list mai

[issue17741] event-driven XML parser

2013-04-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: I've posted on the tulip mailing-list already: https://groups.google.com/forum/?fromgroups=#!topic/python-tulip/SNOnS27Bctc -- ___ Python tracker __

[issue17746] test_shutil.TestWhich.test_non_matching_mode fails when running as root

2013-04-16 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Library (Lib) -Tests nosy: +hynek, serhiy.storchaka, tarek stage: -> needs patch versions: +Python 3.4 ___ Python tracker ___ _

[issue17747] Deprecate pickle fast mode

2013-04-16 Thread Alexandre Vassalotti
New submission from Alexandre Vassalotti: Pickle fast mode is currently a deprecated feature of the Pickler class used to disable its memoization mechanism. It was used mainly to create smaller output by not emitting a PUT opcode for each object saved. Unfortunately, this mode only worked with

[issue17748] Condition.wait timeout can't be set to more than 50 ms

2013-04-16 Thread Bohuslav "Slavek" Kabrda
New submission from Bohuslav "Slavek" Kabrda: On Python 2, Condition.wait timeout is always taken as min(delay * 2, remaining, .05) which means it cannot be longer than 50 ms. I don't see a reason for this and AFAIK this is no longer true for Python 3, where timeout can be arbitrarily long. W

[issue17749] root logging functions break logger configuration

2013-04-16 Thread Fabian
New submission from Fabian: If I get and configure a named logger in the main module and another module that is imported uses the root logging functions (e.g., logging.info("Hello World!")) somehow affects the configuration of the first (named) logger. The file m1.py defines the logger "testlo

[issue17748] Condition.wait timeout can't be set to more than 50 ms

2013-04-16 Thread Jaroslav Škarvada
Jaroslav Škarvada added the comment: The current behaviour is not good for power consumption especially with the current tickless kernels - the python processes using "threading" shows in the top of the "powertop" list (on machine tuned for low power consumption) causing 20 wakeups per second.

[issue17748] Condition.wait timeout can't be set to more than 50 ms

2013-04-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Locks in 2.7 don't support a timeout, which is why Condition.wait has a polling loop. The comment explains it all: # Balancing act: We can't afford a pure busy loop, so we # have to sleep; but if we sleep the whole timeout time, # we'll be unresponsive. L

[issue17749] root logging functions break logger configuration

2013-04-16 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue17746] test_shutil.TestWhich.test_non_matching_mode fails when running as root

2013-04-16 Thread Matthias Klose
Matthias Klose added the comment: one way would be to skip this test when running as root. Would the check for the X bit work on Windows? @unittest.skipUnless(hasattr(os, 'getuid') and os.getuid() != 0, "test always succeeds as root") -- nosy: +doko __

[issue11957] re.sub confusion between count and flags args

2013-04-16 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: rhettinger -> ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

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

2013-04-16 Thread Stijn Hoop
Stijn Hoop added the comment: Still seeing this on Fedora 18 / Python 2.7.3. I only have loopback in /etc/hosts [TUE\shoop@pclin281] <~> cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost

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

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: [Meta issue, opening separate issues for test cases] The default install always installs the testsuite together with all the python batteries. So make sure that you can run the testsuite can run from the installed location too. - some tests require the sou

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

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +test_shutil.TestWhich.test_non_matching_mode fails when running as root ___ Python tracker ___

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

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- nosy: +jibel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17751] ctypes/test/test_macholib.py fails when run from the installed location

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: the ctypes tests unconditionally import macholib.dyld, which is not available in an installed testsuite on other platforms. So either don't install this test, or only run the import and test when on MacOS? -- components: Tests messages: 187067 nosy:

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

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +ctypes/test/test_macholib.py fails when run from the installed location ___ Python tracker ___

[issue17752] many distutils tests fail when run from the installed location

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: many distutils tests fail when run from the installed location, either depending on the 'srcdir' macro, files not installed ('xxmodule.c'), or needing write permissions in the installed location. -- components: Tests messages: 187068 nosy: doko prior

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

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +many distutils tests fail when run from the installed location ___ Python tracker ___ __

[issue17753] test_zipfile: requires write access to test and email.test

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: test_zipfile requires write access to the installed location, when trying to byte-compile files. == ERROR: test_write_pyfile (test.test_zipfile.PyZipFileTests) ---

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

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- dependencies: +test_zipfile: requires write access to test and email.test ___ Python tracker ___ ___ Py

[issue17754] test_ctypes assumes LANG=C LC_ALL=C

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: this test assumes LANG=C LC_ALL=C test.test_ctypes (unittest.loader.LoadTestsFailure) ... ERROR == ERROR: test.test_ctypes (unittest.loader.LoadTestsFailure) -

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

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

[issue17754] test_ctypes assumes LANG=C LC_ALL=C

2013-04-16 Thread Matthias Klose
Matthias Klose added the comment: hmm, looks more an issue in ctypes/util.py. _findLib_gcc should set the environment explicitly as already done in _findSoname_ldconfig. -- versions: +Python 2.7 ___ Python tracker

[issue17754] test_ctypes assumes LANG=C LC_ALL=C

2013-04-16 Thread Matthias Klose
Changes by Matthias Klose : -- components: +ctypes -Tests ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue17755] test_builtin assumes LANG=C

2013-04-16 Thread Matthias Klose
New submission from Matthias Klose: I'm not sure about this one ... but it fails with an utf8 locale which happended to be set as the default, run from the installed location. == FAIL: test_input_tty_non_ascii (test.test_builti

[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

[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_syntax_error fails when run in the installed location ___ Python tracker ___ ___ Py

[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_executable_without_cwd fails when run in the installed location ___ 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

[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

[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

[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

[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.

[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 _

[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

[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 ___ ___

[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

[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 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 ___ __

[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

[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

[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

[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

[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

[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

[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
Changes by Matthias Klose : -- keywords: +needs review -patch ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[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 ___

[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

[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

[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

[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

[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

[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

[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 Barry A. Warsaw
Barry A. Warsaw added the comment: I couldn't wait. :) -- assignee: serhiy.storchaka -> barry ___ Python tracker ___ ___ Python-bugs-l

[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

[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.

[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

[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

[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

[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 ___ _

[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

[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

[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

[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

[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

[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

[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

[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

[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

[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). --

[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

[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 ___

[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 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 __

[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

[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: 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

[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 ___

[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

[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

[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

[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

[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

[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

  1   2   >