[issue23779] imaplib authenticate raises TypeError if authenticator tries to abort

2015-03-30 Thread Berker Peksag
Berker Peksag added the comment: Thanks for the report and the patch, Craig. Could you convert your reproducer to a test case? imaplib tests are located in Lib/test/test_imaplib.py. -- nosy: +berker.peksag versions: +Python 3.5 ___ Python tracker

[issue23663] Crash on failure in ctypes on Cygwin

2015-03-30 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> PyErr_Format in ctypes uses invalid parameter type: crash -> behavior ___ Python tracker

[issue5714] http.server._url_collapse_path should live elsewhere

2015-03-30 Thread Martin Panter
Changes by Martin Panter : -- nosy: +vadmium ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue23338] PyErr_Format in ctypes uses invalid parameter

2015-03-30 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +amaury.forgeotdarc, belopolsky, meador.inge stage: -> patch review type: crash -> behavior versions: +Python 3.4, Python 3.5 -Python 3.6 ___ Python tracker

[issue11344] Add os.path.splitpath(path) function

2015-03-30 Thread Martin Panter
Martin Panter added the comment: I think my use cases of splitpath() could be fulfilled by using Path.parts, Path.anchor, Path.relative_to(), etc. I am a bit sad that this never made it in, but I agree it is redundant with pathlib, and the issue should probably be closed. --

[issue23484] SemLock acquire() keyword arg 'blocking' is invalid

2015-03-30 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag type: behavior -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue23779] imaplib authenticate raises TypeError if authenticator tries to abort

2015-03-30 Thread Craig Holmquist
Craig Holmquist added the comment: New patch is attached. -- Added file: http://bugs.python.org/file38749/imap_auth2.patch ___ Python tracker ___

[issue23729] Import ElementTree documentation for namespaces and XPath

2015-03-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 28b778b0a132 by Raymond Hettinger in branch '3.4': Issue #23729: Improve docs for ElementTree namespace parsing https://hg.python.org/cpython/rev/28b778b0a132 -- ___ Python tracker

[issue23729] Import ElementTree documentation for namespaces and XPath

2015-03-30 Thread Roundup Robot
Roundup Robot added the comment: New changeset 051cf1aa6288 by Raymond Hettinger in branch '2.7': Issue #23729: Improve docs for ElementTree namespace parsing https://hg.python.org/cpython/rev/051cf1aa6288 -- ___ Python tracker

[issue23729] Import ElementTree documentation for namespaces and XPath

2015-03-30 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue23088] Document that PyUnicode_AsUTF8() returns a null-terminated string

2015-03-30 Thread Martin Panter
Martin Panter added the comment: utf8-null.v4.patch: * Clarified some mentions of “string” and “character” as bytes or code points * Copied the warning about embedded nulls to PyUnicode_AS_UNICODE() -- Added file: http://bugs.python.org/file38750/utf8-null.v4.patch

[issue21085] compile error Python3.3 on Cygwin

2015-03-30 Thread Masayuki Yamamoto
Masayuki Yamamoto added the comment: New patch uses configure script to set the compile condition for struct_siginfo.si_band. The script was generated from configure.ac using autoreconf. Could you make sure of having the si_band in another platform? -- Added file: http://bugs.python.o

[issue23411] Update urllib.parse.__all__

2015-03-30 Thread Martin Panter
Martin Panter added the comment: urllib.parse-all.v2.patch removes indentation from a blank line and merges recent changes to avoid a potential conflict. -- Added file: http://bugs.python.org/file38751/urllib.parse-all.v2.patch ___ Python tracker

[issue23796] BufferedReader.peek() crashes if closed

2015-03-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: serhiy.storchaka -> berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue23602] Implement __format__ for Fraction

2015-03-30 Thread Tuomas Suutari
Tuomas Suutari added the comment: On 30 March 2015 at 13:49, Stefan Krah wrote: > Regarding Decimal: > > 1) The context precision isn't used for formatting. If you have > another reason for proposing the optional context argument for > dec_format(), please open another issue. Yes, c

[issue16991] Add OrderedDict written in C

2015-03-30 Thread Eric Snow
Eric Snow added the comment: I've opened a feature clone to better track the work (features/cordereddict). Here's the updated patch against default from that clone. I haven't added any argument client stuff. I also haven't addressed any of the feedback from Antoine. I'd rather leave Ordere

[issue16991] Add OrderedDict written in C

2015-03-30 Thread Eric Snow
Eric Snow added the comment: s/argument client/Argument Clinic/ -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue22609] Constructors of some mapping classes don't accept `self` keyword argument

2015-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your review Berker. > Is there a reason not to use assertWarnsRegex? Initially the patch was written for 2.7. Fixing WeakValueDictionary in 2.7 needs first fix UserDict (issue22958). That is why I returned to this issue. > Also, there are alre

[issue23602] Implement __format__ for Fraction

2015-03-30 Thread Martin Panter
Martin Panter added the comment: I understand double rounding to mean incorrectly rounding something like 0.14 up to 0.2. It should be rounded once to 1 decimal place (0.1). If you temporarily round it to a higher number of places before rounding to 1 place, you’re doing it wrong. So you m

[issue23411] Update urllib.parse.__all__

2015-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I think it would be safer not commit this patch in 3.4 and 2.7. The patch LGTM. -- ___ Python tracker ___

[issue23088] Document that PyUnicode_AsUTF8() returns a null-terminated string

2015-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The patch LGTM, but someone other should look on it. David, could you please make a look? -- nosy: +r.david.murray ___ Python tracker ___ ___

[issue19176] DeprecationWarning for doctype() method when subclassing _elementtree.XMLParser

2015-03-30 Thread Martin Panter
Martin Panter added the comment: The difference of calling XMLParser.doctype() between the implementations is another argument for removing it completely. With all these bugs, and no opposition that I know of, I think it should be okay to remove the deprecated doctype() method in 3.5. doctype

[issue2211] Cookie.Morsel interface needs update

2015-03-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you David, all LGTM. I noted that the :func: role sometimes is used for methods in the whatsnew file (and perhaps in other rst files). Perhaps it should be changed to :meth:. But this is other issue. -- ___

[issue19176] DeprecationWarning for doctype() method when subclassing _elementtree.XMLParser

2015-03-30 Thread Martin Panter
Martin Panter added the comment: inherit-doctype.v2.patch inverts the logic in the C module. This patch may still be useful if people want to apply it to 3.4, or do not want to remove the deprecated method from 3.5. -- Added file: http://bugs.python.org/file38756/inherit-doctype.v2.pat

<    1   2