[issue10442] Please by default enforce ssl certificate checking in modules that can have user's which *depend* on the security of the ssl connection.

2010-11-17 Thread david
New submission from david db.pub.m...@gmail.com: Please by default enforce ssl certificate checking in modules that can have user's which *depend* on the security of the ssl connection. See https://bugs.launchpad.net/ubuntu/+source/offlineimap/+bug/675120 http://bugs.python.org/issue10274

[issue10441] Please by default enforce ssl certificate checking in modules that can have user's which *depend* on the security of the ssl connection.

2010-11-17 Thread david
New submission from david db.pub.m...@gmail.com: Please by default enforce ssl certificate checking in modules that can have user's which *depend* on the security of the ssl connection. See https://bugs.launchpad.net/ubuntu/+source/offlineimap/+bug/675120 http://bugs.python.org/issue10274

[issue10442] Please by default enforce ssl certificate checking in modules that can have user's which *depend* on the security of the ssl connection.

2010-11-17 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- resolution: - duplicate status: open - closed superseder: - Please by default enforce ssl certificate checking in modules that can have user's which *depend* on the security of the ssl connection. ___ Python

[issue10436] tarfile.extractfile in r| stream mode fails with filenames or members from getmembers()

2010-11-17 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: This behaviour is intentional. A tar archive does not contain a central directory structure, it is just a chain of files. As a side-effect it is possible to have multiple files with the same name in one archive, e.g. when append mode was

[issue10441] Please by default enforce ssl certificate checking in modules that can have user's which *depend* on the security of the ssl connection.

2010-11-17 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +pitrou type: - feature request ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10441 ___ ___

[issue1589] New SSL module doesn't seem to verify hostname against commonName in certificate

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1589 ___ ___ Python-bugs-list

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10441 ___ ___ Python-bugs-list

[issue10274] imaplib should provide a means to validate a remote server ssl certificate(s)

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10274 ___ ___ Python-bugs-list

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-17 Thread david
david db.pub.m...@gmail.com added the comment: Sorry, I don't remember seeing the change-set /commit showing that is now on by default. (for those modules). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10441

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-17 Thread david
david db.pub.m...@gmail.com added the comment: Are you referring to http://code.python.org/hg/branches/py3k/rev/86f97255bfc8 where there is now 2.29 + .. warning:: 2.30 + If neither *cafile* nor *capath* is specified, an HTTPS request 2.31 + will not do any

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Are you referring to http://code.python.org/hg/branches/py3k/rev/86f97255bfc8 where there is now 2.29 + .. warning:: 2.30 + If neither *cafile* nor *capath* is specified, an HTTPS request 2.31 + will not do any

[issue10432] concurrent.futures.as_completed() spins waiting for futures to complete

2010-11-17 Thread Brian Quinlan
Brian Quinlan br...@sweetapp.com added the comment: Looks good but you forgot to actually use your new Waiter ;-) Committed as r86491. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue10432] concurrent.futures.as_completed() spins waiting for futures to complete

2010-11-17 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: Please mention the issue number in the commit message when applying patches or bugfixes. -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10432

[issue6745] (curses) addstr() takes str in Python 3

2010-11-17 Thread Andreas Stührk
Andreas Stührk andy-pyt...@hammerhartes.de added the comment: Note that getkey() is broken, too. I attached a simple script to demonstrate that. If you run it and enter some non-ascii input, you can see that getkey() returns an utf-8 encoded str (in my utf-8 environment at least, I haven't

[issue10432] concurrent.futures.as_completed() spins waiting for futures to complete

2010-11-17 Thread Scott Dial
Scott Dial sc...@scottdial.com added the comment: Good catch. I suppose it was inevitable when I transferred my changes into a SVN checkout that I missed something. Nevertheless, your changeset in r86491 matches my own. Thanks! -- ___ Python

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Well, what are the usual paths for windows and linux? Just try those(by default) and if this fails (no ca's paths work) then raise an exception and have a parameter to disable this behaviour. That's a possible resolution, but it needs a patch.

[issue10356] decimal.py: hash of -1

2010-11-17 Thread Stefan Krah
Stefan Krah stefan-use...@bytereef.org added the comment: Fixed the hash in r86492, excluding the TypeError fix. Should I fix the TypeError in both 2.7 and 3.2? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10356

[issue10443] add wrapper for SSL_CTX_set_default_verify_paths

2010-11-17 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: SSL_CTX_set_default_verify_paths allows to select the system-wide CA certificates on an SSL context, if OpenSSL was built with the right options. We could also try to expose those default paths by calling X509_get_default_cert_file() /

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Actually, it seems OpenSSL is often built with the paths to system certificates, which can be enabled by an undocumented function. See issue10443. -- ___ Python tracker rep...@bugs.python.org

[issue10441] some stdlib modules need to be updated to handle SSL certificate validation

2010-11-17 Thread david
david db.pub.m...@gmail.com added the comment: Interesting but you may want to ask the openssl developers about this first. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10441 ___

[issue10440] support RUSAGE_THREAD as a constant in the resource module

2010-11-17 Thread Robert Collins
Changes by Robert Collins robe...@robertcollins.net: -- keywords: +patch Added file: http://bugs.python.org/file19624/rusage-thread.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10440

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2010-11-17 Thread Michael Hughes
New submission from Michael Hughes michaelahug...@gmail.com: We use the Python interpreter embedded in our application, and would prefer to not block an exit of our application waiting for non-daemon threads to finish. I would like a mechanism exposed that queries for whether or not to wait.

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2010-11-17 Thread Michael Hughes
Michael Hughes michaelahug...@gmail.com added the comment: I have a patch here. It is to allow for a callback to be set on the main thread which gets called when there are non-daemon threads still alive on exit. The callback returns True or False indicating whether or not it wants to block. By

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2010-11-17 Thread Michael Hughes
Changes by Michael Hughes michaelahug...@gmail.com: Removed file: http://bugs.python.org/file19625/threadingchange.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10444 ___

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2010-11-17 Thread Michael Hughes
Michael Hughes michaelahug...@gmail.com added the comment: Scratch that last patch. It was missing part of the fix. I've removed the old patch now, and submitted the proper one. -- Added file: http://bugs.python.org/file19626/real.patch ___ Python

[issue10445] _ast py3k : add lineno back to args node

2010-11-17 Thread Emile Anclin
New submission from Emile Anclin emile.anc...@logilab.fr: For Python3x, in the tree generated by _ast, for the args node (representing an argument of a function), the lineno (and the col_offset) information disappeared from those nodes. It would be nice to have them back (for instance for

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2010-11-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: How do you use it? -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10444 ___

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2010-11-17 Thread Michael Hughes
Michael Hughes michaelahug...@gmail.com added the comment: To use the callback, you can do this: import threading def threadendcallback(): # return False to indicate that we don't # want to wait for any threads before exiting return False

[issue10444] A mechanism is needed to override waiting for Python threads to finish

2010-11-17 Thread Skip Montanaro
Skip Montanaro s...@pobox.com added the comment: Why is setting your threads as daemons not an option? -- nosy: +skip.montanaro ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10444 ___

[issue6327] [mimetext] long lines get cut with exclamation mark and newline

2010-11-17 Thread Jeff Hull
Jeff Hull jsh2...@gmail.com added the comment: I also have this problem with text getting replaced with the exclamation point. I am using this class. from email.MIMEText import MIMEText Perhaps it didn't work for you because you didn't send it via email. try this code msgAlternative

[issue10436] tarfile.extractfile in r| stream mode fails with filenames or members from getmembers()

2010-11-17 Thread David Nesting
David Nesting da...@fastolfe.net added the comment: Thanks, Lars. And this does make complete sense to me in retrospect. Better documentation here would help a lot. I'm happy to take a stab at this. Short of labeling methods as safe for streaming versus unsafe for streaming, it occurs to

[issue6327] [mimetext] long lines get cut with exclamation mark and newline

2010-11-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Perhaps. You can help narrow this down by doing the following: In your program do a 'print msg.as_string()' and see if you see the ! problem there. If not, try using several different SMTP servers to send your email. If the ! problem

[issue10440] support RUSAGE_THREAD as a constant in the resource module

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thank you! I've committed the patch in r86493. -- nosy: +pitrou resolution: - fixed stage: - committed/rejected status: open - closed versions: +Python 3.2 ___ Python tracker rep...@bugs.python.org

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Alexander Belopolsky
New submission from Alexander Belopolsky belopol...@users.sourceforge.net: $ pydoc3.1 pydoc Help on module pydoc: NAME pydoc - Generate Python documentation in HTML or text for interactive use. FILE /opt/local/Library/Frameworks/Python.framework/Versions/3.1/lib/python3.1/pydoc.py

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- nosy: +d...@python ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10446 ___

[issue10443] add wrapper for SSL_CTX_set_default_verify_paths

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Here is a patch. -- keywords: +patch stage: - patch review Added file: http://bugs.python.org/file19627/default_verify_paths.patch ___ Python tracker rep...@bugs.python.org

[issue10411] Pickle benchmark fails after converting Benchmark Suite to py3k

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Pushed in 2c5c6d3f399b, thanks. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10411

[issue10411] Pickle benchmark fails after converting Benchmark Suite to py3k

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Woops, sorry, wrong issue. -- resolution: fixed - stage: committed/rejected - patch review status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10411

[issue10412] Add py3k support for slow pickle benchmark in Benchmark Suite

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Pushed in 2c5c6d3f399b, thanks. -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10412

[issue10411] Pickle benchmark fails after converting Benchmark Suite to py3k

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Pushed in 92088733aade and 8dd7a860a2fa, thanks. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue10435] Document unicode C-API in reST

2010-11-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Alexander Belopolsky wrote: If you have time, please take a look at PyUnicode_As{En,De}codedObject() and PyUnicode_As{En,De}DecodedUnicode() documentation in the attached patch. Thanks. I'll try to have a look later tonight.

[issue9518] PyModuleDef_HEAD_INIT does not explicitly initialize all fields of m_base

2010-11-17 Thread Stefan Behnel
Stefan Behnel sco...@users.sourceforge.net added the comment: I agree that this is annoying, we get the same thing in Cython's test suite all over the place. Any foreign warning that doesn't get triggered helps in debugging your own code. And this one is easy to avoid. -- nosy:

[issue4111] Add Systemtap/DTrace probes

2010-11-17 Thread Kapil Thangavelu
Changes by Kapil Thangavelu kapil.f...@gmail.com: -- nosy: +hazmat ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4111 ___ ___ Python-bugs-list

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Georg Brandl
Georg Brandl ge...@python.org added the comment: +1 to all. What about the best of both worlds: MODULE REFERENCE? -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10446

[issue4111] Add Systemtap/DTrace probes

2010-11-17 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Dave, we need some kind of documentation, if we expect to ship this in Python 3.2. The deadline is only 10-15 days away. Could you write something able to be in the standard documentation?. -- ___

[issue10356] decimal.py: hash of -1

2010-11-17 Thread Terry J. Reedy
Terry J. Reedy tjre...@udel.edu added the comment: I presume you mean this: if self._is_special: if self.is_snan(): -raise TypeError('Cannot hash a signaling NaN value.') +raise ValueError('Cannot hash a signaling NaN value.') My

[issue10447] zipfile: IOError for long directory paths on Windows

2010-11-17 Thread Sridhar Ratnakumar
New submission from Sridhar Ratnakumar sridh...@activestate.com: When extracting a zip file containing deep hierarchy files, `extractall` throws IOError on Windows - perhaps due to limitation in Windows max path length. Ideally it should be throwing an instance of zipfile.ZipError - so that

[issue10447] zipfile: IOError for long directory paths on Windows

2010-11-17 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: It appears that there is no base class (zipfile.ZipError) for zipfile errors. Maybe there should be? At the moment, I do: try: [...] except zipfile.BadZipFile, zipfile.LargeZipFile: [...] .. which is of course unreliable.

[issue10448] Add Mako template benchmark to Python Benchmark Suite

2010-11-17 Thread Bobby Impollonia
New submission from Bobby Impollonia bob...@gmail.com: The Benchmark Suite currently contains two template benchmarks (Django and Spitfire) for Python 2.x, but none that support 3.x. The attached patch adds a benchmark using Mako (http://www.makotemplates.org/), a popular, pure-Python,

[issue10448] Add Mako template benchmark to Python Benchmark Suite

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Uh, after translation I get a SystemError when trying to run the Mako bench under the current py3k SVN: $ PYTHONPATH=lib/mako/ /home/antoine/py3k/py3k/python ./performance/bm_mako.py -n 25 Traceback (most recent call last): File

[issue10443] add wrapper for SSL_CTX_set_default_verify_paths

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Committed in r86498. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10443

[issue10448] Add Mako template benchmark to Python Benchmark Suite

2010-11-17 Thread Bobby Impollonia
Bobby Impollonia bob...@gmail.com added the comment: Did you convert the project using make_perf3.sh? This benchmark is in the 2to3 group and not the 2n3 group because it won't work without conversion. Using the attached patch, the following sequence of commands works for me to run the

[issue9518] PyModuleDef_HEAD_INIT does not explicitly initialize all fields of m_base

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: This looks ok to me. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9518 ___ ___

[issue10448] Add Mako template benchmark to Python Benchmark Suite

2010-11-17 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Did you convert the project using make_perf3.sh? Yes. But given the error (SystemError) I guess this is a regression in py3k. I'll apply your patch and open a separate issue to try and make sense of the regression. --

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: +1 to Georg. Note that there are people that feel uncomfortable with calling packages modules, but not me. -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org

[issue9518] PyModuleDef_HEAD_INIT does not explicitly initialize all fields of m_base

2010-11-17 Thread Dave Malcolm
Dave Malcolm dmalc...@redhat.com added the comment: Fix committed to py3k as r86499 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9518 ___ ___

[issue10435] Document unicode C-API in reST

2010-11-17 Thread Marc-Andre Lemburg
Marc-Andre Lemburg m...@egenix.com added the comment: Thanks for your work on this. Please see my comments below: --- Include/unicodeobject.h (revision 86478) +++ Include/unicodeobject.h (working copy) @@ -737,7 +737,7 @@ const char *errors /* error handling */ );

[issue5831] Doc mistake : threading.Timer is *not* a class

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Nearly all classes in threading uses this function/class indirection, which I don’t understand (except for RLock, which is a factory function). -- assignee: d...@python - nosy: +eric.araujo versions: +Python 3.2 -Python 2.6, Python 3.0

[issue9173] logger statement not guarded in shutil._make_tarball

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Patch looks good. By the way, the logger argument is not documented in shutil.rst. -- nosy: +eric.araujo stage: - patch review versions: -Python 2.6, Python 3.3 ___ Python tracker

[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7325 ___ ___

[issue7325] tempfile.mkdtemp() does not return absolute pathname when relative dir is specified

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7325 ___ ___

[issue10447] zipfile: IOError for long directory paths on Windows

2010-11-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: How would you implement this? And would you turn a disk full error, for example, into a ZipError as well? -- nosy: +amaury.forgeotdarc ___ Python tracker rep...@bugs.python.org

[issue10447] zipfile: IOError for long directory paths on Windows

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- versions: +Python 3.1, Python 3.2 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10447 ___

[issue10447] zipfile: IOError for long directory paths on Windows

2010-11-17 Thread Sridhar Ratnakumar
Sridhar Ratnakumar sridh...@activestate.com added the comment: How would you implement this? And would you turn a disk full error, for example, into a ZipError as well? I see your point. I am not sure what a reliable way to do this would be. For the record, this is how I workaround it:

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: The attached patch, issue10446.diff, makes help(sys) look as follows: NAME sys MODULE REFERENCE http://docs.python.org/release/3.2/library/sys The following documentation is automatically generated from

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10446 ___

[issue10447] zipfile: IOError for long directory paths on Windows

2010-11-17 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: I think you did the right thing already. The choice of which errors to catch and which ones to let throw really depends on the usage (what about permission or lock errors? other limitations due to a USB stick? why is disk full

[issue10449] “os.environ was modified by test_h ttpservers”

2010-11-17 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: Bug title is a warning I get when running test_httpservers under regrtest with 3.1. -- components: Tests messages: 121393 nosy: eric.araujo, orsenthil priority: low severity: normal stage: needs patch status: open title: “os.environ

[issue10384] SyntaxError should contain exact location of the invalid character in identifier

2010-11-17 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10384 ___ ___ Python-bugs-list

[issue7828] chr() and ord() documentation for wide characters

2010-11-17 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- assignee: d...@python - belopolsky nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7828 ___

[issue9738] Document the encoding of functions bytes arguments of the C API

2010-11-17 Thread Alexander Belopolsky
Changes by Alexander Belopolsky belopol...@users.sourceforge.net: -- nosy: +belopolsky ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9738 ___ ___

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Looks good. Some remarks: 1) I assume you have checked that this code does not produce two newlines (one in the string, one from the print function or write method): +[snip], consult the module reference at the location listed above. +) 2) “If

[issue2001] Pydoc interactive browsing enhancement

2010-11-17 Thread Ron Adam
Ron Adam ron_a...@users.sourceforge.net added the comment: I just noticed I used depreciated in place of deprecated in one of the doc strings. I can upload a new patch with that fixed. Before I do that, is there any thing else I can do? Do you agree that the browse function should be public?

[issue2775] Implement PEP 3108

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: -easy versions: -Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2775 ___

[issue5717] os.defpath includes unix /bin on windows

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Adding our esteemed Windows experts for review. -- components: +Windows nosy: +brian.curtin, eric.araujo, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5717

[issue4010] configure options don't trickle down to distutils

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The reversed call was added by Brett in r60537. Brett, can you comment? -- nosy: +brett.cannon ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4010

[issue4010] configure options don't trickle down to distutils

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- keywords: -easy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4010 ___ ___ Python-bugs-list mailing

[issue444582] Finding programs in PATH, adding shutil.which

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Hello Jan. Can you give us a status update on this one? Iztok: There is a lot of code out there, written in anything from Python to awk to shell, that splits on “:”. Perhaps it’s okay to just not support “:” in directory names. --

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: On Wed, Nov 17, 2010 at 7:28 PM, Éric Araujo rep...@bugs.python.org wrote: Éric Araujo mer...@netwok.org added the comment: Looks good.  Some remarks: 1) I assume you have checked that this code does not produce two

[issue1509798] replace dist/src/Tools/scripts/which.py with tmick's which

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I think Tools/scripts/which.py is obsoleted by the upcoming shutil.which function. -- nosy: +eric.araujo resolution: - duplicate stage: unit test needed - committed/rejected status: open - closed superseder: - Finding programs in PATH,

[issue4010] configure options don't trickle down to distutils

2010-11-17 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: When I did the patch they were coming in reversed, so I reversed the reversal. Obviously something changed so now the manual reversal is not necessary anymore. -- ___ Python tracker

[issue8384] Better error message for executables not found

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Anatoly: Please open a feature request for distutils2. Thanks in advance. Craig: This seems to have fallen out of the radar, sorry. Someone may propose a patch during the upcoming bug week-end, or we’ll do it. -- nosy: +eric.araujo

[issue4010] configure options don't trickle down to distutils

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I don’t think there can be a unit test for that, so do we agree on just removing the reversed call? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4010

[issue1109602] Need some setup.py sanity

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The bug reported by Skip looks like something to be done with ./configure. When this is solved, I think this bug with its original title should be kept open. Let’s refactor setup.py into something manageable and testable. --

[issue10374] setup.py caches outdated scripts in the build tree

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: For this particular bug, we could add a check for the shebang line in distutils1’ build_scripts, so that a second run can detect it should rebuild the scripts even though the source has not changed. Or is there a rule that says build_* command

[issue6731] Add option of non-zero exit status of setup.py when building of extensions has failed

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: (Side note: Specifying optional/required extensions from the command line may be an interesting new feature in distutils2.) -- nosy: +eric.araujo versions: -Python 2.6, Python 2.7, Python 3.1 ___

[issue1479255] Fix building with SWIG's -c++ option set in setup.py

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: We need to add a test for this behavior, to make sure it is fixed and to prevent regressions. -- components: +Distutils2 nosy: +eric.araujo versions: +3rd party ___ Python tracker

[issue4655] during Python installation, setup.py should not use .pydistutils.cfg

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Not reading .pydistutils.cfg during CPython’s build seems a good idea to me. I would like confirming opinions. -- components: +Build nosy: +barry, eric.araujo, loewis versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

[issue4010] configure options don't trickle down to distutils

2010-11-17 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: On Wed, Nov 17, 2010 at 17:19, Éric Araujo rep...@bugs.python.org wrote: Éric Araujo mer...@netwok.org added the comment: I don’t think there can be a unit test for that, so do we agree on just removing the reversed call? As long as the

[issue7202] python setup.py cmd --verbose does not set verbosity

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils2 keywords: +easy resolution: accepted - title: python setup.py MYCOMMAND --verbose does not yield an unrecognized option error but also does not set the verbosity - python setup.py cmd --verbose does not set

[issue6166] encoding error for 'setup.py --author' when read via subprocess pipe

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Sridhar, can you test with the envvar PYTHONIOENCODING set to UTF-8? -- nosy: +eric.araujo versions: +Python 2.7 -Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6166

[issue8406] Make some setup.py paths exclude-able

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo versions: +Python 3.2 -Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8406 ___

[issue7713] implement ability to disable automatic search path additions

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- nosy: +eric.araujo stage: unit test needed - needs patch versions: -Python 2.6, Python 2.7, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7713

[issue7677] improve error message for setup.py upload --sign without --identity

2010-11-17 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: -- components: +Distutils2 keywords: +easy title: distutils, better error message for setup.py upload -sign without identity. - improve error message for setup.py upload --sign without --identity versions: +3rd party -Python 2.6

[issue6138] './configure; make install' fails in setup.py step if .pydistutils.cfg specifies 'home'

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: See #4655. (Not sure which one is the superseder.) -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6138 ___

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed in r86504 (3.2) and r86504 (3.1). -- resolution: - accepted stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org

[issue5033] setup.py crashes if sqlite version contains 'beta'

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: The regex is still the same. I’ll try changing the version string in sqlite and trigger the bug. -- assignee: ghaering - nosy: +eric.araujo, tarek versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: s/r86504 (3.1)/r86505 (3.1)/ -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10446 ___

[issue8754] ImportError: quote bad module name in message

2010-11-17 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: A question about process: Should every import bug be reported against core and library, so that importlib gets patched too? -- nosy: +eric.araujo versions: -Python 2.7 ___ Python tracker

[issue10446] pydoc3 links to 2.x library reference

2010-11-17 Thread Alexander Belopolsky
Alexander Belopolsky belopol...@users.sourceforge.net added the comment: Committed in r86504 (3.2) and r86505 (3.1). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10446 ___

  1   2   >