[issue22231] httplib: unicode url will cause an ascii codec error when combined with a utf-8 string header

2014-08-23 Thread Bob Chen
Bob Chen added the comment: I personally suggest httplib convert the url and other elements to be string, at the begging of the class init. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22231

[issue22252] ssl blocking IO errors

2014-08-23 Thread Hristo Venev
Hristo Venev added the comment: My questions are: When will SSLSocket.recv() raise SSLWantWriteError? When will SSLSocket.send() raise SSLWantReadError? According to my very basic knowledge abou the protocol, this will never happen. -- ___ Python

[issue22221] ast.literal_eval confused by coding declarations

2014-08-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is the same issue as issue18960. Here is backported patch with additional test. -- keywords: +patch stage: needs patch - patch review Added file: http://bugs.python.org/file36442/source_encoding_second_line-2.7.patch

[issue22232] str.splitlines splitting on non-\r\n characters

2014-08-23 Thread Samuel Charron
Samuel Charron added the comment: This is a known issue, and will be resolved by improving documentation, I'm closing this bug Thanks ! -- status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22232

[issue22256] pyvenv should display a progress indicator while creating an environment

2014-08-23 Thread Nick Coghlan
New submission from Nick Coghlan: Creating an environment with pyvenv or python -m venv in 3.4+ can be a bit disconcerting, as it may take some time (especially on older machines). It would be good if the command line utility displayed some kind of marking while this operation was in

[issue22257] PEP 432: Redesign the interpreter startup sequence

2014-08-23 Thread Nick Coghlan
New submission from Nick Coghlan: PEP 432 describes a plan to redesign how the interpreter startup sequence is implemented. This is a placeholder issue to be used to help track other problems which can't easily be fixed without those changes. -- components: Interpreter Core messages:

[issue22213] pyvenv style virtual environments unusable in an embedded system

2014-08-23 Thread Nick Coghlan
Nick Coghlan added the comment: Some more experiments, comparing an installed vs uninstalled Python. One failure mode is that setting PYTHONHOME just plain breaks running from a source checkout (setting PYTHONHOME to the checkout directory also fails): $ ./python -m venv --without-pip

[issue22256] pyvenv should display a progress indicator while creating an environment

2014-08-23 Thread Vinay Sajip
Vinay Sajip added the comment: Should this be a change to ensurepip, then, or a change in pyvenv? My original pyvenvex.py script at https://gist.github.com/vsajip/4673395 shows progress information as the subprocess runs. However, it somewhat depends on the verbosity of the underlying child

[issue22256] pyvenv should display a progress indicator while creating an environment

2014-08-23 Thread Nick Coghlan
Nick Coghlan added the comment: I'm not actually sure - it only occurred to me while filing the issue that ensurepip was the likely culprit. Donald, what do you think? Is virtualenv chattier here? -- ___ Python tracker rep...@bugs.python.org

[issue22257] PEP 432: Redesign the interpreter startup sequence

2014-08-23 Thread Barry A. Warsaw
Changes by Barry A. Warsaw ba...@python.org: -- nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22257 ___ ___ Python-bugs-list mailing

[issue22213] pyvenv style virtual environments unusable in an embedded system

2014-08-23 Thread Graham Dumpleton
Graham Dumpleton added the comment: It is actually very easy for me to work around and I released a new mod_wsgi version today which works. When I get a Python home option, instead of calling Py_SetPythonHome() with it, I append '/bin/python' to it and call Py_SetProgramName() instead.

[issue22252] ssl blocking IO errors

2014-08-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 23/08/2014 03:02, Hristo Venev a écrit : When will SSLSocket.recv() raise SSLWantWriteError? When will SSLSocket.send() raise SSLWantReadError? According to my very basic knowledge abou the protocol, this will never happen. According to the OpenSSL

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

2014-08-23 Thread Keith Hughitt
Keith Hughitt added the comment: Although it would be nice if the behavior were normalized between positional and optional args, it seems like doc patch would be the most straight-forward at this point. The down-side is that I suspect many people will assume the behavior for optional args,

[issue22258] Use FD_CLOEXEC in Python/fileutils.c

2014-08-23 Thread Igor Pashev
New submission from Igor Pashev: I've found on illumos-based OS that under some conditions python is unable to open any files because set_inheritable() fails. This happens even when building python when it cannot find (open) _sysconfigdata.py. The problem is that set_inheritable() first

[issue21585] Run Tkinter tests with wantobjects=False

2014-08-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is my plan. First, we should resolve issue22236. Otherwise some tests will be run with default root created with old wantobjects value. Then we should introduce new test resource name as in Lilo's first patch (but wantobjects is not correct name,

[issue22233] http.client splits headers on none-\r\n characters

2014-08-23 Thread R. David Murray
Changes by R. David Murray rdmur...@bitdance.com: -- components: +email nosy: +barry ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22233 ___ ___

[issue22232] str.splitlines splitting on non-\r\n characters

2014-08-23 Thread R. David Murray
R. David Murray added the comment: OK, we'll use issue 22232 to resolve the issue of email using splitlines. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22232 ___

[issue22258] Use FD_CLOEXEC in Python/fileutils.c

2014-08-23 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22258 ___ ___ Python-bugs-list mailing

[issue22232] str.splitlines splitting on non-\r\n characters

2014-08-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: May be add a parameter to str.splitlines() which will switch behavior to split on '\n', '\r' and '\r\n' only? -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22232

[issue22191] warnings.__all__ incomplete

2014-08-23 Thread Jon Poler
Jon Poler added the comment: Thanks, Brett! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22191 ___ ___ Python-bugs-list mailing list

[issue2527] Pass a namespace to timeit

2014-08-23 Thread Ben Roberts
Ben Roberts added the comment: Thanks Antoine. Cheers :-) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2527 ___ ___ Python-bugs-list mailing

[issue22233] http.client splits headers on none-\r\n characters

2014-08-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- nosy: +serhiy.storchaka ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22233 ___ ___

[issue18554] os.__all__ is incomplete

2014-08-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: LGTM. Please commit. -- assignee: - ronaldoussoren nosy: +serhiy.storchaka stage: patch review - commit review versions: +Python 2.7, Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org

[issue22255] Multiprocessing freeze_support raises RuntimeError

2014-08-23 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- nosy: +sbt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22255 ___ ___ Python-bugs-list

[issue21391] shutil uses both os.path.abspath and an 'import from' of abspath

2014-08-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I'm for get rid of from import without deprecation. Definitely this is not part of API. -- nosy: +serhiy.storchaka stage: commit review - needs patch ___ Python tracker rep...@bugs.python.org

[issue21391] shutil uses both os.path.abspath and an 'import from' of abspath

2014-08-23 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- assignee: - berker.peksag ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue21391 ___ ___

[issue22243] Documentation on try statement incorrectly implies target of except clause can be any assignable expression

2014-08-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: The grammar presented in the doc is intentionally slightly simplified from the one actually used by the LL(1) parser. The parser has to know what type of statement it is parsing after the first token or so, so it needs a separate production (concept) for

[issue22259] fdopen of directory causes segmentation fault

2014-08-23 Thread Brian Kearns
Changes by Brian Kearns bdkea...@gmail.com: -- files: fdopen-directory.patch keywords: patch nosy: bdkearns priority: normal severity: normal status: open title: fdopen of directory causes segmentation fault type: crash versions: Python 2.7 Added file:

[issue22243] Documentation on try statement incorrectly implies target of except clause can be any assignable expression

2014-08-23 Thread Jayanth Koushik
Jayanth Koushik added the comment: Oh ok. That makes sense. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22243 ___ ___ Python-bugs-list

[issue22232] str.splitlines splitting on non-\r\n characters

2014-08-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Unless there is already another issue for improving the doc, this should at least be left open as a doc issue. But I had the same thought as Serhiy, that we should at least optionally make the current doc correct. Two possibilities: newlines=False If true,

[issue13540] Document the Action API in argparse

2014-08-23 Thread Jason R. Coombs
Jason R. Coombs added the comment: I have no idea why that would be. I used the same syntax for the Action class as ArgumentParser. From the latest tip: .. class:: ArgumentParser(prog=None, usage=None, description=None, \ epilog=None, parents=[], \

[issue13540] Document the Action API in argparse

2014-08-23 Thread paul j3
paul j3 added the comment: Maybe the problem is with the latest documentation build, not your patch. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13540 ___

[issue22232] str.splitlines splitting on non-\r\n characters

2014-08-23 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I don't understand why you say about latin-1. splitlines() supports linebreaks outside latin-1 range. [hex(i) for i in range(sys.maxunicode + 1) if len(('%cx' % i).splitlines()) == 2] ['0xa', '0xb', '0xc', '0xd', '0x1c', '0x1d', '0x1e', '0x85', '0x2028',

[issue21585] Run Tkinter tests with wantobjects=False

2014-08-23 Thread Zachary Ware
Zachary Ware added the comment: I agree that #22236 should be resolved first. As for resource guarding the 'wantobjects = 0' tests, do we really need to? It takes a bit under 20 seconds to run all of the tkinter tests on this machine, and I don't think 40 seconds is an unduly long runtime

[issue22260] Rearrange tkinter tests, use test discovery

2014-08-23 Thread Zachary Ware
New submission from Zachary Ware: The attached patch rearranges the tkinter tests and strips out all of their custom test finding/loading code in favor of test discovery. The high points: - Lib/tkinter/test/ - Lib/test/test_tkinter/, Lib/tkinter/test/test_tkinter/ -

[issue22260] Rearrange tkinter tests, use test discovery

2014-08-23 Thread Zachary Ware
Zachary Ware added the comment: This will need some reworking after #22236, which looks like it might make it possible for 'setUpGUIModule' to go away by folding its contents into AbstractTkTest.setUpClass. -- dependencies: +Do not use _default_root in Tkinter tests

[issue22194] access to cdecimal / libmpdec API

2014-08-23 Thread Stefan Krah
Stefan Krah added the comment: That's what I meant. The issue here is that Python's libmpdec is not exposed to third-party code at all. Also there should probably be a (thin?) API to get at the underlying mpdec object from a cdecimal PyObject (apologies for the poor wording, I'm actually

[issue22090] Decimal and float formatting treat '%' differently for infinities and nans.

2014-08-23 Thread Stefan Krah
Stefan Krah added the comment: Thanks. I agree about 2.7 -- including 3.4 would perhaps make external libmpdec management easier for Debian and Arch. I'm not suggesting that we should always consider the distributors, but this particular issue seems so minor. --

[issue22259] fdopen of directory causes segmentation fault

2014-08-23 Thread Berker Peksag
New submission from Berker Peksag: Thanks for the patch. Please use assertEqual instead of assert. -- nosy: +berker.peksag stage: - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22259

[issue22258] Use FD_CLOEXEC in Python/fileutils.c

2014-08-23 Thread STINNER Victor
STINNER Victor added the comment: The patch doesn't look correct. Ioctl() reduces the overhead in term of syscalls (1 vs 2). What is the errno value on failure? We should remember that ioctl() doesn't work and fallback to fcntl(). It would be more portable. Similar check is already done for

[issue22232] str.splitlines splitting on non-\r\n characters

2014-08-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was not aware of the remainder of the undocumented behavior. Thanks for the code that makes it clear . linebreak (or linebreaks)=True means that splitting occurs on some (approximation?*) of unicode mandatory linebreaks, as opposed to just the ascii

[issue22232] str.splitlines splitting on non-\r\n characters

2014-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3ad59ed0f4f0 by Terry Jan Reedy in branch '3.4': Issue #22232 (partial fix): update Universal newlines Glossary entry. http://hg.python.org/cpython/rev/3ad59ed0f4f0 -- nosy: +python-dev ___ Python

[issue22194] access to cdecimal / libmpdec API

2014-08-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: Le 23/08/2014 16:42, Stefan Krah a écrit : That's what I meant. The issue here is that Python's libmpdec is not exposed to third-party code at all. Also there should probably be a (thin?) API to get at the underlying mpdec object from a cdecimal PyObject

[issue22232] str.splitlines splitting on non-\r\n characters

2014-08-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Glossary fixed. I changed the components to Documention as you will handle email elsewhere. For library references: The key sentence currently used in all entries is This method uses the universal newlines approach to splitting lines., where *universal

[issue22243] Documentation on try statement incorrectly implies target of except clause can be any assignable expression

2014-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5496bf8972b6 by Terry Jan Reedy in branch '2.7': Issue #22243: fix except grammar in reference. http://hg.python.org/cpython/rev/5496bf8972b6 New changeset a249f1f879be by Terry Jan Reedy in branch '3.4': Issue #22243: fix except grammar in

[issue22243] Documentation on try statement incorrectly implies target of except clause can be any assignable expression

2014-08-23 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- resolution: - fixed stage: - resolved status: open - closed type: enhancement - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22243

[issue22213] Make pyvenv style virtual environments easier to configure when embedding Python

2014-08-23 Thread Nick Coghlan
Nick Coghlan added the comment: Excellent! If I recall correctly, that works because we resolve the symlink when looking for the standard library, but not when looking for venv configuration file. I also suspect this is all thoroughly broken on Windows - there are so many configuration

[issue22257] PEP 432: Redesign the interpreter startup sequence

2014-08-23 Thread Nick Coghlan
Nick Coghlan added the comment: I'll also be using this issue to track some of the ground work I plan to lay this time. I found in my last attempt that the interpreter internals needed some initial refactoring to take better advantage of C level state encapsulation in different modules.

[issue22257] PEP 432: Redesign the interpreter startup sequence

2014-08-23 Thread Nick Coghlan
Nick Coghlan added the comment: Just noting that issue 18093 was also part of that groundwork. My previous attempt at a draft PEP 432 patch: https://bitbucket.org/ncoghlan/cpython_sandbox/src/pep432_modular_bootstrap/?at=pep432_modular_bootstrap That initial attempt ended up being abandoned

[issue22213] Make pyvenv style virtual environments easier to configure when embedding Python

2014-08-23 Thread Graham Dumpleton
Graham Dumpleton added the comment: I only make the change to Py_SetProgramName() on UNIX and not Windows. This is because back in mod_wsgi 1.0 I did actually used to use Py_SetProgramName() but it didn't seem to work in sane way on Windows so changed to Py_SetPythonHome() which worked on

[issue22261] Concurrent Build when using MsBuild

2014-08-23 Thread sbspider
New submission from sbspider: I was building the cpython code a while back, and noticed that the build system was using msbuild, when PCBuild\built.bad -e -d was ran. Upon further investigation, it seems that the /m compiler flag is not included. This flag would allow for concurrent builds,

[issue22261] Concurrent Build when using MsBuild

2014-08-23 Thread Mark Lawrence
Changes by Mark Lawrence breamore...@yahoo.co.uk: -- nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22261 ___

[issue22168] Turtle Graphics RawTurtle problem

2014-08-23 Thread Ned Deily
Ned Deily added the comment: The attached patch should prevent the AttributeError exception when not using a default Canvas. I now think the overall approach introduced in Issue11571 is not the best. I plan to commit this fix for now but encourage more robust solutions in the long term.

[issue22064] Misleading message from 2to3 when skipping optional fixers

2014-08-23 Thread Vinod Kurup
Vinod Kurup added the comment: Patch attached to make the change that ncoghlan suggested. -- keywords: +patch nosy: +Vinod.Kurup Added file: http://bugs.python.org/file36448/mywork.patch ___ Python tracker rep...@bugs.python.org

[issue11571] Turtle window pops under the terminal on OSX

2014-08-23 Thread Ned Deily
Ned Deily added the comment: As identified in Issue22168, the changes introduced here do not work when the user supplies a Canvas rather than relying on the turtle default. There is a patch there that should solve that issue. But I now think that the original approach was not an ideal

[issue21166] Bus error in pybuilddir.txt 'python -m sysconfigure --generate-posix-vars' build step

2014-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 5a157e3b3c47 by Ned Deily in branch '2.7': Issue #21166: fix typo in comment http://hg.python.org/cpython/rev/5a157e3b3c47 New changeset 9b1bd9d42cc7 by Ned Deily in branch '3.4': Issue #21166: fix typo in comment

[issue13540] Document the Action API in argparse

2014-08-23 Thread paul j3
paul j3 added the comment: You need line continuation characters '\' .. class:: Action(option_strings, dest, nargs=None, const=None, default=None, \ type=None, choices=None, required=False, help=None, \ metavar=None) --

[issue22261] Concurrent Build when using MsBuild

2014-08-23 Thread Zachary Ware
Zachary Ware added the comment: No need, you can supply it yourself :). Try 'PCbuild\build.bat -d -e /m'. That won't work on 3.4, but will on 3.5+; I specifically made sure extra arguments were passed along to msbuild when I rewrote PCbuild\build.bat a while back just so that this would

[issue22261] Concurrent Build when using MsBuild

2014-08-23 Thread Zachary Ware
Zachary Ware added the comment: On the other hand, I did fail to document that little gem. It should be added to the section about build.bat in PCbuild/readme.txt. -- assignee: - docs@python components: +Documentation -Build nosy: +docs@python resolution: not a bug - stage: resolved

[issue22261] Document how to use Concurrent Build when using MsBuild

2014-08-23 Thread Zachary Ware
Changes by Zachary Ware zachary.w...@gmail.com: -- components: +Windows title: Concurrent Build when using MsBuild - Document how to use Concurrent Build when using MsBuild ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22261

[issue22261] Document how to use Concurrent Build when using MsBuild

2014-08-23 Thread sbspider
sbspider added the comment: Would you mind letting me do the honors? First time contributing and all that :P -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22261 ___

[issue22261] Document how to use Concurrent Build when using MsBuild

2014-08-23 Thread Zachary Ware
Zachary Ware added the comment: Of course, I'll be happy to review and commit for you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22261 ___

[issue22262] Python External Libraries are stored in directory above where source code is located.

2014-08-23 Thread sbspider
New submission from sbspider: When trying to compile cpython, it puts dependencies like tkinter in the directory above the hg directory. Since I have a highly defined directory structure, this can become quite annoying. Therefore, I would like to propose having the build system download the

[issue8296] multiprocessing.Pool hangs when issuing KeyboardInterrupt

2014-08-23 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: -brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8296 ___ ___ Python-bugs-list

[issue22200] Remove distutils checks for Python version

2014-08-23 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: There are other checks: Lib/distutils/command/build_ext.py: # this keeps compatibility from 2.3 to 2.5 if sys.version 2.6: USER_BASE = None HAS_USER_SITE = False else: from site import USER_BASE HAS_USER_SITE = True

[issue22261] Document how to use Concurrent Build when using MsBuild

2014-08-23 Thread sbspider
Changes by sbspider rajsho...@gmail.com: -- keywords: +patch Added file: http://bugs.python.org/file36449/readme.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22261 ___

[issue22200] Remove distutils checks for Python version

2014-08-23 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22200 ___

[issue22262] Python External Libraries are stored in directory above where source code is located.

2014-08-23 Thread Zachary Ware
Zachary Ware added the comment: I tend to agree (see #17896, this issue is a duplicate), but I've not had enough agreement to be comfortable going ahead with that move. I've not tested it, but you could try moving the already-downloaded sources into the folder you want (say, externals) and

[issue13540] Document the Action API in argparse

2014-08-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4a6b71d8575e by Terry Jan Reedy in branch '3.4': Issue #13540: add missing markup. http://hg.python.org/cpython/rev/4a6b71d8575e -- ___ Python tracker rep...@bugs.python.org

[issue13540] Document the Action API in argparse

2014-08-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I don't understand why, but the change worked, and is consistent with similar constructs in the same file. Pushed. Jason -- security-fix-only versions do not get doc patches. They are released as source only. --

[issue22261] Document how to use Concurrent Build when using MsBuild

2014-08-23 Thread sbspider
sbspider added the comment: I uploaded the file, just checking if it hasn't come through. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22261 ___

[issue18814] Add tools for cleaning surrogate escaped strings

2014-08-23 Thread Nick Coghlan
Nick Coghlan added the comment: Based on the latest round of bytes handling discussions on python-dev, I came up with this updated proposal: # Constant in the string module (akin to string.ascii_letters et al) escaped_surrogates = bytes(range(128, 256)).decode('ascii',

[issue6721] Locks in the standard library should be sanitized on fork

2014-08-23 Thread Dan O'Reilly
Changes by Dan O'Reilly oreil...@gmail.com: -- nosy: +dan.oreilly ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue6721 ___ ___ Python-bugs-list

[issue22261] Document how to use Concurrent Build when using MsBuild

2014-08-23 Thread Zachary Ware
Zachary Ware added the comment: Patch came through fine; you've done perfectly process-wise. I'll post a review of the patch soon. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22261 ___

[issue18814] Add tools for cleaning surrogate escaped strings

2014-08-23 Thread Nick Coghlan
Nick Coghlan added the comment: Note: I dropped the has_escaped_bytes idea, as s != string.clean(s) is functionally equivalent, albeit a bit more expensive if you don't actually want the cleaned string) -- ___ Python tracker rep...@bugs.python.org

[issue13540] Document the Action API in argparse

2014-08-23 Thread paul j3
paul j3 added the comment: While we are talking the Action class, the documentation isn't clear that the 'add_argument' method returns an Action object, specifically one the subclasses. More than once, when answering Stackoverflow questions I've recommended assigning this object to a

[issue22259] fdopen of directory causes segmentation fault

2014-08-23 Thread Brian Kearns
Changes by Brian Kearns bdkea...@gmail.com: Removed file: http://bugs.python.org/file36444/fdopen-directory.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22259 ___

[issue22259] fdopen of directory causes segmentation fault

2014-08-23 Thread Brian Kearns
Changes by Brian Kearns bdkea...@gmail.com: Added file: http://bugs.python.org/file36450/fdopen-directory.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22259 ___