[issue19145] Inconsistent behaviour in itertools.repeat when using negative times

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm inclined to apply Vajrasky Kok's third version (with minor cleanups). The rule will be pretty much what Guido stated but without adding a special case for times=None (that could be an added enhancement at a later time if the need arose): "If I had comp

[issue19145] Inconsistent behaviour in itertools.repeat when using negative times

2014-06-22 Thread Larry Hastings
Larry Hastings added the comment: Please clarify, what is my "false dilemma"? -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue13247] under Windows, os.path.abspath returns non-ASCII bytes paths as question marks

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'm -1 on the patch. The string currently returned might be useless, but the fundamental problem is that using bytes for filenames on Windows just isn't sufficient for all cases. Microsoft has chosen to return question marks in the API, and Python should retu

[issue6305] islice doesn't accept large stop values

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Alok, overall the patch looks pretty good and you've done great work on it. However, in working through its details, I find myself having major misgivings about doubling the size and complexity of the code for something that may not be ever benefit any real

[issue21812] turtle.shapetransform doesn't transform the turtle on the first call

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: The looks good. Please revise the patch to isolate the actual change in logic and not confound it with PEP-8 nits which make the patch harder to review. Also, please be careful with breaking lines. In the following part of the diff, the space after "matri

[issue9012] Separate compilation of time and datetime modules

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: This issue has been superseded by #14180. __PyTime_DoubleToTimet no longer exists; its successor now lives in pytime.c. -- resolution: -> out of date status: open -> closed superseder: -> Factorize code to convert int/float to time_t, timeval or tim

[issue21812] turtle.shapetransform doesn't transform the turtle on the first call

2014-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- Removed message: http://bugs.python.org/msg221228 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue6305] islice doesn't accept large stop values

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: I'd find it sad if we would, after 5 years of asking for contributions, and after somebody actually contributing, now declare that we really don't want a contribution. -- nosy: +loewis ___ Python tracker

[issue21766] CGIHTTPServer File Disclosure

2014-06-22 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue21812] turtle.shapetransform doesn't transform the turtle on the first call

2014-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset 39b094798e14 by Raymond Hettinger in branch '3.4': Issue #21812: Trigger immediate transformation in turtle.shapetransform(). http://hg.python.org/cpython/rev/39b094798e14 -- nosy: +python-dev ___ Python

[issue2574] Add RFC 3768 SSM Multicast support to "socket"

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: Looks as if the status was inadvertently set to languishing. Stage needs setting to patch review. The patch is effectively all new C code but there are no doc changes or tests. -- nosy: +BreamoreBoy ___ Python trac

[issue21812] turtle.shapetransform doesn't transform the turtle on the first call

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks for noticing this and for the patch. In the future, to make patches easier to review, please isolate the core logic change from inconsequential whitespace and linewrap edits. Also note that breaking strings in the middle to accommodate a max line le

[issue21799] Py_SetPath() gives compile error: undefined reference to '__imp_Py_SetPath'

2014-06-22 Thread Pat Le Cat
Pat Le Cat added the comment: Okay I tried the exact same example code from your website on the MSVC-2013 (same OS) suite and got new errors with it and a strange warning. >>Warning: 1>c:\python34\include\pymath.h(22): warning C4273: 'round' : inconsistent dll linkage 1>C:\Program Files (x86)\

[issue6305] islice doesn't accept large stop values

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Martin, "finding it sad" doesn't really help much here. We *can* put the patch in. Alok devoted a good chunk of time to creating the patch and I've already devoted a good chunk of time to reviewing it. However, in so doing I became concerned that it wasn

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: The reason the Unicode consortium made this list (Other_ID_Start) is that they want to promise 100% backwards compatibility: if some programming language had been using UAX#31, changes to the Unicode database might break existing code. To avoid this, UAX#31 g

[issue19145] Inconsistent behaviour in itertools.repeat when using negative times

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: > Please clarify I was referring to your first post, "I see two possible choices here ... [changing the signature to times=-1 or to times=None]". There was another choice, make the code work as originally intended where omitting the times argument repeat

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Tal: If you want to verify your is_id_char function, you could use the code for i in range(65536): c = chr(i) c2 = 'a'+c if is_id_char(c) != c2.isidentifier(): print('\\u%.4x'%i,is_id_char(c),c2.isidentifier()) Alternatively, you could use

[issue8343] improve re parse error messages for named groups

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: I understand that the patch cannot be used as the OP refuses to sign the CLA. -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue21799] Py_SetPath() gives compile error: undefined reference to '__imp_Py_SetPath'

2014-06-22 Thread Pat Le Cat
Pat Le Cat added the comment: **Missing Python34.dll in installation** Okay it's getting more interesting. I downloaded Python 3.4 windows x64 binary and extracted the DLLs and suddenly I discovered that release 3.4.1 is missing the Python34.dll !! :-O Once I link against the python34.dll fro

[issue8908] friendly errors for UAC misbehavior in windows installers

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: The patches cannot be used as the OP hasn't signed the CLA. -- components: -Distutils2 nosy: +BreamoreBoy, dstufft ___ Python tracker ___ ___

[issue4714] print opcode stats at the end of pybench runs

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: @Antoine/Marc-Andre are either of you interested in taking this forward? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue5800] make wsgiref.headers.Headers accept empty constructor

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: This shouldn't be languishing, work has been committed against revision 86742 and there's another patch that apparently just needs a little tweak. -- nosy: +BreamoreBoy ___ Python tracker

[issue16976] Asyncore/asynchat hangs when used with ssl sockets

2014-06-22 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: Yes. -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue21799] Py_SetPath() gives compile error: undefined reference to '__imp_Py_SetPath'

2014-06-22 Thread Pat Le Cat
Pat Le Cat added the comment: Update on mingw: When I comment out the Py_SetPath() function call, then the code runs up to the 4th test print and then crashes again, possibly at: "Py_XDECREF(pArgs)". So apart from the 'encoding' module that cannot be found there is still a crash. I installed P

[issue6916] Remove deprecated items from asynchat

2014-06-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset aeeb385e61e4 by Giampaolo Rodola' in branch 'default': #6916: attempt to fix BB failure http://hg.python.org/cpython/rev/aeeb385e61e4 -- ___ Python tracker

[issue5800] make wsgiref.headers.Headers accept empty constructor

2014-06-22 Thread Berker Peksag
Berker Peksag added the comment: The patch is not committed yet. $ ./python Python 3.5.0a0 (default:979aaa08c067+, Jun 19 2014, 13:01:36) [GCC 4.6.3] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from wsgiref.headers import Headers >>> h = Headers() Traceba

[issue5800] make wsgiref.headers.Headers accept empty constructor

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: Just for the record clicking on "revision 86742" gives "Specified revision r86742 not found". -- ___ Python tracker ___ _

[issue2459] speedup for / while / if with better bytecode

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: As a lot of work has gone into this it saddens me to see it languishing. Surely if Python performance is to be improved the bytecode for conditionals and loops is one of the places if not the place to do it? Are there any names missing from the nosy list that

[issue2506] Add mechanism to disable optimizations

2014-06-22 Thread Pedro Gimeno
Pedro Gimeno added the comment: I consider peephole optimization when no optimization was requested a bug. Documentation for -O says it "Turns on basic optimizations". Peephole optimization is a basic optimization, yet it is performed even when no basic optimizations were requested. No need t

[issue9175] ctypes doesn't build on hp-ux

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: Was this ever a Python issue if the compiler isn't supported by ctypes? If it is a Python issue what is the likelihood of a fix being put in place for the 2.7 series? -- nosy: +BreamoreBoy ___ Python tracker

[issue15745] Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS, Solaris w/ UFS)

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: Could we have a formal review of the patch please as Victor seemed fairly happy with it in msg176881. Note that #16287 also refers to this issue. -- nosy: +BreamoreBoy ___ Python tracker

[issue1299] distutils.sysconfig is not cross-platform compatible

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: >From https://docs.python.org/3/library/distutils.html "Most Python users will >not want to use this module directly, but instead use the cross-version tools >maintained by the Python Packaging Authority. Refer to the Python Packaging >User Guide for more infor

[issue21799] Py_SetPath() gives compile error: undefined reference to '__imp_Py_SetPath'

2014-06-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis, steve.dower, tim.golden, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue10978] Add optional argument to Semaphore.release for releasing multiple threads

2014-06-22 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +neologix ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue21799] Py_SetPath() gives compile error: undefined reference to '__imp_Py_SetPath'

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Pat Le Cat: Please focus on one issue at a time. I'm tempted to close this issue as "works for me", and let you start over reporting one single issue that we then try to resolve. In any case, ignore python3.dll. It's meant for a different use case than yours.

[issue6916] Remove deprecated items from asynchat

2014-06-22 Thread Berker Peksag
Berker Peksag added the comment: Would using assertWarns be more suitable here? Attached a patch. -- keywords: +patch nosy: +berker.peksag Added file: http://bugs.python.org/file35722/use-assertwarns.diff ___ Python tracker

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-06-22 Thread Saimadhav Heblikar
Saimadhav Heblikar added the comment: List of additions/changes 1. EditorWindow uses LineNumber.Text instead of tkinter.Text. 2. Added linenumber canvas to IDLE windows except PyShell 3. Some info about LineNumber.Text a) Inherits tk.Text b) Generates <> virtual event,

[issue17535] IDLE: Add an option to show line numbers along the left side of the editor window, and have it enabled by default.

2014-06-22 Thread Saimadhav Heblikar
Changes by Saimadhav Heblikar : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21799] Py_SetPath() gives compile error: undefined reference to '__imp_Py_SetPath'

2014-06-22 Thread Pat Le Cat
Pat Le Cat added the comment: Yes I'm sorry, this evolved as I investigated further. So the initial case has become this: Bug: Python 3.4 Windows installation contains python34.dll but does not install it. Both: python-3.4.1.amd64.msi and python-3.4.0.amd64.msi (maybe the 32bit too?) Negligen

[issue21799] Py_SetPath() gives compile error: undefined reference to '__imp_Py_SetPath'

2014-06-22 Thread Pat Le Cat
Pat Le Cat added the comment: Plus the MSVC-2013 compiler warning noted earlier of course: >>Warning: 1>c:\python34\include\pymath.h(22): warning C4273: 'round' : inconsistent dll linkage 1>C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\math.h(516) : see previous definition of

[issue1742205] ZipFile.writestr writes incorrect extended local headers

2014-06-22 Thread Zachary Ware
Changes by Zachary Ware : -- versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker ___ ___ Python-bugs-list m

[issue1742205] ZipFile.writestr writes incorrect extended local headers

2014-06-22 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue21825] Embedding-Python example code from documentation crashes

2014-06-22 Thread Pat Le Cat
New submission from Pat Le Cat: When I comment out the Py_SetPath() function call (Line 56), then the code runs up to the 4th test print and then crashes again, possibly at: "Py_XDECREF(pArgs)" else it crashes at Py_Initalize. The same behavior can be observed under Python 3.4.0 and 3.4.1 and

[issue21825] Embedding-Python example code from documentation crashes

2014-06-22 Thread Pat Le Cat
Pat Le Cat added the comment: Crash Error Window (pic) -- Added file: http://bugs.python.org/file35725/snakes_bug.jpg ___ Python tracker ___ _

[issue21031] [patch] Add AlpineLinux to the platform module's supported distributions list

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: Why has this been set to languishing as it's only three months old? -- nosy: +BreamoreBoy ___ Python tracker ___

[issue6305] islice doesn't accept large stop values

2014-06-22 Thread Alok Singhal
Alok Singhal added the comment: Hi Raymond, Martin, I won't feel bad about this patch not making it into the final Python distribution. I worked on this bug because it was the only "core C" bug at PyCon US sprints for CPython. I learned a bit more about CPython while working on it and I don

[issue21818] cookielib documentation references Cookie module, not cookielib.Cookie class

2014-06-22 Thread Demian Brecht
Changes by Demian Brecht : -- nosy: +dbrecht ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue21714] Path.with_name can construct invalid paths

2014-06-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: > should "path.with_name('foo/')" be allowed? For sanity, I think path separators should be disallowed. -- ___ Python tracker ___ _

[issue21799] Py_SetPath() gives compile error: undefined reference to '__imp_Py_SetPath'

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Your report is difficult to believe, since it would mean that Python 3.4 cannot work at all, for anybody. We would have received hundreds of reports if this was actually true. I just tried again, and it indeed correctly installed python34.dll: C:\>dir c:\Win

[issue6362] multiprocessing: handling of errno after signals in sem_acquire()

2014-06-22 Thread Tumer Topcu
Tumer Topcu added the comment: Looks like the suggested fix is there in v2.7.6: do { Py_BEGIN_ALLOW_THREADS if (blocking && timeout_obj == Py_None) res = sem_wait(self->handle); else if (!blocking) res = sem_trywait(self->handle); else

[issue21799] python34.dll is not installed

2014-06-22 Thread Martin v . Löwis
Changes by Martin v. Löwis : -- title: Py_SetPath() gives compile error: undefined reference to '__imp_Py_SetPath' -> python34.dll is not installed ___ Python tracker ___ __

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2014-06-22 Thread tw.bert
New submission from tw.bert: Preample: This is my first post to the python issue tracker, I included a fix. This issue is probably related to http://bugs.python.org/issue11063 . The problem: After upgrading a package on AIX 7.1 x64 that started using the uuid module, we experienced serious pe

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-06-22 Thread Tal Einat
Tal Einat added the comment: > Note that the proposed patch only manages to replicate the > ID_Start and ID_Continue properties. Is this just because of the mishandling of the Other_ID_Start and Other_ID_Continue properties, or something else as well? I based my code on the definitions in: ht

[issue21799] python34.dll is not installed

2014-06-22 Thread Pat Le Cat
Pat Le Cat added the comment: Ah it installs it in Windows/Sytem32 okay I had no clue, another undocumented behavior :) Still it is missing in the DLLs folder. And you haven't explained the warning under MSVC. And the documentation should be enhanced as I suggested to be more clear.

[issue21799] python34.dll is not installed

2014-06-22 Thread Pat Le Cat
Pat Le Cat added the comment: Well? -- resolution: works for me -> status: closed -> open ___ Python tracker ___ ___ Python-bugs-list

[issue3451] Asymptotically faster divmod and str(long)

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: As issue18107 has been closed as a duplicate of this, should this be moved to open from languishing? -- nosy: +BreamoreBoy, serhiy.storchaka ___ Python tracker _

[issue14156] argparse.FileType for '-' doesn't work for a mode of 'rb'

2014-06-22 Thread Eli Bendersky
Eli Bendersky added the comment: Nosy-ing myself since I just ran into it. Annoying issue that precludes from using argparse's builtin '-' recognition for reading binary data. I'll try to carve some time later to look at the patches. -- nosy: +eli.bendersky versions: +Python 3.3, Pytho

[issue6362] multiprocessing: handling of errno after signals in sem_acquire()

2014-06-22 Thread Tumer Topcu
Tumer Topcu added the comment: Nevermind the last comment (curse of using a loaner laptop), tried again after compiling against the latest repo all works as expected. I believe this issue can be closed. -- ___ Python tracker

[issue17170] string method lookup is too slow

2014-06-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed keeping this issue open wouldn't be very productive since it relates to the more general problem of Python's slow interpretation. -- resolution: -> rejected status: open -> closed ___ Python tracker

[issue21799] python34.dll is not installed

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: The issue you have reported is that python34.dll is not being installed. I closed this report as invalid (and will reclose it again now). That the DLL isn't installed into the DLLs folder is by design: it either installs into system32, or into the DLLs folde

[issue21799] python34.dll is not installed

2014-06-22 Thread Pat Le Cat
Pat Le Cat added the comment: Cheesas you are really making it hard by design to report things to Python. Maybe a bit more common sense could help the project, or should I file a new bug-report for that too? :-/ -- resolution: works for me -> rejected

[issue6362] multiprocessing: handling of errno after signals in sem_acquire()

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks, closing as fixed. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Robert Li
New submission from Robert Li: Failing test case: " \tboo\n \tghost" expected: " \tboo\n\tghost" returns: " \tboo\n \tghost" -- components: Library (Lib) messages: 221277 nosy: pitrou, r.david.murray, robertjli, yjchen priority: normal severity: normal status: open

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2014-06-22 Thread R. David Murray
R. David Murray added the comment: How does this interact with issue 11063? -- nosy: +r.david.murray ___ Python tracker ___ ___ Python

[issue21765] Idle: make 3.x HyperParser work with non-ascii identifiers.

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: I think you are misinterpreting the grammar. Your code declares that U+00B2 (SUPERSCRIPT TWO, ²) is an identifier character. Its category is No, so it is actually not. However, its normalization is U+0032 (DIGIT TWO, 2), which is an identifier character - but

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue8192] SQLite3 PRAGMA table_info doesn't respect database on Win32

2014-06-22 Thread Amadu Durham
Amadu Durham added the comment: Tested in both versions 2.7 and 3.4 this sqlite3 inconsistency has been corrected and no longer exists. -- nosy: +amadu type: -> behavior versions: +Python 2.7, Python 3.4 -Python 2.6 ___ Python tracker

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Confirmed that the test case fails on 2.7, 3.4, and 3.5 -- priority: normal -> high stage: -> needs patch versions: +Python 2.7, Python 3.4 ___ Python tracker _

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: This one isn't hard. Would you like to make a patch? If not, I get to it this evening. -- keywords: +easy ___ Python tracker ___ _

[issue3423] DeprecationWarning message applies to wrong context with exec()

2014-06-22 Thread Zachary Ware
Changes by Zachary Ware : -- resolution: rejected -> versions: +Python 2.7, Python 3.4, Python 3.5 -Python 3.2 ___ Python tracker ___

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread YJ Chen
YJ Chen added the comment: Hi Raymond- Rob and I have a patch ready. We are figuring out how to upload/submit it. New to this... :) -- ___ Python tracker ___ ___

[issue21826] Performance issue (+fix) AIX ctypes.util with no /sbin/ldconfig present

2014-06-22 Thread tw.bert
tw.bert added the comment: Hi David, thank you for looking into this. Issue 11063 starts with "When the uuid.py module is simply imported it has the side effect of forking a subprocess (/sbin/ldconfig) and doing a lot of stuff find a uuid implementation by ctypes.". My fix is specific about so

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Zachary Ware
Changes by Zachary Ware : -- nosy: +zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue8192] SQLite3 PRAGMA table_info doesn't respect database on Win32

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Thanks for the check. -- nosy: +loewis resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue21427] cannot register 64 bit component

2014-06-22 Thread Martin v . Löwis
Martin v. Löwis added the comment: Peter: as it turns out, Uwe actually reported two separate issue. In this tracker, we have a "one issue at a time policy", and I'm relabelling the issue as the one that Uwe initially reported (cannot register 64bit component). So I'm quite certain that *your*

[issue1690201] Added support for custom readline functions

2014-06-22 Thread John Cherian
Changes by John Cherian : -- nosy: +John.Cherian ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue6305] islice doesn't accept large stop values

2014-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: All contributions are subject to final commit review. I looked at the patch and it is a *lot* of code for little benefit. I think the better solution would be an informative error message: "Currently, islice arguments must be less than {} on {}-bit systems".fo

[issue6588] insert cookies into cookie jar - cookielib.py

2014-06-22 Thread SHIRLEY LU
SHIRLEY LU added the comment: Is this issue still relevant? Adding new cookies is supported in the cookiejar.py lib now. There does not seem to be an issue with null version. -- nosy: +shirllu versions: +Python 2.7 -Python 3.2 ___ Python tracker

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Robert Li
Robert Li added the comment: YJ and I are adding a patch and an additional test. -- hgrepos: +258 versions: -Python 2.7, Python 3.4 ___ Python tracker ___ __

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Robert Li
Changes by Robert Li : -- keywords: +patch Added file: http://bugs.python.org/file35727/cb18733ce8f1.diff ___ Python tracker ___ ___ P

[issue20928] xml.etree.ElementInclude does not include nested xincludes

2014-06-22 Thread Blake Hartstein
Blake Hartstein added the comment: This patch incorporates nested includes and a testcase that shows how it handles infinite include by throwing an exception. -- nosy: +urule99 Added file: http://bugs.python.org/file35728/issue20928_fixed.patch ___ P

[issue8630] Keepends param in codec readline(s)

2014-06-22 Thread Jeffrey Falgout
Jeffrey Falgout added the comment: Wrote tests -- hgrepos: +259 nosy: +jeffrey.falgout ___ Python tracker ___ ___ Python-bugs-list mail

[issue8630] Keepends param in codec readline(s)

2014-06-22 Thread Jeffrey Falgout
Changes by Jeffrey Falgout : Added file: http://bugs.python.org/file35729/45139b30afef.diff ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21297] csv.skipinitialspace only skips spaces, not "whitespace" in general

2014-06-22 Thread Andy Almonte
Changes by Andy Almonte : -- nosy: +Andy.Almonte ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue11974] Class definition gotcha.. should this be documented somewhere?

2014-06-22 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Zachary Ware
Zachary Ware added the comment: Raymond confirmed that the issue exists on 2.7 and 3.4, so we'll keep those in the version list. Whoever makes the commit will take care of backporting the patch, though. -- versions: +Python 2.7, Python 3.4 ___ Pyth

[issue3353] make built-in tokenizer available via Python C API

2014-06-22 Thread Andrew C
Andrew C added the comment: The previously posted patch has become outdated due to signature changes staring with revision 89f4293 on Nov 12, 2009. Attached is an updated patch. Can it also be confirmed what are the outstanding items for this patch to be applied? Based on the previous logs i

[issue3353] make built-in tokenizer available via Python C API

2014-06-22 Thread Andrew C
Changes by Andrew C : Added file: http://bugs.python.org/file35730/82706ea73ada.diff ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue21827] textwrap.dedent() fails when largest common whitespace is a substring of smallest leading whitespace

2014-06-22 Thread Robert Li
Changes by Robert Li : Added file: http://bugs.python.org/file35731/34e88a05562f.diff ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue15045] Make textwrap.dedent() consistent with str.splitlines(True) and str.strip()

2014-06-22 Thread YJ Chen
Changes by YJ Chen : -- nosy: +robertjli, yjchen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue3423] DeprecationWarning message applies to wrong context with exec()

2014-06-22 Thread Michael Wu
Changes by Michael Wu : Removed file: http://bugs.python.org/file35732/testfile.py ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue3423] DeprecationWarning message applies to wrong context with exec()

2014-06-22 Thread Michael Wu
Michael Wu added the comment: I ran the examples in this thread with Python 3.5, and it appears to print out the correct line that exec() occurs on (http://codepad.org/M5CevRwT). It might be time to close this issue. -- nosy: +Michael.Wu Added file: http://bugs.python.org/file35732/tes

[issue15983] multiprocessing JoinableQueue's join function with timeout

2014-06-22 Thread Tumer Topcu
Changes by Tumer Topcu : -- nosy: +tumert, zach.ware ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue15851] Lib/robotparser.py doesn't accept setting a user agent string, instead it uses the default.

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: The code given in msg183579 works perfectly in 3.4.1 and 3.5.0. Is there anything to fix here whether code or docs? -- nosy: +BreamoreBoy ___ Python tracker __

[issue17594] mingw: preset configure defaults

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: Can someone comment on this please as I know nothing about the build system or mingw. -- nosy: +BreamoreBoy ___ Python tracker ___ _

[issue9341] allow argparse subcommands to be grouped

2014-06-22 Thread paul j3
paul j3 added the comment: This patch accomplishes this task by adding a _PseudoGroup class to _SubParsersAction. It's like the _ChoicesPseudoAction except that it maintains its own _choices_actions list. It takes advantage of the fact that formatter._format_actions is recursive when it com

[issue15178] Doctest should handle situations when test files are not readable

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: @David can you pick this up given your previous involvement? -- nosy: +BreamoreBoy ___ Python tracker ___ ___

[issue9740] Support for HTTP 1.1 persistent connections throughout the standard library

2014-06-22 Thread V. Kumar
V. Kumar added the comment: Verified that Persistent Connections per HTTP 1.1 spec is already implemented and working correctly. See: http://hg.python.org/cpython/file/3f3de8c47ff8/Lib/http/client.py#l432 Also, tested this in packet sniffer to verify that connection is being reused. But the s

[issue7283] test_site failure when .local/lib/pythonX.Y/site-packages hasn't been created yet

2014-06-22 Thread YJ Chen
YJ Chen added the comment: Works for 3.4 and 3.5 but could not successfully run test on 2.7. Error: == FAIL: test_getsitepackages (test.test_site.HelperFunctionsTests)

[issue2213] build_tkinter.py does not handle paths with spaces

2014-06-22 Thread Mark Lawrence
Mark Lawrence added the comment: I've seen several comments recently about the workaround to this problem being "don't put spaces in paths on Windows", so can we close this as "won't fix"? -- nosy: +BreamoreBoy ___ Python tracker

  1   2   >