[issue15788] cross-refs in the subprocess.Popen.std{in, out, err} warning box aren't linked

2012-08-27 Thread Ezio Melotti
Ezio Melotti added the comment: + Use :meth:`communicate() Popen.communicate` I believe you can simply use :meth:`~Popen.communicate` here. -- nosy: +ezio.melotti ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15788

[issue15788] cross-refs in the subprocess.Popen.std{in, out, err} warning box aren't linked

2012-08-27 Thread Chris Rebert
Chris Rebert added the comment: So you can. Neat trick. Patch changed accordingly. -- Added file: http://bugs.python.org/file27011/link_communicate_warning.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15788

[issue15788] cross-refs in the subprocess.Popen.std{in, out, err} warning box aren't linked

2012-08-27 Thread Chris Rebert
Chris Rebert added the comment: Let's try that again. -- Added file: http://bugs.python.org/file27012/link_communicate_warning.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15788 ___

[issue15788] cross-refs in the subprocess.Popen.std{in, out, err} warning box aren't linked

2012-08-27 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: Removed file: http://bugs.python.org/file27011/link_communicate_warning.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15788 ___

[issue15788] cross-refs in the subprocess.Popen.std{in, out, err} warning box aren't linked

2012-08-27 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python - ezio.melotti resolution: - fixed stage: - committed/rejected status: open - closed type: - enhancement versions: +Python 3.2 ___ Python tracker

[issue15788] cross-refs in the subprocess.Popen.std{in, out, err} warning box aren't linked

2012-08-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 92aa438a5c4b by Ezio Melotti in branch '2.7': #15788: fix broken links in subprocess doc. Patch by Chris Rebert. http://hg.python.org/cpython/rev/92aa438a5c4b New changeset 1676e423054a by Ezio Melotti in branch '3.2': #15788: fix broken links in

[issue15789] mention shell-like parts of the std lib in the subprocess docs

2012-08-27 Thread Chris Rebert
New submission from Chris Rebert: To further dissuade people from using subprocess.Popen's shell=True option unnecessarily, this patch points out that some common shell features are also available directly in Python via certain modules functions. -- assignee: docs@python components:

[issue15767] add ModuleNotFoundError

2012-08-27 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15767 ___ ___ Python-bugs-list

[issue14570] Document json sort_keys parameter properly

2012-08-27 Thread Chris Rebert
Chris Rebert added the comment: Erm, the patch seems to have some ANSI terminal coloring escape code junk (e.g. ) in it... -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14570

[issue11964] Undocumented change to indent param of json.dump in 3.2

2012-08-27 Thread Chris Rebert
Chris Rebert added the comment: It's been over a year and the patch is trivial. Any chance of it getting applied soon? -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11964

[issue15786] IDLE code completion window does not scoll/select with mouse

2012-08-27 Thread suddha sourav
suddha sourav added the comment: Platform is Windows 7 Professional 64-bit. Sorry for not including the information! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15786 ___

[issue15533] subprocess.Popen(cwd) documentation

2012-08-27 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15533 ___ ___ Python-bugs-list

[issue7186] Document specialness of __doc__, and possibly other special attributes

2012-08-27 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7186 ___ ___ Python-bugs-list

[issue9650] format codes in time.strptime docstrings

2012-08-27 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9650 ___ ___ Python-bugs-list

[issue14783] Update int() docstring from manual

2012-08-27 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14783 ___ ___ Python-bugs-list

[issue14870] Descriptions of os.utime() and os.utimensat() use wrong notation

2012-08-27 Thread Chris Rebert
Changes by Chris Rebert pyb...@rebertia.com: -- nosy: +cvrebert ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14870 ___ ___ Python-bugs-list

[issue15761] Setting PYTHONEXECUTABLE can cause segfaults on OS X

2012-08-27 Thread Ronald Oussoren
Changes by Ronald Oussoren ronaldousso...@mac.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15761 ___

[issue15787] PEP 3121 Refactoring

2012-08-27 Thread Stefan Krah
Changes by Stefan Krah stefan-use...@bytereef.org: -- nosy: +skrah ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15787 ___ ___ Python-bugs-list

[issue14880] csv.reader and .writer use wrong kwargs notation in 2.7 docs

2012-08-27 Thread Petri Lehtinen
Petri Lehtinen added the comment: Chris: Thanks for the patch. I'm not sure register_dialect()'s signature is good like that, though. Hynek, what do you think? -- stage: - patch review ___ Python tracker rep...@bugs.python.org

[issue9650] format codes in time.strptime docstrings

2012-08-27 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I would like to add my +1 to this issue. I suggest adding something like this: Commonly used format codes: %Y Year with century as a decimal number. %m Month as a decimal number [01,12]. %d Day of the month as a decimal number [01,31].

[issue15790] Python 3.3.0rc1 release notes claims PEP-405 support, yet pysetup is not in the package (needs more usage documentation, to get pip working)

2012-08-27 Thread Pas
New submission from Pas: Python 3.3.0rc1 release notes ( http://python.org/download/releases/3.3.0/ ) claims PEP-405 support, yet pysetup is not in the tarball. (After reading through mailing lists and bugs it's clear that the move to packaging module got pulled, so it's still just distutils

[issue15790] Python 3.3.0rc1 release notes claims PEP-405 support, yet pysetup is not in the package (needs more usage documentation, to get pip working)

2012-08-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: PEP 405 is for venv support and that is available. Documenting how to use pip/distribute/setuptools with venv is IMHO beyond the scope of the stdlib documentation (and should be easy enough: create a virtual environment using pyvenv, then install pip using

[issue15791] pydoc does not handle unicode AUTHOR field

2012-08-27 Thread Michele Orrù
New submission from Michele Orrù: $ echo __author__ = u'Michele Orr\xf9' foo.py python -c import foo; print foo.__author__; help(foo) Michele Orrù Traceback (most recent call last): File string, line 1, in module File

[issue15790] Python 3.3.0rc1 release notes claims PEP-405 support, yet pysetup is not in the package (needs more usage documentation, to get pip working)

2012-08-27 Thread Pas
Pas added the comment: It's not straightforward, at all. # (v3.3rc1) /home/pas/wololo/pip-1.1$ python setup.py install Traceback (most recent call last): File setup.py, line 3, in module from setuptools import setup ImportError: No module named 'setuptools' Then, of course one can try

[issue15790] Python 3.3.0rc1 release notes claims PEP-405 support, yet pysetup is not in the package (needs more usage documentation, to get pip working)

2012-08-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: pyvenv won't install setuptools because setuptools is not a stdlib package. Having packaging would have been nice, but that library was not in a good enough shape for the 3.3 release. I don't understand what you try to do in the second traceback. Installing

[issue12403] Mention sys.displayhook in code module docs and the compile builtin docs

2012-08-27 Thread Aaron Iles
Aaron Iles added the comment: I've submitted a patch which adds a section to the code module's documentation on overriding console output. It attempts to catalogue when sys.stderr, sys.excepthook and sys.displayhook are used to print console output. -- keywords: +patch nosy: +aliles

[issue15792] Fix compiler options for x64 builds on Windows

2012-08-27 Thread Jeremy Kloth
New submission from Jeremy Kloth: The attached patch fixes the compiler options used for building the x64 platform. - In VC10 the passing /GS- as an additional option has been replaced by the MSBuild BufferSecurityCheck command - The /USECL:xxx option is only for the VSExtComp plugin for

[issue15790] Python 3.3.0rc1 release notes claims PEP-405 support, yet pysetup is not in the package (needs more usage documentation, to get pip working)

2012-08-27 Thread Pas
Pas added the comment: Thank you. The missing detail was to install distribute when a package needs setuptools. So, documentation. The setuptools page doesn't even mention distribute. The PEP mentions both, even though setuptools pretty much looks incompatible with Py3.3. Anyway. I'm

[issue11964] Undocumented change to indent param of json.dump in 3.2

2012-08-27 Thread Éric Araujo
Éric Araujo added the comment: See my previous message where I say that a careful check is needed. -- nosy: +sandro.tosi ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11964 ___

[issue15791] pydoc does not handle non-ASCII unicode AUTHOR field

2012-08-27 Thread Éric Araujo
Éric Araujo added the comment: I think this works if you set PYTTHONIOENCODING=utf-8 in your environment. (2.6 does not get bugfixes anymore.) -- title: pydoc does not handle unicode AUTHOR field - pydoc does not handle non-ASCII unicode AUTHOR field versions: -Python 2.6

[issue15791] pydoc does not handle non-ASCII unicode AUTHOR field

2012-08-27 Thread Éric Araujo
Éric Araujo added the comment: One could argue that since print does respect the terminal encoding if sys.stdin is a tty, pydoc could be as smart and do the same. I think the problem comes from the use of a pager, which means a subprocess, which mean that the streams are not ttys and the

[issue2988] Invalid cookies crash web applications

2012-08-27 Thread Wichert Akkerman
Wichert Akkerman added the comment: I do not agree that this is a fix. Effectively this means that if a user has a single cookie that SimpleCookie does not like a webapp can not use any cookie at all. Imho at a minimum there should be a way to tell SimpleCookie to ignore invalid cookies.

[issue2988] Invalid cookies crash web applications

2012-08-27 Thread Wichert Akkerman
Changes by Wichert Akkerman wich...@wiggy.net: -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2988 ___ ___

[issue15533] subprocess.Popen(cwd) documentation

2012-08-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attached are a few test cases showing that Popen *does* consider cwd when searching for the executable (as well as for args[0]), and in particular that you *can* specify the program's path relative to cwd. I also moved the test_cwd test to be adjacent to the

[issue15533] subprocess.Popen(cwd) documentation

2012-08-27 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- nosy: +asvetlov ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15533 ___ ___

[issue15775] Add StopParser() to expat

2012-08-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: If a handler function raises an exception, the Parse() method exits and the exception is propagated; internally, this also calls XML_StopParser(). Why would one call XML_StopParser() explicitely? -- nosy: +amaury.forgeotdarc

[issue15783] decimal.localcontext(None) fails when using the C accelerator module

2012-08-27 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- nosy: +zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15783 ___ ___ Python-bugs-list

[issue15791] pydoc does not handle non-ASCII unicode AUTHOR field

2012-08-27 Thread R. David Murray
R. David Murray added the comment: There is a proposed patch in issue 1065986 waiting for review. -- nosy: +r.david.murray resolution: - duplicate stage: - committed/rejected status: open - closed superseder: - Fix pydoc crashing on unicode strings type: crash - behavior

[issue1065986] Fix pydoc crashing on unicode strings

2012-08-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: I fail to see how this patch solves this issue. Taking the example from issue15791, I still get the traceback of that issue, namely in the line result = result + self.section('AUTHOR', str(object.__author__)) If __author__ is a unicode object, it's the

[issue15792] Fix compiler options for x64 builds on Windows

2012-08-27 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- nosy: +loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15792 ___ ___ Python-bugs-list mailing

[issue13405] Add DTrace probes

2012-08-27 Thread Jesús Cea Avión
Jesús Cea Avión added the comment: Samuel, the program complaining about not being able to find the C Preprocessor is the system dtrace executable. Looks like a dependency there. To check this hypotesis, create a file called a.d, with the following content: provider test { probe abc(int);

[issue11964] Undocumented change to indent param of json.dump in 3.2

2012-08-27 Thread Petri Lehtinen
Petri Lehtinen added the comment: I don't think the test changes are needed, because both dump() and dumps() use JSONEncoder internally, and all current indent testing is done using dumps() anyway. More important would be to update the documentation of indent for JSONEncoder to match that of

[issue11964] Undocumented change to indent param of json.dump in 3.2

2012-08-27 Thread Petri Lehtinen
Petri Lehtinen added the comment: Attached a new patch. -- Added file: http://bugs.python.org/file27017/issue11964.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11964 ___

[issue11964] Undocumented change to indent param of json.dump in 3.2

2012-08-27 Thread Éric Araujo
Éric Araujo added the comment: LGTM. -- assignee: eric.araujo - petri.lehtinen stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11964 ___

[issue15533] subprocess.Popen(cwd) documentation

2012-08-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Here is a full patch for the default branch (documentation correction and test cases for the documented behavior). If this patch looks acceptable, I can prepare a separate patch for 2.7. -- Added file:

[issue15533] subprocess.Popen(cwd) documentation

2012-08-27 Thread Chris Jerdonek
Changes by Chris Jerdonek chris.jerdo...@gmail.com: -- keywords: +needs review stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15533 ___

[issue15533] subprocess.Popen(cwd) documentation

2012-08-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: python_dir = os.path.dirname(os.path.realpath(sys.executable)) wrong_cwd = os.path.join(python_dir, 'Doc') Actually, is there a better directory to be using for this? I'd like a directory that is guaranteed to exist that is in the same directory as

[issue15781] test_threaded_import fails with -j4

2012-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, I can now reproduce with setswitchinterval(). Here is a patch. There was a race between putting the new module in sys.modules and setting its __initializing__ attribute, so now __initializing__ is set before putting the module in sys.modules. Also, there

[issue15792] Fix compiler options for x64 builds on Windows

2012-08-27 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15792 ___ ___

[issue15781] test_threaded_import fails with -j4

2012-08-27 Thread Brett Cannon
Brett Cannon added the comment: Didn't patch it in to evaluate the surrounding code, but otherwise the patch LGTM. -- stage: patch review - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15781

[issue15785] curses.get_wch() returns keypad codes incorrectly

2012-08-27 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl, loewis ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15785 ___ ___

[issue15785] curses.get_wch() returns keypad codes incorrectly

2012-08-27 Thread Georg Brandl
Georg Brandl added the comment: Please get a review from another developer before I consider this for rc2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15785 ___

[issue15781] test_threaded_import fails with -j4

2012-08-27 Thread Georg Brandl
Georg Brandl added the comment: Looks good to me. Please commit to default and I'll cherry-pick to rc2. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15781 ___

[issue15793] Stack corruption in ssl.RAND_egd()

2012-08-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patch that fixes stack corruption in ssl.RAND_egd(). -- components: Library (Lib) files: ssl_RAND_egd.patch keywords: patch messages: 169221 nosy: haypo, storchaka priority: normal severity: normal status: open title: Stack corruption in

[issue15792] Fix compiler options for x64 builds on Windows

2012-08-27 Thread Jeremy Kloth
Jeremy Kloth added the comment: I did forgot t mention that this change also silences a compiler warning: cl : Command line warning D9025: overriding '/GS' with '/GS-' The /USECL:xxx option does not provoke a warning is it is being evaluated as '/U SECL:xxx' (undefine macro) -- nosy:

[issue15781] test_threaded_import fails with -j4

2012-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: If possible I would like to wait for Stefan's confirmation that it fixes the failures for him. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15781 ___

[issue15784] OSError.__str__() should distinguish between errno and winerror

2012-08-27 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +georg.brandl ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15784 ___ ___ Python-bugs-list

[issue15784] OSError.__str__() should distinguish between errno and winerror

2012-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: I originally kept it that way to minimize disruption with 3.2, but I agree it's a welcome change. As for acceptance in 3.3, Georg will have to decide. -- ___ Python tracker rep...@bugs.python.org

[issue15781] test_threaded_import fails with -j4

2012-08-27 Thread Georg Brandl
Georg Brandl added the comment: Sure. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15781 ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15784] OSError.__str__() should distinguish between errno and winerror

2012-08-27 Thread Georg Brandl
Georg Brandl added the comment: Uh, currently it's Errno or Error, so there is a way to tell which. I'll leave to Antoine to decide what to do here; it's not like changing it a big deal. WinError looks kind of ugly to me though. -- ___ Python

[issue15784] OSError.__str__() should distinguish between errno and winerror

2012-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, Error and Errno are rather hard to distinguish, and the difference isn't obvious either, so Richard's patch is a good improvement IMHO. -- assignee: - sbt components: +Interpreter Core versions: +Python 3.3

[issue15793] Stack corruption in ssl.RAND_egd()

2012-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: You should add a test (e.g. that TypeError is raised when a second argument is passed). -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15793

[issue15781] test_threaded_import fails with -j4

2012-08-27 Thread Stefan Krah
Stefan Krah added the comment: Nice, on the finicky i7 machine test_threaded_import is fixed. I'm getting another error in test_importlib, both with and without the patch. I can open another issue for that if you think it's completely unrelated: $ ./python -m test -uall -F test_importlib

[issue15781] test_threaded_import fails with -j4

2012-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: I'm getting another error in test_importlib, both with and without the patch. I can open another issue for that if you think it's completely unrelated: Please do. Thanks! -- ___ Python tracker

[issue15781] test_threaded_import fails with -j4

2012-08-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7fa6336e9864 by Antoine Pitrou in branch 'default': Issue #15781: Fix two small race conditions in import's module locking. http://hg.python.org/cpython/rev/7fa6336e9864 -- nosy: +python-dev ___ Python

[issue15794] test_importlib: test_locks failure

2012-08-27 Thread Stefan Krah
New submission from Stefan Krah: On the obstinate i7 machine (see #15781), test_importlib fails sporadically (after 10 repetitions or so). $ ./python -m test -uall -F test_importlib [ 1] test_importlib

[issue15795] Zipfile.extractall does not preserve file permissions

2012-08-27 Thread Alexey Boriskin
New submission from Alexey Boriskin: Zipfile._extract_member does not preserve file permissions while extracting it. As may be seen at link[1], raw open() is used and no os.chmod() applied after that, therefore any permission data stored in zipfile is dropped and file is created with default

[issue15789] mention shell-like parts of the std lib in the subprocess docs

2012-08-27 Thread Éric Araujo
Éric Araujo added the comment: Thanks, LGTM. Maybe there’s a section about walking files in the os module doc that you could also link to? Also shutil. -- nosy: +eric.araujo versions: +Python 3.2 -Python 3.4 ___ Python tracker

[issue15796] Fix readline() docstrings

2012-08-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Here is a patch that escapes '\n' in readline() docstrings. -- assignee: docs@python components: Documentation files: escape_nl.patch keywords: patch messages: 169235 nosy: docs@python, storchaka priority: normal severity: normal status: open title:

[issue15533] subprocess.Popen(cwd) documentation

2012-08-27 Thread Ned Deily
Ned Deily added the comment: Because tests should be runnable from installed Pythons (including binary -only installations), tests should not assume that a Python source directory is available nor make any assumptions about the location of the Python executable itself. -- nosy:

[issue15796] Fix readline() docstrings

2012-08-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file27022/escape_nl-2.7.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15796 ___

[issue15793] Stack corruption in ssl.RAND_egd()

2012-08-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Patch updated with tests. -- Added file: http://bugs.python.org/file27023/ssl_RAND_egd-3.3.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15793 ___

[issue15793] Stack corruption in ssl.RAND_egd()

2012-08-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Added file: http://bugs.python.org/file27024/ssl_RAND_egd-3.2.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15793 ___

[issue15794] test_importlib: test_locks failure

2012-08-27 Thread Stefan Krah
Stefan Krah added the comment: Also reproduced on Ubuntu Lucid/Core 2 Duo with a very low switch interval and -j4. It takes more repetitions than on the i7: $ ./python -m test -uall -F -j4 test_importlib [...] [224] test_importlib [225] test_importlib [226/1] test_importlib test

[issue15793] Stack corruption in ssl.RAND_egd()

2012-08-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: Removed file: http://bugs.python.org/file27020/ssl_RAND_egd.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15793 ___

[issue15793] Stack corruption in ssl.RAND_egd()

2012-08-27 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15793 ___ ___ Python-bugs-list mailing list

[issue15790] Python 3.3.0rc1 release notes claims PEP-405 support, yet pysetup is not in the package (needs more usage documentation, to get pip working)

2012-08-27 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- nosy: +jcea ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15790 ___ ___ Python-bugs-list mailing list

[issue15794] test_importlib: test_locks failure

2012-08-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: After a bit of investigation, it turns out the test is probably too strict. The deadlock avoidance logic in importlib._bootstrap is indeed conservative: if you take a look at _ModuleLock.acquire(), _blocking_on[tid] is set even while other threads may run,

[issue15533] subprocess.Popen(cwd) documentation

2012-08-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Here is a new patch that makes no assumptions about the contents of the directory containing sys.executable. -- Added file: http://bugs.python.org/file27026/issue-15533-3-default.patch ___ Python tracker

[issue15795] Zipfile.extractall does not preserve file permissions

2012-08-27 Thread R. David Murray
R. David Murray added the comment: Does this have any relationship to issue 3394? From the discussion on that issue it sounds like zipfile is doing things with external_attributes if it is set. But I don't know much about zipfile internals. -- nosy: +r.david.murray

[issue15784] OSError.__str__() should distinguish between errno and winerror

2012-08-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: Well, Error and Errno are rather hard to distinguish Embarrassingly, I did not even notice the was a difference. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15784

[issue9650] format codes in time.strptime docstrings

2012-08-27 Thread Chris Rebert
Chris Rebert added the comment: +1 on including am/pm-related codes. Blame us backwards, non-metric Americans. Sounds GTM otherwise. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue9650

[issue14649] doctest.DocTestSuite error misleading when module has no docstrings

2012-08-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Updating the patch after discussing with David on IRC. The two new files are now added to Lib/test instead of to a subdirectory of Lib/test. Moving the doctest files to a subdirectory can be discussed and possibly addressed as part of a separate issue.

[issue15716] Ability to specify the PYTHONPATH via a command line flag

2012-08-27 Thread Colin Su
Changes by Colin Su littleq0...@gmail.com: -- nosy: +littleq0903 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15716 ___ ___ Python-bugs-list

[issue15716] Ability to specify the PYTHONPATH via a command line flag

2012-08-27 Thread Colin Su
Colin Su added the comment: Could anyone provide some properly command line usage for this issue? ex. python -P path_1:path_2:path_3 I think this point need to be discussed :D -- ___ Python tracker rep...@bugs.python.org

[issue15716] Ability to specify the PYTHONPATH via a command line flag

2012-08-27 Thread Colin Su
Colin Su added the comment: s/properly/proper (typo) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15716 ___ ___ Python-bugs-list mailing list

[issue15716] Ability to specify the PYTHONPATH via a command line flag

2012-08-27 Thread Colin Su
Colin Su added the comment: started working on it :) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15716 ___ ___ Python-bugs-list mailing list

[issue15785] curses.get_wch() returns keypad codes incorrectly

2012-08-27 Thread Adam Simpkins
Adam Simpkins added the comment: + Get a wide character as (is_key_code, key). *is_key_code* is True for + function keys, keypad keys and so, in this case, *key* is a multibyte string + containing the key name. Otherwise, *key* is a single character + corresponding to the key. The

[issue15789] mention shell-like parts of the std lib in the subprocess docs

2012-08-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: This is a nit, but can you adhere to an 80-character line length? Much (but not all) of the documentation does. -- nosy: +cjerdonek ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue15789

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-08-27 Thread Eric Snow
Eric Snow added the comment: Here's a patch for 3.3 with a test. Though, I'm still setting up my windows box for building Python, I wanted to get this patch up. On its own the test should fail on Windows. In that case, it should be backport-able. If no one has a chance to verify the test

[issue15136] Decimal accepting Fraction

2012-08-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks Nick. I'll go ahead and close this one, leaving the Decimal module only with lossless coercions that do not depend on the decimal context (this matches the underlying design of the decimal module which treats all numbers as exact, and only applying

[issue14783] Update int() docstring from manual

2012-08-27 Thread Raymond Hettinger
Raymond Hettinger added the comment: The 3.3 version has the virtue of being accurate and the vice of being confusing. In a way, it has made the docs worse for the average user of common cases. Is there a way to stack the alternative signatures rather than mush the various used into a