[issue12274] Print window menu on IDLE aborts whole application

2011-06-07 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: On Windows, IDLE closes all open windows and exits completely, without any error message, when selecting the Print window menu command. Starting IDLE from inside a console, one can see the error message: Exception in Tkinter

[issue12274] Print window menu on IDLE aborts whole application

2011-06-07 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Note: There is a much bigger problem here: IDLE should not abort abruptly in such cases, without any error indication. -- ___ Python tracker rep...@bugs.python.org

[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 lilyd...@gmail.com: 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:

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

2011-06-07 Thread Gabriel Genellina
New submission from Gabriel Genellina gagsl-...@yahoo.com.ar: 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,

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

2011-06-07 Thread Gabriel Genellina
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment: Originally reported by Thorsten Kampe in comp.lang.python 2011-5-27 http://permalink.gmane.org/gmane.comp.python.general/691496 -- ___ Python tracker rep...@bugs.python.org

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

2011-06-07 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: This was changed a long time ago with 565012d1123d -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12276

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

2011-06-07 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12276 ___ ___

[issue12277] Missing comma in os.walk docs

2011-06-07 Thread Boštjan Mejak
New submission from Boštjan Mejak bostjan.me...@gmail.com: 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

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

2011-06-07 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Any Windows person going to review this one? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___

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

2011-06-07 Thread Dirkjan Ochtman
Dirkjan Ochtman dirk...@ochtman.nl 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 ge...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue12019

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

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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 m...@timgolden.me.uk added the comment: I'm just patching a clone now. -- nosy: +tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12084 ___

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

2011-06-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

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

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2011-06-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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

[issue12238] Readline module loading in interactive mode

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2011-06-07 Thread Tim Golden
Tim Golden m...@timgolden.me.uk 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 pit...@free.fr 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

[issue12278] Core mentorship mention in the devguide

2011-06-07 Thread Adam Woodbeck
New submission from Adam Woodbeck adam.woodb...@gmail.com: 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,

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

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2011-06-07 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com 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

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

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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. --

[issue11203] gzip doc is behind

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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:

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

2011-06-07 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12198 ___ ___

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

2011-06-07 Thread Vetoshkin Nikita
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment: Yes, I can. We decided to expose accept4() as another socket method, not accept() replacement? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10115

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

2011-06-07 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com 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(),

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

2011-06-07 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com 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 pe...@digip.org 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 rep...@bugs.python.org

[issue12277] Missing comma in os.walk docs

2011-06-07 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- versions: -Python 2.6, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12277 ___ ___

[issue12277] Missing comma in os.walk docs

2011-06-07 Thread Petri Lehtinen
Changes by Petri Lehtinen pe...@digip.org: -- versions: -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12277 ___ ___ Python-bugs-list

[issue11669] Clarify Lang Ref Compound statements footnote

2011-06-07 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org added the comment: Keywords suggest that there should to be a patch here. Where is it? -- nosy: +petri.lehtinen ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11669

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

2011-06-07 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso sdao...@googlemail.com 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

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

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

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

2011-06-07 Thread Eugene Toder
Eugene Toder elto...@gmail.com 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

[issue12274] Print window menu on IDLE aborts whole application

2011-06-07 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: +lukasz.langa ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12274 ___ ___

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

2011-06-07 Thread Pascal Chambon
Pascal Chambon chambon.pas...@gmail.com 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

[issue12238] Readline module loading in interactive mode

2011-06-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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 stdin, line 1,

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

2011-06-07 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org 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 rep...@bugs.python.org

[issue12274] Print window menu on IDLE aborts whole application

2011-06-07 Thread Roundup Robot
Roundup Robot devnull@devnull 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

[issue12238] Readline module loading in interactive mode

2011-06-07 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr 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

[issue12274] Print window menu on IDLE aborts whole application

2011-06-07 Thread Łukasz Langa
Łukasz Langa luk...@langa.pl 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

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

2011-06-07 Thread Brian Curtin
Brian Curtin br...@python.org 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

[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 rdmur...@bitdance.com 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

[issue12242] distutils2 environment marker for current compiler

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue6056] socket.setdefaulttimeout affecting multiprocessing Manager

2011-06-07 Thread Derek Wilson
Derek Wilson jderekwil...@gmail.com 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

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

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 rep...@bugs.python.org http://bugs.python.org/issue9302

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

2011-06-07 Thread Georg Brandl
Georg Brandl ge...@python.org 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:

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

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Agreed; I didn’t mean to imply that strict was restrictive, but that it was safe. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12019 ___

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

2011-06-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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

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

2011-06-07 Thread Roundup Robot
Roundup Robot devnull@devnull 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 ___

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

2011-06-07 Thread Roundup Robot
Roundup Robot devnull@devnull 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

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

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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. --

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

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This also explains why any new message cancels the pending status, BTW. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9302 ___

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

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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:

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

2011-06-07 Thread Brian Curtin
Brian Curtin br...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue12084

[issue12279] Add build_distinfo command to packaging

2011-06-07 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: 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

[issue8668] Packaging: add a 'develop' command

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-06-07 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- assignee: tarek - eric.araujo resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11041

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

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue7826] support caching for 2to3

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: FTR: https://github.com/pv/lib2to3cache -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7826 ___

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

2011-06-07 Thread Roundup Robot
Roundup Robot devnull@devnull 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

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 ___

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com 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

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-06-07 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12273 ___ ___ Python-bugs-list

[issue12278] Core mentorship mention in the devguide

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

[issue11203] gzip doc is behind

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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 mer...@netwok.org 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 rep...@bugs.python.org

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

2011-06-07 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org 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

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

2011-06-07 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr 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

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: On 2011-06-07, at 9:48 AM, Éric Araujo wrote: Éric Araujo mer...@netwok.org added the comment: The only way to fix this is to /not/ install *any* packages prior to resolving *all* dependencies packaging.install rolls back

[issue11203] gzip doc is behind

2011-06-07 Thread K Richard Pixley
K Richard Pixley r...@noir.com 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

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

2011-06-07 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: Hopefully this situation was improved by #12265. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6474 ___

[issue6056] socket.setdefaulttimeout affecting multiprocessing Manager

2011-06-07 Thread Jesse Noller
Jesse Noller jnol...@gmail.com 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 rep...@bugs.python.org

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

2011-06-07 Thread Jonas H.
Jonas H. jo...@lophus.org 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

[issue12278] Core mentorship mention in the devguide

2011-06-07 Thread Adam Woodbeck
Adam Woodbeck adam.woodb...@gmail.com 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

[issue11203] gzip doc is behind

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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

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

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

[issue11203] gzip doc is behind

2011-06-07 Thread K Richard Pixley
K Richard Pixley r...@noir.com 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

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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,

[issue11203] gzip doc is behind

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org 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. --

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

2011-06-07 Thread Ned Deily
Ned Deily n...@acm.org 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

[issue11203] gzip doc is behind

2011-06-07 Thread K Richard Pixley
K Richard Pixley r...@noir.com 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

[issue11200] Addition of abiflags breaks distutils

2011-06-07 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Now fixed in packaging too. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11200

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Dave Abrahams
Dave Abrahams d...@boostpro.com 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

[issue12021] mmap.read requires an argument

2011-06-07 Thread Petri Lehtinen
Petri Lehtinen pe...@digip.org 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 rep...@bugs.python.org http://bugs.python.org/issue12021

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: On 2011-06-07, at 10:39 AM, Éric Araujo wrote: Éric Araujo mer...@netwok.org added the comment: Not all packages upload their release sources (thus metadata) to PyPI No, it’s register that uploads metadata. (was not sent

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com 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

[issue12242] distutils2 environment marker for current compiler

2011-06-07 Thread Eli Collins
Eli Collins e...@assurancetechnologies.com 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?

[issue11457] Expose nanosecond precision from system calls

2011-06-07 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Fri, Jun 3, 2011 at 6:52 PM, Martin v. Löwis rep...@bugs.python.org 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

[issue8927] Handle version incompatibilities in dependencies

2011-06-07 Thread Dave Abrahams
Dave Abrahams d...@boostpro.com 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.

[issue11595] Miscellaneous bugs in cfg_to_args() utility function

2011-06-07 Thread Erik Bray
Erik Bray erik.m.b...@gmail.com 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 rep...@bugs.python.org

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

2011-06-07 Thread R. David Murray
R. David Murray rdmur...@bitdance.com 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__?).

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

2011-06-07 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Marc-Andre Lemburg rep...@bugs.python.org 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

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

2011-06-07 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- nosy: -r.david.murray ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7511 ___ ___

  1   2   >