[issue9856] Change object.__format__(s) where s is non-empty to a TypeError

2013-02-15 Thread Ankur Ankan
Changes by Ankur Ankan : -- nosy: +Ankur.Ankan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

[issue16991] Add OrderedDict written in C

2013-02-15 Thread Eric Snow
Eric Snow added the comment: I should clarify, odict.diff passes test_ordereddict. Regardless, it's pretty close. I'm going to figure out why the review link hates me on this issue, but until then any extra eyes here would be appreciated. The memory-related issues are pushing well past my e

[issue16991] Add OrderedDict written in C

2013-02-15 Thread Eric Snow
Changes by Eric Snow : Removed file: http://bugs.python.org/file29083/cleanup-test-collections.diff ___ Python tracker ___ ___ Python-bugs-lis

[issue16991] Add OrderedDict written in C

2013-02-15 Thread Eric Snow
Changes by Eric Snow : Added file: http://bugs.python.org/file29083/cleanup-test-collections.diff ___ Python tracker ___ ___ Python-bugs-list

[issue17188] Document 'from None' in raise statement doc.

2013-02-15 Thread Nick Coghlan
Nick Coghlan added the comment: As Terry notes, the various pieces of "from None" documentation should also have a nearby directive like: .. versionchanged: 3.3 :const:`None` permitted as ``Y`` in ``raise X from Y`` .. versionadded: 3.3 The ``__suppress_context__`` attribute to suppre

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2013-02-15 Thread Daniel Colascione
New submission from Daniel Colascione: Suppose we're running a Python program in an environment where PATH contains a directory that contains msvcr90.dll version A and that python27.exe is manifested to use msvcr90.dll version B, which is available in the SxS store but not on PATH. Normally,

[issue16991] Add OrderedDict written in C

2013-02-15 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue17179] Misleading error from type() when passing unknown keyword argument

2013-02-15 Thread Nick Coghlan
Nick Coghlan added the comment: The types.new_class docs are quite clear that the supplied keyword arguments are equivalent to those provided in the type header (if you want to pre-populate the namespace, that's what exec_body is for). The problem here is that the dual signature of type (retri

[issue1615] descriptor protocol bug

2013-02-15 Thread Eric Snow
Eric Snow added the comment: Got bit by a variation of this today in 2.7: class Spam(object): def __getattr__(self, attr): raise AttributeError(attr) @property def eggs(self): return self.ham s = Spam() s.eggs Traceback (most recent call last): File "", line 1, in

[issue17206] Py_XDECREF() expands its argument multiple times

2013-02-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: I wish we could use inline functions... -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Py

[issue17172] Add turtledemo to IDLE menu

2013-02-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: Because turtledemo doesn't have a main() function. I moved the code under 'if __name__ == "__main__"' into a main() function. -- ___ Python tracker __

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-02-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: I have set it to "Ubuntu", which supports the Unicode characters. Maybe Tkinter doesn't work properly with all the fonts. On 16 February 2013 01:57, Terry J. Reedy wrote: > > Terry J. Reedy added the comment: > > The characters tk can render depends on the fo

[issue1285086] urllib.quote is too slow

2013-02-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue1285086] urllib.quote is too slow

2013-02-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: > Serhiy Storchaka added the comment: >> >> + append = res.append >> >> And then use 'append'? > > This speed up unquote_to_bytes by 15%. Thanks for the response. In fact, writing the whole _hextobyte verbatim would further increase the speed, but that would be

[issue17206] Py_XDECREF() expands its argument multiple times

2013-02-15 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue17192] libffi-3.0.12 import

2013-02-15 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: However internal copy of expat was updated in 2.7 and 3.2 branches about 2 weeks ago (issue #14340). -- ___ Python tracker ___

[issue14373] C implementation of functools.lru_cache

2013-02-15 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue12226] use HTTPS by default for uploading packages to pypi

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: CVE-2013-1754 Man-in-the-middle vulnerability in package upload feature of Python's distutils -- nosy: +christian.heimes ___ Python tracker

[issue16043] xmlrpc: gzip_decode has unlimited read()

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: CVE-2013-1753 gzip bomb and unbound read DoS vulnerabilities in Python's xmlrpc library -- ___ Python tracker ___ ___

[issue16042] smtplib: unlimited readline() from connection

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: Oh, next time I should read my own patch and responses first ... ;) -- ___ Python tracker ___ ___

[issue16042] smtplib: unlimited readline() from connection

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib -- ___ Python tracker ___ _

[issue16042] smtplib: unlimited readline() from connection

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: RFC 2821 says: command line The maximum total length of a command line including the command word and the is 512 characters. SMTP extensions may be used to increase this limit. reply line The maximum total length of a reply lin

[issue16389] re._compiled_typed's lru_cache causes significant degradation of the mako_v2 bench

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: For 3.4 #14373 might solve the issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue16041] poplib: unlimited readline() from connection

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib -- ___ Python tracker ___ _

[issue16040] nntplib: unlimited readline() from connection

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib -- ___ Python tracker ___ _

[issue16039] imaplib: unlimited readline() from connection

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib -- ___ Python tracker ___ _

[issue16038] ftplib: unlimited readline() from connection

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib -- ___ Python tracker ___ _

[issue16037] httplib: header parsing is not delimited

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib -- ___ Python tracker ___ _

[issue16039] imaplib: unlimited readline() from connection

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: RFC 3501 and 2060 (IMAP 4rev1) don't specify a line length RFC 2683 says: A client should limit the length of the command lines it generates to approximately 1000 octets. For its part, a server should allow for a command line of at least 8000 octets

[issue16389] re._compiled_typed's lru_cache causes significant degradation of the mako_v2 bench

2013-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since switching from a simple custom cache to the generalized lru cache made a major slowdown, I think the change should be reverted. A dict + either occasional clearing or a circular queue and a first-in, first-out discipline is quite sufficient. There is no

[issue9369] const char* for PyObject_CallMethod and PyObject_CallFunction

2013-02-15 Thread Lars Buitinck
Lars Buitinck added the comment: I'm sorry, I really don't understand this refcounts.dat file and I'm not going to hack it further. Does the patch as it currently stands solve the issue with CallMethod and CallFunction, or not? (It has the changes to the docs.) --

[issue16040] nntplib: unlimited readline() from connection

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: RFC 3977 specifies: Command lines MUST NOT exceed 512 octets, which includes the terminating CRLF pair. However NNTP also have multi-line data blocks. The RFC says nothing about the maximum length of a data line. We may need two limits here, one for comm

[issue16041] poplib: unlimited readline() from connection

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: RFC 1939 says: Responses in the POP3 consist of a status indicator and a keyword possibly followed by additional information. All responses are terminated by a CRLF pair. Responses may be up to 512 characters long, including the terminating CRLF.

[issue17212] os.path.isfile() in Python 3.3 sometimes fails

2013-02-15 Thread G. Poore
New submission from G. Poore: os.path.isfile() sometimes incorrectly reports that a file does not exist under Python 3.3 (only tested under Windows). This may be encoding related. The issue only appears under a very particular set of circumstances; see comments in the attached script. The a

[issue17202] Add .bat line to .hgeol

2013-02-15 Thread Zachary Ware
Zachary Ware added the comment: > This seems to suggest that CRLF shouldn't be necessary. It's not necessary on .bat files without labels, but those with labels are subject to the (Windows) bug described in my first message and link. Adding an entry specifically for Doc/make.bat and any other

[issue17193] Use binary prefixes

2013-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that we should contribute to ending the confusion. Searching KiB, MiB, GiB (with Google) gives a Wikipedia article as first or second hit, so the meanings of the abbreviations and terms are easily discoverable. -- nosy: +terry.reedy __

[issue17183] Small enhancements to Lib/_markupbase.py

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: I would still do a benchmark, for these reasons: 1) IIRC rawdata might be the whole document (or at least everything that has not been parsed yet); 2) the '>' is very likely to be found; This situation is fairly different from the one presented in #17170, where t

[issue17187] Python segfaults from improperly formed and called function

2013-02-15 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-02-15 Thread Ned Deily
Ned Deily added the comment: Serhiy, I'm aware of that; regardless, Tk 8.6 is starting to be used out in the field with tkinter. -- ___ Python tracker ___ __

[issue17183] Small enhancements to Lib/_markupbase.py

2013-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Enhancement' issues are for visible behavior additions (or occasionally, changes). This is intended to be an invisible small speedup, hence it is a 'performance' issue, and gets a different title. As explained in #17170, the change will not be a speedup if th

[issue17202] Add .bat line to .hgeol

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: **.bat used to be there, but it was removed in 1762d79eab65. I have a very faint memory of some discussion about bat files and EOLs, but the best I could find was: http://mail.python.org/pipermail/python-dev/2012-May/119220.html http://mail.python.org/pipermail/p

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-02-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Tkinter is not compatible with Tcl/Tk 8.6 yet (issue16809). -- ___ Python tracker ___ ___ Python-b

[issue17202] Add .bat line to .hgeol

2013-02-15 Thread Dirkjan Ochtman
Changes by Dirkjan Ochtman : -- nosy: +georg.brandl, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-02-15 Thread Ned Deily
Ned Deily added the comment: Also, there are differences in behavior among the various flavors of Tk. I know of at least four main flavors in use by current Python builds: Unix X11-based Tk 8.5, Windows Tk 8.5, OS X Cocoa Tk 8.5, OS X Carbon Tk 8.4. Some third-party distributors are startin

[issue17209] get_wch() doesn't handle KeyboardInterrupt

2013-02-15 Thread Ned Deily
Changes by Ned Deily : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/m

[issue17202] Add .bat line to .hgeol

2013-02-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +djc, ezio.melotti, loewis stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Py

[issue17183] Small enhancements to Lib/_markupbase.py

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: We should add some benchmarks to see if there is any difference between the two forms. -- ___ Python tracker ___

[issue17178] Clarify empty iterable result in any/all.__doc__, as in manual

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python -> ezio.melotti components: +Documentation -Interpreter Core nosy: +ezio.melotti resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed __

[issue17178] Clarify empty iterable result in any/all.__doc__, as in manual

2013-02-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f7eec78569c by Ezio Melotti in branch '2.7': #17178: update any()/all() docstrings to document their behavior with empty iterables. Patch by Ankur Ankan. http://hg.python.org/cpython/rev/0f7eec78569c New changeset 1d4849f9e37d by Ezio Melotti in

[issue17193] Use binary prefixes

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: +1 I left some comments on Rietveld. The SI standard says that there should be a space between the value and the unit, and I agree that while a no-break space would be better, a regular space is still better than no space at all. Applying this on 3.3 and default

[issue17178] Clarify empty iterable result in any/all.__doc__, as in manual

2013-02-15 Thread Ankur Ankan
Changes by Ankur Ankan : Added file: http://bugs.python.org/file29081/patch.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue17188] Document 'from None' in raise statement doc.

2013-02-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +benjamin.peterson, ezio.melotti type: -> enhancement ___ Python tracker ___ ___ P

[issue17179] Incorrect use of type function in types.new_class

2013-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: As far as I know, currently, the only valid 'keyword' argument for a class statement is 'metaclass' and that is so advanced that it is not mentioned in *8.7. Class definitions* but only in the linked section *3.3.3. Customizing class creation*. The types.newcl

[issue17178] Clarify empty iterable result in any/all.__doc__, as in manual

2013-02-15 Thread Ankur Ankan
Changes by Ankur Ankan : Removed file: http://bugs.python.org/file29080/patch.diff ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue15606] re.VERBOSE whitespace behavior not completely documented

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: See also #17184. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue17184] re.VERBOSE doesn't respect whitespace in '( ?P...)'

2013-02-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> re.VERBOSE whitespace behavior not completely documented versions: +Python 3.2, Python 3.3, Python 3.4 ___ Python tracker

[issue17178] Clarify empty iterable result in any/all.__doc__, as in manual

2013-02-15 Thread Ankur Ankan
Changes by Ankur Ankan : -- keywords: +patch Added file: http://bugs.python.org/file29080/patch.diff ___ Python tracker ___ ___ Python

[issue17176] Document imp.NullImporter is NOT used anymore by import

2013-02-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mai

[issue17177] Document/deprecate imp

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: If you move them to importlib and just leave an alias in imp, you should still add a DeprecationWarning IMHO, even if you plan to remove them in Python 4. -- ___ Python tracker

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: The font used shouldn't affect the errors. Usually if a glyph is missing in the current font, either a placeholder (usually a box) is showed instead or the missing glyph is taken from another font (if possible). If you still want to do some tests, you can take

[issue17178] Clarify empty iterable result in any/all.__doc__, as in manual

2013-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Titles should fit in the box if possible, and this can ;-). -- nosy: +terry.reedy title: In all.__doc__ and any.__doc__ need to clarify the behaviour with an empty iterable like in documentation -> Clarify empty iterable result in any/all.__doc__, as i

[issue17208] add note/warning about daemon threads

2013-02-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Committed. -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue17208] add note/warning about daemon threads

2013-02-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8753a3be4a3c by Antoine Pitrou in branch '3.2': Issue #17208: add a note about the termination behaviour of daemon threads. http://hg.python.org/cpython/rev/8753a3be4a3c New changeset 917ae89e59ce by Antoine Pitrou in branch '3.3': Issue #17208: add

[issue17177] Document/deprecate imp

2013-02-15 Thread Brett Cannon
Brett Cannon added the comment: I would probably document the deprecation but otherwise leave it alone at the module level. Considering I only documented imp.find_module() and .load_module() as documented thanks to their funky interfaces making nearly impossible to do a direct translation I do

[issue17208] add note/warning about daemon threads

2013-02-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset e63c4bc81d9f by Antoine Pitrou in branch '2.7': Issue #17208: add a note about the termination behaviour of daemon threads. http://hg.python.org/cpython/rev/e63c4bc81d9f -- nosy: +python-dev ___ Python tr

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-02-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: The characters tk can render depends on the font you tell it to use. On my Windows IDLE, I have Options Font Face set to Lucida Sans Unicode, though I am not sure what has the widest coverage. This page https://www.microsoft.com/typography/fonts/font.aspx?FMID=

[issue17177] Document/deprecate imp

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: > Basically I need to figure out what imp's role is supposed to be in the face > of importlib. If it's not even clear for you, even if you eventually figure that out, having two import-related modules is likely to be confusing for users. OTOH deprecating/removin

[issue17175] update PEP 430

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: docs@python -> ezio.melotti nosy: +ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed type: -> enhancement ___ Python tracker

[issue8040] documentation pages should link to other versions of the same page

2013-02-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset f306777e0b6d by Ezio Melotti in branch 'default': #17175: remove outdated paragraph about issue #8040 from PEP 430. Patch by Tshepang Lekhonkhobe. http://hg.python.org/peps/rev/f306777e0b6d -- ___ Pytho

[issue17175] update PEP 430

2013-02-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset f306777e0b6d by Ezio Melotti in branch 'default': #17175: remove outdated paragraph about issue #8040 from PEP 430. Patch by Tshepang Lekhonkhobe. http://hg.python.org/peps/rev/f306777e0b6d -- nosy: +python-dev ___

[issue17143] trace.py uses _warn without importing it

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: The windows buildbots are failing with the following error: ERROR: test_deprecated_find_strings (test.test_trace.TestDeprecatedMethods) -- Traceback (most recent call last): File "C:\buildbot.pyt

[issue17172] Add turtledemo to IDLE menu

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: I left a comment in rietveld. > I hope the File menu is the right place for this. I think that's the best place where to put it. > I had to move the code in Lib/turtledemo.py after "if __name__ ==..." into > main(). Why? > Should this be added to Lib/idlelib/

[issue17143] trace.py uses _warn without importing it

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the report and the patch! I changed a couple of things: 1) test_deprecated_usage was printing the usage on stderr while running the tests -- I changed it to use a StringIO and added a minimal test to check that the usage is actually written; 2)

[issue17143] trace.py uses _warn without importing it

2013-02-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3f8b5fcbf07e by Ezio Melotti in branch '3.3': #17143: fix a missing import in the trace module. Initial patch by Berker Peksag. http://hg.python.org/cpython/rev/3f8b5fcbf07e New changeset 46e9f668aea9 by Ezio Melotti in branch 'default': #17143: m

[issue17178] In all.__doc__ and any.__doc__ need to clarify the behaviour with an empty iterable like in documentation

2013-02-15 Thread Ankur Ankan
Ankur Ankan added the comment: I guess I have found it. It's bltinmodule.c . -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue17178] In all.__doc__ and any.__doc__ need to clarify the behaviour with an empty iterable like in documentation

2013-02-15 Thread Ankur Ankan
Ankur Ankan added the comment: I am a beginner and want to write the patch for this issue, so please help me find the right C file. Thanks. -- nosy: +Ankur.Ankan ___ Python tracker

[issue6784] byte/unicode pickle incompatibilities between python2 and python3

2013-02-15 Thread Florent Xicluna
Changes by Florent Xicluna : -- nosy: +flox ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue17177] Document/deprecate imp

2013-02-15 Thread Brett Cannon
Brett Cannon added the comment: Checking with the other VMs wouldn't benefit anyone. They still have to implement whatever is necessary from _imp in order for importlib to work. Otherwise it's just another stdlib module. -- ___ Python tracker

[issue979407] urllib2 digest auth totally broken

2013-02-15 Thread Senthil Kumaran
Senthil Kumaran added the comment: let me check that. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue17167] python man page contains $Date$ in page footer

2013-02-15 Thread Éric Araujo
Éric Araujo added the comment: Agreed with Ned, this sounds like a job for the release script to me. I think we avoid manual edition of dates in the HTML docs thanks to Sphinx; we could generate the man page with Sphinx too (if there were enough advantages than just this issue). -- no

[issue17177] Document/deprecate imp

2013-02-15 Thread Éric Araujo
Éric Araujo added the comment: I’ve always perceived imp as an implementation detail of the import system that people were sometimes forced to use to get to some things. Now that we have importlib, deprecating (with a nice long compatibility-with-warnings period) sounds good. Would checking

[issue17178] In all.__doc__ and any.__doc__ need to clarify the behaviour with an empty iterable like in documentation

2013-02-15 Thread Éric Araujo
Éric Araujo added the comment: If someone wants to write the patch for this, feel free to ask (here or on the core-mentorship friendly mailing list) if you need help finding the right C file or anything else. -- components: +Interpreter Core -Documentation keywords: +easy nosy: +eric.a

[issue16525] wave file module does not support 32bit float format

2013-02-15 Thread Harvey Ormston
Harvey Ormston added the comment: I see that this issue applies to Python 3.4. Nevertheless, I am now using the submitted patch (http://bugs.python.org/file28122/wave_float_issue16525.patch) with Python 2.7. I find that the patched module fails when calling getwavformat(), becuase the _wavfor

[issue17167] python man page contains $Date$ in page footer

2013-02-15 Thread Ezio Melotti
Changes by Ezio Melotti : -- keywords: +easy nosy: +ezio.melotti type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailin

[issue17163] Fix test discovery for test_file.py

2013-02-15 Thread Ezio Melotti
Ezio Melotti added the comment: Fixed, thanks for the patch! -- assignee: -> ezio.melotti resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker _

[issue17163] Fix test discovery for test_file.py

2013-02-15 Thread Roundup Robot
New submission from Roundup Robot: New changeset 9b3c5085b4a4 by Ezio Melotti in branch '3.3': #17163: test_file now works with unittest test discovery. Patch by Zachary Ware. http://hg.python.org/cpython/rev/9b3c5085b4a4 New changeset f289e40b3d70 by Ezio Melotti in branch 'default': #17163:

[issue16991] Add OrderedDict written in C

2013-02-15 Thread Eric Snow
Eric Snow added the comment: > Why did you copy test_collections.py instead of just creating > a new file? To preserve the history of changes to the bulk of the code in test_ordereddict.py. -- ___ Python tracker

[issue6497] Support for digital Cinema/film DPX and Kodak Cineon image file formats in imghdr module

2013-02-15 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file14520/unnamed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue6426] imaplib.IMAP4 "command illegal in this state" is unhelpful error message

2013-02-15 Thread R. David Murray
R. David Murray added the comment: The issue 1605192 fix was applied to 2.7. -- nosy: +r.david.murray resolution: -> duplicate stage: needs patch -> committed/rejected status: open -> closed superseder: -> Make Imap Error more helpful ___ Python tra

[issue16991] Add OrderedDict written in C

2013-02-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: Why did you copy test_collections.py instead of just creating a new file? -- ___ Python tracker ___ _

[issue7145] UTF-16 BOM is not written by socket.makefile (but is expected by read)

2013-02-15 Thread Antoine Pitrou
Antoine Pitrou added the comment: Indeed, I would suggest won't fix. -- resolution: -> wont fix status: pending -> closed ___ Python tracker ___ _

[issue17211] pkgutil.iter_modules and walk_packages should return a namedtuple

2013-02-15 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +brett.cannon, ncoghlan ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue17211] pkgutil.iter_modules and walk_packages should return a namedtuple

2013-02-15 Thread R. David Murray
Changes by R. David Murray : -- versions: -Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue17211] pkgutil.iter_modules and walk_packages should return a namedtuple

2013-02-15 Thread Ramchandra Apte
New submission from Ramchandra Apte: Will attach a patch soon. -- components: Library (Lib) messages: 182143 nosy: Ramchandra.Apte priority: normal severity: normal status: open title: pkgutil.iter_modules and walk_packages should return a namedtuple type: enhancement versions: Python 3.

[issue17179] Incorrect use of type function in types.new_class

2013-02-15 Thread Ramchandra Apte
Changes by Ramchandra Apte : -- type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

[issue17179] Incorrect use of type function in types.new_class

2013-02-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: @Daniel Urban Me too. -- nosy: +Ramchandra.Apte ___ Python tracker ___ ___ Python-bugs-list mailing

[issue13153] IDLE crashes when pasting non-BMP unicode char on Py3

2013-02-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: @Ned Deily Tk, at least on my system, doesn't render Unicode characters, even within BMP correctly but the characters are kept (cut-and-paste works correctly) What you mean by "support". -- nosy: +Ramchandra.Apte __

[issue17210] documentation of PyUnicode_Format() states wrong argument type requirements

2013-02-15 Thread Stefan Behnel
New submission from Stefan Behnel: The current documentation says: """ PyObject* PyUnicode_Format(PyObject *format, PyObject *args) Return value: New reference. Return a new string object from format and args; this is analogous to format % args. The args argument must be a tuple. """

[issue17201] Use allowZip64=True by default

2013-02-15 Thread Ramchandra Apte
Ramchandra Apte added the comment: LGTM. -- nosy: +Ramchandra.Apte ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue16043] xmlrpc: gzip_decode has unlimited read()

2013-02-15 Thread Christian Heimes
Christian Heimes added the comment: +1 for a keyword argument I also have to add a limit to GzipDecodedResponse(). Python 2.6 and 3.1 are not affected by the issue. The problematic code was added in 2.7 and 3.2. -- ___ Python tracker

  1   2   >