[issue10042] total_ordering stack overflow

2010-10-07 Thread Francesco Ricciardi
New submission from Francesco Ricciardi francesco.riccia...@hp.com: Tested with version 3.2a2. Not tested on version 2.7. The current implementation of functools.total_ordering generates a stack overflow because it implements the new comparison functions with inline operator, which the Python

[issue10042] total_ordering stack overflow

2010-10-07 Thread Francesco Ricciardi
Francesco Ricciardi francesco.riccia...@hp.com added the comment: Attached there is a solution of the problem, by implementing each comparison only with the class __xx__ and __eq__ operators. Also in the file there is a complete test suite for it. -- Added file: http://bugs.python.org

[issue4621] zipfile returns string but expects binary

2008-12-10 Thread Francesco Ricciardi
New submission from Francesco Ricciardi [EMAIL PROTECTED]: Each entry of a zip file, as read by the zipfile module, can be accessed via a ZipInfo object. The filename attribute of ZipInfo is a string. However, the read method of a ZipFile object expects a binary as argument, or at least

[issue4621] zipfile returns string but expects binary

2008-12-17 Thread Francesco Ricciardi
Francesco Ricciardi francesco.riccia...@hp.com added the comment: If that is what is requested, then the manual entry for ZipFile.read must be corrected, because it states: ZipFile.read(name[, pwd]) name is the name of the file in the archive, or a ZipInfo object. However, Eddie, you

[issue7683] Wrong link in HTML documentation

2010-01-12 Thread Francesco Ricciardi
New submission from Francesco Ricciardi francesco.riccia...@hp.com: The first page of the Python Tutorial in version 3.1 (http://docs.python.org/3.1/tutorial/index.html) has the previous topic link pointing to What’s New in Python 2.0 instead of What’s New in Python 3.1. -- assignee

[issue7683] Wrong link in HTML documentation

2010-01-12 Thread Francesco Ricciardi
Francesco Ricciardi francesco.riccia...@hp.com added the comment: As written in the description, it should point to the What's New in Python 3.1 page, shouldn't it? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7683

[issue7690] Wrong PEP number in importlib module manual page

2010-01-13 Thread Francesco Ricciardi
New submission from Francesco Ricciardi francesco.riccia...@hp.com: At the end of section 2.9.1 of the Library Reference, i.e. the introduction to the importlib module manual page, there is the See Also box that often we can find in the manual pages. The last PEP of the box has the title

[issue10042] total_ordering

2011-04-20 Thread Francesco Ricciardi
Francesco Ricciardi francescor2...@yahoo.it added the comment: I think the whole issue is indeed how NotImplemented is treated. To me saying that 'not NotImplemented' is True is wrong. About the stack overflow I found there are various possible fixes, however none will nice. By definition

[issue10042] total_ordering

2011-04-21 Thread Francesco Ricciardi
Francesco Ricciardi francescor2...@yahoo.it added the comment: On the one hand, it's not just a matter of total_ordering and rich comparison operators, because all user defined operators may return NotImplemented when they get types that they don't know how to handle. On the other hand

[issue38198] Attributes of pathlib classes are not indexed in Windows help file

2019-09-17 Thread Francesco Ricciardi
New submission from Francesco Ricciardi : Attributes of pathlib classes (e.g. 'stem' or 'root') cannot be searched for in Python Windows help file index. -- assignee: docs@python components: Documentation messages: 352630 nosy: docs@python, francescor priority: normal severity: normal