[issue15125] argparse: positional arguments containing - in name not handled well

2012-07-07 Thread Nicu Stiurca
Nicu Stiurca added the comment: Florent, there are several reasons I think this is a valid use case. First, for optional arguments, '-' gets automatically replaced with '_' as the destination. I don't see any reason why optional and positional arguments should be treated differently when deci

[issue7897] Support parametrized tests in unittest

2012-07-07 Thread Nick Coghlan
Nick Coghlan added the comment: As another in-the-standard-library uses case: my additions to the ipaddress test suite are really crying out for parameterised test support. My current solution is adequate for coverage and debugging purposes (a custom assert applied to multiple values in a tes

[issue14826] urllib2.urlopen fails to load URL

2012-07-07 Thread Ross Lagerwall
Ross Lagerwall added the comment: It looks like this broke the build bots: http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%202.7/builds/66/steps/test/logs/stdio -- assignee: -> orsenthil nosy: +rosslagerwall status: closed -> open ___ P

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2012-07-07 Thread Ned Deily
Ned Deily added the comment: Also OS X universal builds have many of the characteristics of a cross-build. In particular, one executable (like the python interpreter) can contain both 32-bit and 64-bit architecture files. So tests for 32-bit vs 64-bit at build time using the running compile

[issue15233] atexit: guarantee order of execution of registered functions?

2012-07-07 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +benjamin.peterson, giampaolo.rodola, meador.inge, python-dev ___ Python tracker ___ ___ Python-bugs

[issue9788] atexit and execution order

2012-07-07 Thread Éric Araujo
Éric Araujo added the comment: Reopened as #15233. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue15252] Delivery reports about your e-mail

2012-07-07 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file26260/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue15252] Delivery reports about your e-mail

2012-07-07 Thread Éric Araujo
Changes by Éric Araujo : Removed file: http://bugs.python.org/file26259/transcript.zip ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14590] ConfigParser doesn't strip inline comment when delimiter occurs earlier without preceding space.

2012-07-07 Thread Éric Araujo
Éric Araujo added the comment: If this is a bugfix, can you backport it to stable branches? If it’s a new, incompatible behavior change, then it was committed too late for 3.3 in theory. -- ___ Python tracker __

[issue15270] "Economy of Expression" section outdated

2012-07-07 Thread Raymond Hettinger
Raymond Hettinger added the comment: The point was that the docs shouldn't "write a book" where briefer explanations suffice. The mention of super() may not be the best example because many "experts" still don't get what it is all about regardless of how much or how little much is written.

[issue15275] isinstance is called a more times that needed in ntpath

2012-07-07 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15110] strange Tracebacks with importlib

2012-07-07 Thread Brett Cannon
Changes by Brett Cannon : -- stage: patch review -> commit review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue15110] strange Tracebacks with importlib

2012-07-07 Thread Brett Cannon
Brett Cannon added the comment: Looks good to me. Go ahead and commit it. -- assignee: brett.cannon -> pitrou ___ Python tracker ___

[issue15256] Typo in error message

2012-07-07 Thread Brett Cannon
Brett Cannon added the comment: Patch looks fine. Next time I have python-dev time I will commit it. -- assignee: -> brett.cannon stage: patch review -> commit review ___ Python tracker __

[issue15288] Clarify the pkgutil.walk_packages() note

2012-07-07 Thread Brett Cannon
Brett Cannon added the comment: Probably linking the term "importers" into the glossary should be enough. -- nosy: +brett.cannon ___ Python tracker ___ _

[issue14826] urllib2.urlopen fails to load URL

2012-07-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: Thanks for the patch, Stephen. -- nosy: +orsenthil ___ Python tracker ___ ___ Python-bugs-list mai

[issue14826] urllib2.urlopen fails to load URL

2012-07-07 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed versions: +Python 2.7, Python 3.2 ___ Python tracker ___ __

[issue14826] urllib2.urlopen fails to load URL

2012-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset d931a3b64fd6 by Senthil Kumaran in branch '2.7': Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method. http://hg.python.org/cpython/rev/d931a3b64fd6 -- ___ Pytho

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2012-07-07 Thread Matthias Klose
Matthias Klose added the comment: using sys.maxsize isn't safe for cross builds. it should at least guarded by 'if not cross_compiling'. I still think that the preferred way to get the library dirs is to ask the compiler (patch attached), however this will add "incompatible" library dirs as

[issue14826] urllib2.urlopen fails to load URL

2012-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 01c8d800efd2 by Senthil Kumaran in branch '3.2': Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method. http://hg.python.org/cpython/rev/01c8d800efd2 New changeset e6bb919b2623 by Senthil Kumaran in branch '

[issue5931] Python runtime name hardcoded in wsgiref.simple_server

2012-07-07 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed versions: +Python 3.3 -Python 3.4 ___ Python tracker ___ ___

[issue15290] setAttribute() can fail

2012-07-07 Thread Antoine Pitrou
New submission from Antoine Pitrou : This is a regression from 3.2: Traceback (most recent call last): File "/home/antoine/3sted/twisted/lore/test/test_lore.py", line 542, in test_setTitle secondTitle.setAttribute('class', 'title') File "/home/antoine/opt/lib/python3.3/xml/dom/minidom.p

[issue15285] test_timeout failure when system on IPv4 10.0.x.x subnet

2012-07-07 Thread Ned Deily
Ned Deily added the comment: Actually this is a real test case error. The problem is observed when the system under test is connected to subnet "10.0.x.x". The requested address (10.0.0.0) is then a broadcast address for the subnet. On OS X and (I believe) BSD networking systems, the conne

[issue15283] pyvenv says nothing on success

2012-07-07 Thread Vinay Sajip
Vinay Sajip added the comment: > It does one single thing and it has only a handful of options > (one of which is a no-op :-)). Perhaps it's a no-op only on your preferred operating system - that doesn't mean it's a no-op for everyone :-) I don't mind clarifying/expanding the help output, but

[issue14814] Implement PEP 3144 (the ipaddress module)

2012-07-07 Thread Nick Coghlan
Nick Coghlan added the comment: Yup, it's broken (doesn't handle NotImplemented correctly) and Raymond isn't keen on fixing it. I should add a link to the relevant tracker issue in a comment, though. -- ___ Python tracker

[issue13797] Allow objects implemented in pure Python to export PEP 3118 buffers

2012-07-07 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue15110] strange Tracebacks with importlib

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ah, right, here is an updated patch which also handles extension modules and frozen ones. -- Added file: http://bugs.python.org/file26312/trim_tb2.patch ___ Python tracker __

[issue5931] Python runtime name hardcoded in wsgiref.simple_server

2012-07-07 Thread Phillip J. Eby
Phillip J. Eby added the comment: On Sat, Jul 7, 2012 at 2:37 PM, Terry J. Reedy wrote: > Phillip, this is a trivial wsgiref patch. Do you have any opinion? > Nope. -- ___ Python tracker _

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: This was this test which was failing: def testConnectTimeout(self): # Choose a private address that is unlikely to exist to prevent # failures due to the connect succeeding before the timeout. # Use a dotted IP address to avoid inc

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: probably a temporary network issue: i cannot reproduce it now. -- resolution: -> works for me status: open -> pending ___ Python tracker ___

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: happened on 10.6, 64 bits, with a fresh build. == CPython 3.3.0b1 (default:5b71f5891c54, Jul 7 2012, 17:47:30) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] == Darwin-10.8.0-i386-64bit little-endian -- ___ Python

[issue14826] urllib2.urlopen fails to load URL

2012-07-07 Thread Stephen Thorne
Stephen Thorne added the comment: Here is a patch that uses the same quoting logic in urllib.request.Request.__init__ as is used by urllib.request.URLopener.open() -- keywords: +patch nosy: +jerub versions: +Python 3.3 -Python 2.7 Added file: http://bugs.python.org/file26311/urllib-quo

[issue15279] Spurious unittest warnings

2012-07-07 Thread Ned Deily
Ned Deily added the comment: That's an odd failure. I've not seen it nor can I reproduce it on 10.7 using the standard Apple Xcode 4.3.3 clang nor on 10.6 using the Apple Xcode 3.2.6 gcc-4.2. You appear to be using a MacPorts-built gcc-4.2. Can you try with an Apple-supplied compiler (./co

[issue15283] pyvenv says nothing on success

2012-07-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: >> Using venv is not obvious in the first place. > > Well, why couldn't it *become* obvious. Because the notion of a "virtual environment" is inherently non-obvious. Is it like a virtual machine (and if so, like VMWare or like Java, both with virtual machines

[issue5931] Python runtime name hardcoded in wsgiref.simple_server

2012-07-07 Thread Senthil Kumaran
Senthil Kumaran added the comment: I have fixed this in the changeset 34e705fa4da4. SERVER_SOFTWARE term can be made more specific to note the implementation as various suggestions say. I personally think, it is worthy to make change in 3.3 itself as its been open from a long time and it is s

[issue15194] libffi-3.0.11 update

2012-07-07 Thread Matthias Klose
Matthias Klose added the comment: libffi_osx wasn't (yet) updated. so this seems to be unrelated to the 3.0.11 update. -- ___ Python tracker ___ ___

[issue15110] strange Tracebacks with importlib

2012-07-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: See also msg164937 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15110] strange Tracebacks with importlib

2012-07-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I added to _ssl.c: PyErr_SetString(PyExc_ValueError, "Just a test"); return NULL; Then I tried to import the module: ~/python/cpython3.x$ ./python -c "import ssl" Traceback (most recent call last): File "", line 1, in File "/home/amauryfa/p

[issue15228] os.utime() docs not clear on behavior on nonexistant files

2012-07-07 Thread Larry Hastings
Changes by Larry Hastings : -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue15110] strange Tracebacks with importlib

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Does it work for extension modules? What do you mean? -- ___ Python tracker ___ ___ Python-bugs-

[issue14988] _elementtree: Raise ImportError when importing of pyexpat fails

2012-07-07 Thread Stephen Thorne
Stephen Thorne added the comment: With the attached patch, with python3.3(trunk) I instead get: ./python.exe -c 'import _elementtree' Traceback (most recent call last): File "", line 1, in File "", line 1294, in _find_and_load File "", line 1261, in _find_and_load_unlocked File "", l

[issue15110] strange Tracebacks with importlib

2012-07-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Does it work for extension modules? -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue15289] Adding __getitem__ as a class method doesn't work as expected

2012-07-07 Thread Eric Snow
Changes by Eric Snow : -- components: +Interpreter Core -None resolution: -> invalid stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue15289] Adding __getitem__ as a class method doesn't work as expected

2012-07-07 Thread Eric Snow
Eric Snow added the comment: This appears to be a misunderstanding about special-method lookup which, honestly, isn't super obvious at first. It helps to remember that classes are objects like everything else in Python and thus are instances of some type (their metaclass). Anyway, here's th

[issue15283] pyvenv says nothing on success

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > Well, having to run "source bin/activate" is not obvious (unless you've > > already used virtualenv) > > Using venv is not obvious in the first place. Well, why couldn't it *become* obvious. It's not supposed to be a complicated piece of software. It does

[issue15266] Perform the same checks as PyPI for Description field

2012-07-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: > One maintenance issue is the possible discrepancy between PyPI’s > checks and distutils2’s; if the PyPI maintainers agree to announce > all changes to catalog-sig it could work (just like for classifiers). We can certainly try to remember, but I expect t

[issue15283] pyvenv says nothing on success

2012-07-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: > Well, having to run "source bin/activate" is not obvious (unless you've > already used virtualenv) Using venv is not obvious in the first place. so presumably, the user has read some documentation telling him what it is and how it's used. Presumably, that do

[issue15283] pyvenv says nothing on success

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The reason it says nothing on success is that it follows the general > philosophy of programs on Unix. Of course, there are exceptions, but > it's not obvious that pyvenv should say anything, and what it should > presume is the user's next likely step. Well,

[issue15281] pyvenv --symlinks option is a no-op?

2012-07-07 Thread Vinay Sajip
Vinay Sajip added the comment: > Ok, then it might be nice to make the usage string (which is printed with pyvenv --help) clearer. Fair point, I'll update the help text to be clearer. -- ___ Python tracker __

[issue15283] pyvenv says nothing on success

2012-07-07 Thread Vinay Sajip
Vinay Sajip added the comment: The reason it says nothing on success is that it follows the general philosophy of programs on Unix. Of course, there are exceptions, but it's not obvious that pyvenv should say anything, and what it should presume is the user's next likely step. As well as runn

[issue15281] pyvenv --symlinks option is a no-op?

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Following discussions on python-dev, the default is always to symlink, > except on Windows (no support for true symlinks on XP and older) and > Mac OS X (problems with framework builds). The --symlinks indicates, > on those platforms where symlinks is not the

[issue15281] pyvenv --symlinks option is a no-op?

2012-07-07 Thread Vinay Sajip
Vinay Sajip added the comment: Following discussions on python-dev, the default is always to symlink, except on Windows (no support for true symlinks on XP and older) and Mac OS X (problems with framework builds). The --symlinks indicates, on those platforms where symlinks is not the default,

[issue15289] Adding __getitem__ as a class method doesn't work as expected

2012-07-07 Thread samwyse
New submission from samwyse : I'm using a class as a decorator, and saving information in a class variable. I wanted to access the information via a __getitem__ class method, but using conventional syntax doesn't work on a class. The following exception is thrown when the attached script is

[issue15286] normpath does not work with local literal paths

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think this is wrong. The MSDN doc says: “Because it turns off automatic expansion of the path string, the "\\?\" prefix also allows the use of ".." and "." in the path names, which can be useful if you are attempting to perform operations on a file with the

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: We do not document removals after they are done as they are not an issue for back-compatibility (unlike changes and additions). Deprecation Warnings are optionally available for checking forward-compatibility. Deprecations are sometimes noted in the regular t

[issue15110] strange Tracebacks with importlib

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way, it has to be done in C since tb_next can't be modified from Python code. -- ___ Python tracker ___ ___

[issue15110] strange Tracebacks with importlib

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Here is a patch with tests. Brett, what do you think? -- stage: -> patch review Added file: http://bugs.python.org/file26308/trim_tb.patch ___ Python tracker

[issue15286] normpath does not work with local literal paths

2012-07-07 Thread Brian Curtin
Brian Curtin added the comment: Hi mandel :) With the exception of the "import string" inside of _get_letters (policy is to do all imports at the top), it looks ok just by reading. Assigning to myself to complete it after I return from holiday in a few days (unless someone beats me). --

[issue12927] test_ctypes: segfault with suncc

2012-07-07 Thread Stefan Krah
Stefan Krah added the comment: Given that --with-system-ffi works, I don't think we need the additional burden of maintaining patches for libffi/suncc. -- resolution: -> wont fix stage: needs patch -> committed/rejected status: open -> closed ___ Py

[issue5931] Python runtime name hardcoded in wsgiref.simple_server

2012-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Phillip, this is a trivial wsgiref patch. Do you have any opinion? -- versions: +Python 3.4 -Python 3.2 ___ Python tracker ___ _

[issue1767933] Badly formed XML using etree and utf-16

2012-07-07 Thread Eli Bendersky
Eli Bendersky added the comment: Thanks for your work on this, Serhiy. I made some comments in the code-review tool, mainly about the complexity of the resulting code. Great work on switching the tests to unittest, much appreciated. -- ___ Python

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-07-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: I created issue 15288 to improve the documentation around this. -- ___ Python tracker ___ ___ Pytho

[issue15288] Clarify the pkgutil.walk_packages() note

2012-07-07 Thread Chris Jerdonek
New submission from Chris Jerdonek : The note at the end of the pkgutil.walk_packages() (and iter_modules()) documentation can be improved somewhat: http://docs.python.org/dev/library/pkgutil.html#pkgutil.walk_packages For example, "importers" aren't referenced earlier in the documentation of

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-07-07 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks a lot, Eric. I'm going to create a new issue to clarify the note a bit, if that's okay. At minimum, I feel like enough information should be given to let one run the examples given. By the way, your comment, "While you can use pkgutil.ImpImporter as

[issue14791] setup.py only adds /prefix/lib, not /prefix/lib64

2012-07-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +doko ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14790] use packaging in setup.py

2012-07-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- priority: release blocker -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue15284] Handle ipv6 not being enabled in test_socket

2012-07-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- stage: -> patch review type: -> behavior versions: +Python 3.3 -Python 3.4 ___ Python tracker ___ ___

[issue15286] normpath does not work with local literal paths

2012-07-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brian.curtin, tim.golden stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mai

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Ned Deily
Ned Deily added the comment: What version of OS X? -- nosy: +ned.deily ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue14982] pkgutil.walk_packages seems to not work properly on Python 3.3a

2012-07-07 Thread Eric Snow
Eric Snow added the comment: Importers are a PEP 302 API. In the context of pkgutil, they are path hooks (see http://www.python.org/dev/peps/pep-0302/#id24), aka path importers. A path hook is a callable that takes a path and returns a finder. Path hooks are stored in sys.path_hooks and th

[issue15287] support.TESTFN was modified by test_builtin

2012-07-07 Thread Florent Xicluna
New submission from Florent Xicluna : There's a warning running test_builtin $ ./python.exe -m test.regrtest -u all -v test_builtin == CPython 3.3.0b1 (default:5b71f5891c54, Jul 7 2012, 17:47:30) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] == Darwin-10.8.0-i386-64bit little-endian == ./bui

[issue14590] ConfigParser doesn't strip inline comment when delimiter occurs earlier without preceding space.

2012-07-07 Thread Łukasz Langa
Changes by Łukasz Langa : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Pyt

[issue14590] ConfigParser doesn't strip inline comment when delimiter occurs earlier without preceding space.

2012-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5257bb466d18 by Łukasz Langa in branch 'default': Fixes #14590: ConfigParser doesn't strip inline comment when delimiter occurs http://hg.python.org/cpython/rev/5257bb466d18 -- nosy: +python-dev ___ Pyth

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Florent Xicluna
Changes by Florent Xicluna : -- assignee: -> ronaldoussoren components: +Macintosh nosy: +ronaldoussoren ___ Python tracker ___ ___ P

[issue15277] Fix resource leak in support.py:_is_ipv6_enabled

2012-07-07 Thread Ross Lagerwall
Ross Lagerwall added the comment: Ah, I see you've already opened a new issue for that (issue15284). -- ___ Python tracker ___ ___ Py

[issue15277] Fix resource leak in support.py:_is_ipv6_enabled

2012-07-07 Thread Ross Lagerwall
Ross Lagerwall added the comment: Thanks. test_socket seems to be broken in all branches when running with net.ipv6.conf.all.disable_ipv6 = 1 but I'll open a new issue for that. -- assignee: -> rosslagerwall nosy: +rosslagerwall resolution: -> fixed stage: -> committed/rejected sta

[issue15286] normpath does not work with local literal paths

2012-07-07 Thread Manuel de la Pena
New submission from Manuel de la Pena : Local literal paths are those paths that do use the \\?\ that allows to have paths longer that the MAX_PATH set by Windows (http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx#short_vs._long_names). While UNC (http://en.wik

[issue15277] Fix resource leak in support.py:_is_ipv6_enabled

2012-07-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset c9299edf1f67 by Ross Lagerwall in branch 'default': #15277: Fix a resource leak in support.py when IPv6 is disabled. http://hg.python.org/cpython/rev/c9299edf1f67 -- nosy: +python-dev ___ Python tracker

[issue1508475] transparent gzip compression in urllib

2012-07-07 Thread Stephen Thorne
Changes by Stephen Thorne : -- nosy: +jerub ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue15285] test_timeout failure on OSX

2012-07-07 Thread Florent Xicluna
New submission from Florent Xicluna : I have this repeatable failure on OSX. $ time ./python.exe -m test.regrtest -uall -W test_timeout [1/1] test_timeout testBlockingThenTimeout (test.test_timeout.CreationTestCase) ... ok testFloatReturnValue (test.test_timeout.CreationTestCase) ... ok testObj

[issue3786] _curses, _curses_panel & _multiprocessing can't be build in 2.6b3 w/ SunStudio 12

2012-07-07 Thread Justin Venus
Justin Venus added the comment: I am sure that macro object is there for good reason, it just doesn't apply for Solaris 11. On Jul 7, 2012 10:34 AM, "Éric Araujo" wrote: > > Éric Araujo added the comment: > > +# work around for assumption on line 128 of > Modules/_cursesmodule

[issue15228] os.utime() docs not clear on behavior on nonexistant files

2012-07-07 Thread Brian Brazil
Brian Brazil added the comment: Here's a patch that should clarify this. -- keywords: +patch nosy: +bbrazil Added file: http://bugs.python.org/file26306/issue15228-utime-touch-doc.patch ___ Python tracker

[issue15276] unicode format does not really work in Python 2.x

2012-07-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue15282] pysetup still installed

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Are you sure you built from a clean checkout? (i.e. no build dir with > a leftover pysetup script) Ach, that was it. Sorry for the false alarm. -- resolution: -> invalid stage: -> committed/rejected status: open -> closed ___

[issue15276] unicode format does not really work in Python 2.x

2012-07-07 Thread Ariel Ben-Yehuda
Ariel Ben-Yehuda added the comment: I don't work on CPython On Sat, Jul 7, 2012 at 6:57 PM, Martin v. Löwis wrote: > > Martin v. Löwis added the comment: > > Ariel: would you like to provide a patch? > > -- > nosy: +loewis > > ___ > Python tracker

[issue13248] deprecated in 3.2, should be removed in 3.3

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: Eric, I will check but I thought they were not documented. -- ___ Python tracker ___ ___ Python-bu

[issue15282] pysetup still installed

2012-07-07 Thread Éric Araujo
Éric Araujo added the comment: An older Makefile* can also explain this. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15281] pyvenv --symlinks option is a no-op?

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: $ pyvenv-3.3 --no-symlinks env usage: venv [-h] [--system-site-packages] [--symlinks] [--clear] [--upgrade] ENV_DIR [ENV_DIR ...] venv: error: unrecognized arguments: --no-symlinks :-) -- ___ Python tra

[issue15283] pyvenv says nothing on success

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Command line utilities typically don't provide a success report. It depends which ones. Even Mercurial doesn't always abide by that rule (e.g. "hg clone" will tell you that it updates to the default branch). > Whether "source activate" is good advise or not

[issue1076515] shutil.move clobbers read-only files.

2012-07-07 Thread Éric Araujo
Éric Araujo added the comment: Would a doc clarification be useful? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue15282] pysetup still installed

2012-07-07 Thread Éric Araujo
Éric Araujo added the comment: grep only finds one reference to pysetup, in the MSI code. Are you sure you built from a clean checkout? (i.e. no build dir with a leftover pysetup script) -- ___ Python tracker _

[issue15281] pyvenv --symlinks option is a no-op?

2012-07-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: Try --no-symlinks. -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue15283] pyvenv says nothing on success

2012-07-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: It should produce any output. Command line utilities typically don't provide a success report. Would you want "mkdir env" to say "created env directory; you can now cd into it", or "cat /etc/passwd" append "successfully displayed text file"??? There are exc

[issue15284] Handle ipv6 not being enabled in test_socket

2012-07-07 Thread Brian Brazil
New submission from Brian Brazil : If ipv6 is compiled in but disabled in the kernel then test_socket attempts to bind to ports and gets lots of stack traces. The attached patch skips the relevant tests. -- components: Tests files: ipv6-disabled-test-socket.patch keywords: patch messag

[issue15276] unicode format does not really work in Python 2.x

2012-07-07 Thread Martin v . Löwis
Martin v. Löwis added the comment: Ariel: would you like to provide a patch? -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-

[issue15283] pyvenv says nothing on success

2012-07-07 Thread Antoine Pitrou
New submission from Antoine Pitrou : $ pyvenv-3.3 env $ It could tell me that I need to go into the directory and type "source bin/activate" (this is probably platform-dependent :-)). -- components: Demos and Tools, Library (Lib) messages: 164891 nosy: pitrou, vinay.sajip priority: nor

[issue13405] Add DTrace probes

2012-07-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Antoine, the Solaris 11 custum buildbot is not getting the "--with- > dtrace" configure parameter. Check which configuration have you changed > :-? Well, I thought you meant the new FreeBSD buildbots. I'm gonna change the Solaris bb too. -- __

[issue15194] libffi-3.0.11 update

2012-07-07 Thread Florent Xicluna
Florent Xicluna added the comment: Few warnings when building trunk (on 10.6): ./Modules/_ctypes/libffi_osx/x86/x86-ffi64.c:49: warning: function declaration isn’t a prototype ./Modules/_ctypes/libffi_osx/x86/x86-ffi64.c:379: warning: function declaration isn’t a prototype -- nosy: +

[issue1076515] shutil.move clobbers read-only files.

2012-07-07 Thread Greg Roodt
Greg Roodt added the comment: I believe this can be closed. shutil.copyfile attempts to copy file contents from src to dst, so it makes sense for this to fail if dst is read-only. shutil.move replaces the dst, which is permitted based on directory permissions. -- nosy: +groodt _

[issue15282] pysetup still installed

2012-07-07 Thread Antoine Pitrou
New submission from Antoine Pitrou : It seems to have eschewed the packaging removal. $ rm /home/antoine/opt/bin/pysetup3.3 $ make altinstall > /dev/null $ pysetup3.3 Traceback (most recent call last): File "/home/antoine/opt/bin/pysetup3.3", line 3, in from packaging.run import main

  1   2   3   >