[issue12275] urllib.request.HTTPRedirectHandler won't redirect to a URL with only path but not domain

2011-06-07 Thread lilydjwg
New submission from lilydjwg : On redirecting to a url like '/login', at around line 556 of request.py it will raise an HTTPError. The sys.verrsion is Python 3.2 (r32:88445, Apr 15 2011, 11:20:08) [GCC 4.5.2 20110127 (prerelease)] on linux2 -- components: Library (Lib) messages: 1

[issue12276] 3.x ignores sys.tracebacklimit=0

2011-06-07 Thread Gabriel Genellina
New submission from Gabriel Genellina : Python 3.x doesn't honor sys.tracebacklimit=0 According to http://docs.python.org/py3k/library/sys.html#sys.tracebacklimit when set to 0, it should not print any stack trace, but it does. Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (

[issue12276] 3.x ignores sys.tracebacklimit=0

2011-06-07 Thread Gabriel Genellina
Gabriel Genellina added the comment: Originally reported by Thorsten Kampe in comp.lang.python 2011-5-27 -- ___ Python tracker

[issue12276] 3.x ignores sys.tracebacklimit=0

2011-06-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: This was changed a long time ago with 565012d1123d -- nosy: +amaury.forgeotdarc ___ Python tracker ___ __

[issue12276] 3.x ignores sys.tracebacklimit=0

2011-06-07 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12277] Missing comma in os.walk docs

2011-06-07 Thread Boštjan Mejak
New submission from Boštjan Mejak : http://docs.python.org/release/2.6.6/library/os.html?highlight=os.walk#os.walk Click the above link and note the 5th paragraph which goes "By default errors from the listdir() call are ignored." Please fix it to "By default, errors from the listdir() call ar

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-07 Thread Georg Brandl
Georg Brandl added the comment: Any Windows person going to review this one? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue9284] inspect.findsource() cannot find source for doctest code

2011-06-07 Thread Dirkjan Ochtman
Dirkjan Ochtman added the comment: Here's an attempted patch against 2.7. It seemed nice to put the test in test_doctest, but maybe it belongs in inspect... -- keywords: +needs review, patch Added file: http://bugs.python.org/file22270/issue9284.diff __

[issue12019] Dead or buggy code in importlib.test.__main__

2011-06-07 Thread Georg Brandl
Georg Brandl added the comment: If it's a minor cleanup and not a bugfix, why should it go into a branch that receives bugfixes only? -- nosy: +georg.brandl ___ Python tracker

[issue12268] file readline, readlines & readall methods can lose data on EINTR

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm not sure why you're creating a separate test file. There are already signals-related tests in test_io. Also, perhaps you can reuse the idioms used there, rather than spawn subprocesses. -- stage: -> patch review _

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-07 Thread Tim Golden
Tim Golden added the comment: I'm just patching a clone now. -- nosy: +tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-07 Thread STINNER Victor
STINNER Victor added the comment: issue12084.diff: - test_os pass with patched Python 3.3 on Windows 7 64 bits (and on Linux, Debian Sid) - in test_os: "finally: os.remove(file1)" fails with file1 doesn't exist: a new try/finally should be used after "with open(file1, "w") as f:" block, or

[issue12275] urllib.request.HTTPRedirectHandler won't redirect to a URL with only path but not domain

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, the HTTP RFC does indicate that the redirection URI (in the Location header: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30) must be an absolute URI, but I also agree that using a relative URI in that context is a common use-case suppor

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-07 Thread STINNER Victor
STINNER Victor added the comment: Win32SymlinkTests.test_rmdir_on_directory_link_to_missing_target() pass on my Windows 7 64 bits VM (with and without the patch), but is skipped: @unittest.skip("currently fails; consider for improvement") def test_rmdir_on_directory_link_to_missing_tar

[issue12238] Readline module loading in interactive mode

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: I don't think readline is "special-cased": $ echo "1/0" > logging.py $ cpython/default/python Python 3.3a0 (default:d8502fee4638+, Jun 6 2011, 19:13:58) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import lo

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-07 Thread Tim Golden
Tim Golden added the comment: All expected tests pass on 3.2 branch (Win7 32-bit). The patch doesn't apply cleanly to trunk; not sure if it's expected to or not. The code looks ok on paper. I'll leave Victor to quibble over the Unicode stuff... -- _

[issue12226] use secured channel for uploading packages to pypi

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If you make an HTTPS connection without checking the certificate, what > security does it add? Well, it does prevent the most trivial class of attacks (sniffing). That said, Python has support for certificate checking, especially in 3.2+, so you should use

[issue12278] Core mentorship mention in the devguide

2011-06-07 Thread Adam Woodbeck
New submission from Adam Woodbeck : Jesse requested the devguide be updated to include a mention of the Python Mentors site. The attached patch is my rough draft. -- components: Devguide files: help.rst.patch keywords: patch messages: 137807 nosy: adam.woodbeck, ncoghlan priority: norm

[issue12188] PEP 7, C style: add ++ policy and explanation

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, I don't think that's appropriate. Also, it's not about ++ in general but a particular use of it. -- nosy: +gvanrossum, pitrou resolution: -> rejected status: open -> pending type: -> feature request ___ Py

[issue12188] PEP 7, C style: add ++ policy and explanation

2011-06-07 Thread Eric V. Smith
Eric V. Smith added the comment: But don't you think we should put information like this somewhere, even if it's not in PEP 7? We've had a discussion about this particular issue (idiomatic pointer increments when appending to a buffer) at least twice, and there's also the recent "if (const ==

[issue12197] non-blocking SSL write in Windows sends large data but raises exception

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: Which version of Python are you testing on? It works fine using 3.2 and 3.3 here, under Windows 7 64-bit. Anyway, I would suggest to batch your write in smaller chunks (say, 2048 bytes each). Also, you may try sendall() instead. -- nosy: +pitrou ___

[issue11203] gzip doc is behind

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: The 3.x doc states that "GzipFile supports the io.BufferedIOBase interface, including iteration and the with statement. Only the truncate() method isn’t implemented". This implies that it also supports close(). -- nosy: +pitrou versions: -Python 3.1,

[issue12198] zipfile.py:1047: DeprecationWarning: 'H' format requires 0 <= number <= 65535

2011-06-07 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +amaury.forgeotdarc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue10115] Support accept4() for atomic setting of flags at socket creation

2011-06-07 Thread Vetoshkin Nikita
Vetoshkin Nikita added the comment: Yes, I can. We decided to expose accept4() as another socket method, not accept() replacement? -- ___ Python tracker ___ ___

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-07 Thread STINNER Victor
STINNER Victor added the comment: Oh oh. The situation is not a simple as expected. 3 functions only accept Unicode strings and 3 other functions decode "manually" byte strings from the ANSI code page. -- chdir(), rmdir(), unlink(), access(), chmod(), link(), listdir(), _getfullpath(), mkdi

[issue12188] PEP 7, C style: add ++ policy and explanation

2011-06-07 Thread Ezio Melotti
Ezio Melotti added the comment: If there are a few of these idioms, I'm not against adding a new section to PEP 7 (something like the "Programming Recommendations" section in the PEP 8). It's just not worth doing it for the "*p++ = x;" idiom alone IMHO. -- _

[issue12277] Missing comma in os.walk docs

2011-06-07 Thread Petri Lehtinen
Petri Lehtinen added the comment: Here's a patch. -- keywords: +patch nosy: +petri.lehtinen Added file: http://bugs.python.org/file22272/docs_os_walk_add_comma.patch ___ Python tracker

[issue12277] Missing comma in os.walk docs

2011-06-07 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- versions: -Python 2.6, Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue12277] Missing comma in os.walk docs

2011-06-07 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- versions: -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11669] Clarify Lang Ref "Compound statements" footnote

2011-06-07 Thread Petri Lehtinen
Petri Lehtinen added the comment: Keywords suggest that there should to be a patch here. Where is it? -- nosy: +petri.lehtinen ___ Python tracker ___ ___

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-06-07 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: Aehm, note that Apple has fixed the mmap(2) bug!! I'm still surprised and can't really believe it, but it's true! Just in case you're interested, i'll apply an updated patch. Maybe Ned Deily should have a look at the version check, which does not apply

[issue12188] PEP 7, C style: add ++ policy and explanation

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > If there are a few of these idioms, I'm not against adding a new > section to PEP 7 (something like the "Programming Recommendations" > section in the PEP 8). It's just not worth doing it for the "*p++ = > x;" idiom alone IMHO. If these are recommandations,

[issue11549] Build-out an AST optimizer, moving some functionality out of the peephole optimizer

2011-06-07 Thread Eugene Toder
Eugene Toder added the comment: Nick, if there's an interest in reviewing the patch I can update the it. I doubt it needs a lot of changes, given that visitor is auto-generated. Raymond, the patch contains a rewrite of low-level optimizations to work before byte code generation, which simplif

[issue12274] "Print window" menu on IDLE aborts whole application

2011-06-07 Thread R. David Murray
Changes by R. David Murray : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue5906] Risk of confusion in multiprocessing module - daemonic processes

2011-06-07 Thread Pascal Chambon
Pascal Chambon added the comment: I've just crossed again the doc of the daemon flag (http://docs.python.org/library/multiprocessing.html), and it's still quite confusing to newcomers. daemon The process’s daemon flag, a Boolean value. This must be set before start() is called. The i

[issue12238] Readline module loading in interactive mode

2011-06-07 Thread R. David Murray
R. David Murray added the comment: Python 3.3a0 (default:7323a865457a+, Jun 5 2011, 19:22:38) [GCC 4.5.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.modules['logging'] Traceback (most recent call last): File "", line 1, in KeyErro

[issue11784] multiprocessing.Process.join: timeout argument doesn't specify time unit.

2011-06-07 Thread Petri Lehtinen
Petri Lehtinen added the comment: The patch looks good to me and applies cleanly on top of 3.3 and 2.7. -- nosy: +petri.lehtinen versions: +Python 2.7, Python 3.3 ___ Python tracker ___

[issue12274] "Print window" menu on IDLE aborts whole application

2011-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0aa3064d1cef by Łukasz Langa in branch '3.2': #12274: use proper escaping for % in IDLE config. http://hg.python.org/cpython/rev/0aa3064d1cef New changeset b410d013e7a8 by Łukasz Langa in branch 'default': #12274: use proper escaping for % in IDLE

[issue12238] Readline module loading in interactive mode

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou added the comment: > The difference is that logging is not imported at startup. So, however > os (and friends, there are a lot of modules in sys.modules at startup) > is imported, it is different from how readline.so is imported. For the record, os is imported by the _io module:

[issue12274] "Print window" menu on IDLE aborts whole application

2011-06-07 Thread Łukasz Langa
Łukasz Langa added the comment: In 3.2 configparser started validating syntax in interpolation-aware parsers by default. I fixed the configuration. It's unfortunate this configuration error hasn't been caught before in testing. We need a unit test for broken configuration and a change in IDLE

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-07 Thread Brian Curtin
Brian Curtin added the comment: I should have specified - the patch is for 3.2. 2.7 code in this area is different but I'll get to that, and default/3.3 will also get this patch but it'll probably require some tweaking. I guess I went overboard on the refactoring which is why Victor is seeing

[issue12262] Not Inheriting File Descriptors on Windows?

2011-06-07 Thread Jesse Litton
Jesse Litton <3vi...@gmail.com> added the comment: Yes, socat was compiled under cygwin. I'll have to investigate whether I want to go the route of cygwin separately or just just leave the script as a pure stdin/out filter (since neither I nor the users have the cygwin environment installed).

[issue12238] Readline module loading in interactive mode

2011-06-07 Thread R. David Murray
R. David Murray added the comment: Yeah, that would be my guess. And readline.so is imported in main at a point where it has decided we are going into interactive mode, which is presumably after all other initialization has taken place, including the path munging. Thus my suggestion that tha

[issue12242] distutils2 environment marker for current compiler

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: >> What would the value be for non-C Python implementations? > I'm not really sure how this idea could have any value for those > implementations, at least for the ones that can't make use of C > extensions at all The question was about the meaning of a new “comp

[issue6056] socket.setdefaulttimeout affecting multiprocessing Manager

2011-06-07 Thread Derek Wilson
Derek Wilson added the comment: This should be higher priority as one of the major benefits of the multiprocessing module is remote process management in a completely transparent manner. socket timeouts are very important in this context as blocking forever waiting for a connection is not alw

[issue12019] Dead or buggy code in importlib.test.__main__

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: Brett: Merging is hardly a hassle for me, nor would it take any time in this case (non-conflicting changes are applied by Mercurial itself). I handle merges in projects that use multiple repositories, tons of clones, translation branches, so I’m a merge master

[issue9302] distutils API Reference: setup() and Extension parameters' description not correct.

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: Sorry, I thought updating the status was enough to convey “I’m about to commit this”. -- versions: -Python 3.1 ___ Python tracker ___ ___

[issue12019] Dead or buggy code in importlib.test.__main__

2011-06-07 Thread Georg Brandl
Georg Brandl added the comment: I don't think our policy is that strict, i.e. I wouldn't revert the change if it was already committed. But it's a bit slippery, and I'd rather have no behavior-changing "cleanups" end up in 3.2 originating in good intentions. -- status: pending -> ope

[issue12019] Dead or buggy code in importlib.test.__main__

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: Agreed; I didn’t mean to imply that strict was restrictive, but that it was safe. -- ___ Python tracker ___ _

[issue9302] distutils API Reference: setup() and Extension parameters' description not correct.

2011-06-07 Thread R. David Murray
R. David Murray added the comment: Um, no. 'pending' is 'pending close', specifically meaning, 'this issue is going to be closed (with a rejected status of some sort) unless someone objects or provides more information.' Someday, pending issues will be autoclosed after N days. Quite possibl

[issue11041] On the distutils2 documentation, 'requires-python' shouldn't be documented as *multi

2011-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset d8d1bd2c4847 by Éric Araujo in branch 'default': Fix documentation of requires-python field in setup.cfg (#11041) http://hg.python.org/cpython/rev/d8d1bd2c4847 -- nosy: +python-dev ___ Python tracker

[issue11092] Setup.cfg isn't packaged when running sdist

2011-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5940d2d82dee by Éric Araujo in branch 'default': Fix sdist to always include setup.cfg (#11092), to comply with the spec http://hg.python.org/cpython/rev/5940d2d82dee -- nosy: +python-dev ___ Python trac

[issue9302] distutils API Reference: setup() and Extension parameters' description not correct.

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: Oh, thanks for clearing a misunderstanding I’ve had for a year! I was using the pending status to prioritize issues (I have a personal “assigned to me + pending” query, now I’ll use priority instead. -- ___ Python tr

[issue9302] distutils API Reference: setup() and Extension parameters' description not correct.

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: This also explains why any new message cancels the pending status, BTW. -- ___ Python tracker ___ ___ P

[issue6884] Impossible to include file in sdist that starts with 'build' on Win32

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: I’m sorry I couldn’t fix this one in 3.1. I didn’t take the time to download and install a Windows to test this year, and right now I don’t have the bandwidth. I’ll get to it as soon as possible. -- status: pending -> open versions: +Python 3.3 -Python

[issue12084] os.stat() on windows doesn't consider relative symlink

2011-06-07 Thread Brian Curtin
Brian Curtin added the comment: Victor - does the new patch pass all tests for you on 3.2? -- Added file: http://bugs.python.org/file22274/issue12084_v2.diff ___ Python tracker

[issue12279] Add build_distinfo command to packaging

2011-06-07 Thread Éric Araujo
New submission from Éric Araujo : In the current packaging module, the PEP 376 .dist-info directory is generated at install time. It should be split into two phases, build_distinfo and install_distinfo, to support at least two use cases: - the develop command, which needs access to .dist-info

[issue8668] Packaging: add a 'develop' command

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: FTR, Xu Dehai (higery) is working on this for GSoC. We discussed the requirements on the mailing list: http://groups.google.com/group/the-fellowship-of-the-packaging/browse_thread/thread/ae196efc4956b9e2 This message in particular defines clearly the requirement

[issue11041] On the distutils2 documentation, 'requires-python' shouldn't be documented as *multi

2011-06-07 Thread Éric Araujo
Changes by Éric Araujo : -- assignee: tarek -> eric.araujo resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue11092] setup.cfg isn't packaged when running sdist

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: This is now fixed. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed title: Setup.cfg isn't packaged when running sdist -> setup.cfg isn't packaged when running sdist type: -> behavior versions: +Python 3.3 -3rd party ___

[issue7826] support caching for 2to3

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: FTR: https://github.com/pv/lib2to3cache -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-li

[issue12019] Dead or buggy code in importlib.test.__main__

2011-06-07 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5392be94ea65 by Éric Araujo in branch 'default': Kill dead code in importlib.test.__main__ (#12019, reviewed by Brett Cannon) http://hg.python.org/cpython/rev/5392be94ea65 -- nosy: +python-dev ___ Python

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: As discussed on the Fellowship ML, ActiveState has implemented an algo for a smart dependency graph: https://github.com/ActiveState/depgraph On the one hand, I think it’s not outside the scope of packaging.depgraph to be a bit smarter about dependencies. On the

[issue12019] Dead or buggy code in importlib.test.__main__

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: I checked the patch again with ./python -m importlib.test and ./python Lib/importlib/test and committed. -- resolution: -> fixed stage: commit review -> committed/rejected status: open -> closed ___ Python tracker

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: The only way to fix this is to /not/ install *any* packages prior to resolving *all* dependencies ... which means that there needs to be a way to resolve the entire dependency graph for any given package in PyPI. If PyPI provided a mechanism to fetch the

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: > The only way to fix this is to /not/ install *any* packages prior to > resolving *all* dependencies packaging.install rolls back in case of error, so the system can’t be left in a half-installed state. p7g.install is only as smart as p7g.depgraph, however. >

[issue12273] Change ast.__version__ calculation to provide consistent ordering

2011-06-07 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12278] Core mentorship mention in the devguide

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: Thanks for the patch. I think it should be rewritten a bit: > If you are interested in improving Python and contributing to its development, > `Python Mentors`_ are here to help you. python-ideas and python-dev are open to new people interested in contributing,

[issue11203] gzip doc is behind

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: > This implies that it also supports close(). One has to follow the link to BufferedIOBase and then to IOBase, but I think it’s okay. Richard: Does that address your issue? -- ___ Python tracker

[issue12277] Missing comma in os.walk docs

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: I have included this in a patch I’m preparing to fix several typos at once. -- assignee: docs@python -> eric.araujo nosy: +eric.araujo ___ Python tracker

[issue12273] Change ast.__version__ calculation to provide consistent ordering

2011-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: I propose we leave ast.__version__ alone. Using ast.__version__ at all should be a very advanced usecase. Generally, you should just be able to look at sys.version_info. We could document this rather than duplicating sys.version_info in ast.__version__. I

[issue9205] Parent process hanging in multiprocessing if children terminate unexpectedly

2011-06-07 Thread Charles-François Natali
Charles-François Natali added the comment: > Ok, the dependencies are now committed. Here is a new patch addressing > Charles-François' comments: select() is now called before each call to read() > when sentinels are given, to avoid race conditions. The patch looks fine to me (but I didn't lo

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: On 2011-06-07, at 9:48 AM, Éric Araujo wrote: > > Éric Araujo added the comment: > >> The only way to fix this is to /not/ install *any* packages prior to >> resolving *all* dependencies > > packaging.install rolls back in case of error, so the system c

[issue11203] gzip doc is behind

2011-06-07 Thread K Richard Pixley
K Richard Pixley added the comment: My point was for python-2.7. I haven't stumbled into the buffer protocol yet. So no, it doesn't really. I still think the documentation, especially the 2.7 doc, could be more explicit. My concern here is with the use of close() becoming obscure, a second

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: Tarek’s reply on IRC: > I think we should make it dumb: in case of a conflict, it's always > better/simpler to let the user deal with it. A simple "could not > install because you have package X version Y installed'. Trying to do > something smarter is very very

[issue6474] Inconsistent TypeError message on function calls with wrong number of arguments

2011-06-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: Hopefully this situation was improved by #12265. -- ___ Python tracker ___ ___ Python-bugs-list m

[issue6056] socket.setdefaulttimeout affecting multiprocessing Manager

2011-06-07 Thread Jesse Noller
Jesse Noller added the comment: I agree derek, I think that would be a fine addition, however we lack a patch and I don't have the current bandwidth to add it. -- ___ Python tracker ___

[issue11975] Fix referencing of built-in types (list, int, ...)

2011-06-07 Thread Jonas H.
Jonas H. added the comment: Having one page with two objects of the same name, e.g. .. function:: foo .. class:: foo renders to two entries with the same anchor name (#foo). The first entry gets a link-to-this-paragraph marker, the second one doesn't. Internal references (from within th

[issue12278] Core mentorship mention in the devguide

2011-06-07 Thread Adam Woodbeck
Adam Woodbeck added the comment: Éric, good point. I'll propose different wording when I have an opportunity later today. In the mean time, I'm certainly open to suggestions, especially as I get my feet wet. So you would also prefer a mention of the python-ideas and python-dev mailing list

[issue11203] gzip doc is behind

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: In 2.7, while there is no index-generating entry for the close method, it is mentioned: “Calling a GzipFile object’s close() method [...]”. > Yes, I concur that there is an implication, but I would prefer to see > it stated explicitly along with the explicit stat

[issue6474] Inconsistent TypeError message on function calls with wrong number of arguments

2011-06-07 Thread Oleg Oshmyan
Oleg Oshmyan added the comment: Unfortunately it was not. >>> Extension('myext', define_macros=[]) Traceback (most recent call last): File "", line 1, in TypeError: __init__() takes from 3 to 17 positional arguments but 3 were given The issue is that the message tries to differentiate betwe

[issue11203] gzip doc is behind

2011-06-07 Thread K Richard Pixley
K Richard Pixley added the comment: An interesting point, although I think that's only relevant if the documentation lists the ABC and a reference to it. (python-3 doc essentially does this.) I see no such reference in the 2.7 gzipfile doc, which leads me to believe, (from the doc alone), t

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: > Not all packages upload their release sources (thus metadata) to PyPI No, it’s register that uploads metadata. > which is why - I believe - PIP is scraping the Simple Index and > home_page urls to get the appropriate sdist for any package. Yes, the screen scrapi

[issue11203] gzip doc is behind

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: > I see no such reference in the 2.7 gzipfile doc Did you miss the first part of my previous message? The 2.7 docs for GzipFile do not link to the ABC, but they mention the close method in plain text. -- ___ Python t

[issue11277] Crash with mmap and sparse files on Mac OS X

2011-06-07 Thread Ned Deily
Ned Deily added the comment: Thanks for the update. Since the fix will be in a future version of OS X 10.7 Lion, and which has not been released yet, so it is not appropriate to change mmap until there has been an opportunity to test it. But even then, we would need to be careful about addi

[issue11203] gzip doc is behind

2011-06-07 Thread K Richard Pixley
K Richard Pixley added the comment: I didn't miss it. I think the close call needs equal treatment to the open call. The mention is certainly present, but seems implicit to me. I would prefer to see it listed explicitly. But I also don't think it's important enough in the 2.7 docs to discu

[issue11595] Miscellaneous bugs in cfg_to_args() utility function

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: Can you refresh your patch for packaging? -- assignee: tarek -> eric.araujo stage: -> patch review type: -> behavior versions: +Python 3.3 -3rd party ___ Python tracker ___

[issue11200] Addition of abiflags breaks distutils

2011-06-07 Thread Éric Araujo
Éric Araujo added the comment: Now fixed in packaging too. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Dave Abrahams
Dave Abrahams added the comment: I'm sorry, but it is simply not true that this is not a solved problem. This is a well-understood problem that's solved --- at least as well as anyone could want it to be --- by aptitude (not apt-get) and by http://en.opensuse.org/openSUSE:Libzypp_satsolver

[issue12021] mmap.read requires an argument

2011-06-07 Thread Petri Lehtinen
Petri Lehtinen added the comment: It seems I did. Attached now for real :) -- Added file: http://bugs.python.org/file22275/mmap_read_all_4.patch ___ Python tracker ___ _

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: On 2011-06-07, at 10:39 AM, Éric Araujo wrote: > Éric Araujo added the comment: > >> Not all packages upload their release sources (thus metadata) to PyPI > No, it’s register that uploads metadata. (was not sent before?) Ok, that's interesting. Does p7g

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar
Sridhar Ratnakumar added the comment: Dave, but aptitude contains a local index of all dependency information. Whereas, PyPI's infrastructure and pip/easy_install/p7g.install do not rely on one. Therefore, I think when Tarek said "Trying to do something smarter is very very hard and will prob

[issue12242] distutils2 environment marker for current compiler

2011-06-07 Thread Eli Collins
Eli Collins added the comment: > The question was about the meaning of a new “compiler” environment > marker. Would it be set to the empty string in Jython? Not available? > Or do you think that there is no issue, since Jython would not try to > compiler C files? Ah, my bad. I _had_ misunder

[issue11457] Expose nanosecond precision from system calls

2011-06-07 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: On Fri, Jun 3, 2011 at 6:52 PM, Martin v. Löwis wrote: .. >> One reason is the desire to avoid loading Python module from a >> C-module. > > This desire is indeed no guidance for Python development; the opposite > is the case. Can you elaborate on this?

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Dave Abrahams
Dave Abrahams added the comment: That's quite true. However, I don't think a local index is needed if there's a remote index; you're already looking in a remote index, albeit a less-completeone. And it could be maintained automatically from individual package metadata. Maybe that's out of

[issue11595] Miscellaneous bugs in cfg_to_args() utility function

2011-06-07 Thread Erik Bray
Erik Bray added the comment: Done. Also added support for multi-valued description-file values. -- Added file: http://bugs.python.org/file22276/issue11595-2.patch ___ Python tracker __

[issue12273] Change ast.__version__ calculation to provide consistent ordering

2011-06-07 Thread R. David Murray
R. David Murray added the comment: I think you should just kill ast.__version__ in that case. There was a discussion on python-dev and packaging about __version__ and PEP 396 was the result. If you want the VCS info put it somewhere else (like __vcs_version__?). -- nosy: +r.david.mu

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2011-06-07 Thread Stefan Krah
Stefan Krah added the comment: Marc-Andre Lemburg wrote: > >> >> Regarding the latest patch: This is not the right approach, since > >> >> find_vcvarsall() is supposed to return the path to the vcvarsall.bat > >> >> file and not an architecture specific setup file. It is later > >> >> called wi

[issue7511] msvc9compiler.py: ValueError when trying to compile with VC Express

2011-06-07 Thread R. David Murray
Changes by R. David Murray : -- nosy: -r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue12243] getpass.getuser works on OSX

2011-06-07 Thread Bryce Verdier
Bryce Verdier added the comment: I like the idea as well. But I'm not sure what is needed in order to help. -- ___ Python tracker ___ ___

  1   2   >