[issue41030] Provide toList() method on iterators (`list()` is a flow killer in REPL)

2020-06-19 Thread Julien Edmond René Harbulot
Julien Edmond René Harbulot added the comment: Consider how easy in the REPL it is to hit `up arrow` and then append code to the previously entered command, compared to having to move the cursor back in the command to edit it somewhere in the middle. Simulated REPL session: ``` dir.iterdir

[issue41030] Provide toList() method on iterators (`list()` is a flow killer in REPL)

2020-06-19 Thread Julien Edmond René Harbulot
New submission from Julien Edmond René Harbulot : I work with python in the REPL or jupyter notebooks for my data science work and often find myself needing to explore data structures or directories on disk. So I'll access these data structure in a linear "go-forward" fashion

[issue30752] Basic subtraction is wrong ( 1.83 - 1.52 == 0.31000000000000005)

2017-06-25 Thread René Podlogar
New submission from René Podlogar: My Python-Installations Python 2.7.12, Python 3.4.5 @linux64 and the CLI on the python.org-Website (interactive shell) affected: Python 3.6.0 (default, Jan 13 2017, 00:00:00) [GCC 4.8.4] on linux Type "help", "copyright", "credi

[issue30516] Documentation for datetime substract operation incorrect?

2017-05-30 Thread René Hernández Remedios
New submission from René Hernández Remedios: In the documentation for the supported arithmetic operations for a datetime object, there is the following note, among other: datetime2 = datetime1 - timedelta Comment: Computes the datetime2 such that datetime2 + timedelta == datetime1. As for

[issue27121] imghdr does not support jpg files with Lavc bytes

2016-05-25 Thread René Løwe Jacobsen
New submission from René Løwe Jacobsen: Some jpegs might have Lavc instead of JFIF or Exif. I have added a picture for you to test with. -- files: 5ZK0umWbRmsQwGkUb4LhIV6L9YnInn6t_thumb.jpg messages: 266327 nosy: René Løwe Jacobsen priority: normal severity: normal status: open title

[issue22145] <> in parser spec but not lexer spec

2014-08-05 Thread François-René Rideau
New submission from François-René Rideau: As another follow up to http://bugs.python.org/issue21972 <> is mentioned in the parser spec: https://docs.python.org/3.5/reference/grammar.html But not in the lexer spec: https://docs.python.org/3.5/reference/lexical_analysis.html Eithe

[issue22144] ellipsis needs better display in lexer documentation

2014-08-05 Thread François-René Rideau
New submission from François-René Rideau: As a followup to http://bugs.python.org/issue21972 The ellipsis (three dots) should be displayed in the box on top of section 2.6 of the reference manual, and not just in the text below: https://docs.python.org/3.5/reference/lexical_analysis.html

[issue21972] Bugs in the lexer and parser documentation

2014-07-13 Thread François-René Rideau
François-René Rideau added the comment: Actually, my reading was buggy, and the "u" part is well-documented enough. Apologies for this part of the bug report. The lexer documentation is still missing the ellipsis, though Other bug I found in the lexer documentation: missing @= And

[issue21972] Bugs in the lexer and parser documentation

2014-07-12 Thread François-René Rideau
New submission from François-René Rideau: The lexer documentation says that the u prefix works on strings since 3.3, but doesn't explain what or how, which is all the more problematic since it explicitly mentions difference from the behavior documented in Python 2. It also doesn't s

[issue20793] locale.setlocale()

2014-02-28 Thread René Fleschenberg
René Fleschenberg added the comment: I see. Thanks for the information. -- ___ Python tracker <http://bugs.python.org/issue20793> ___ ___ Python-bugs-list mailin

[issue20793] locale.setlocale()

2014-02-27 Thread René Fleschenberg
New submission from René Fleschenberg: locale.setlocale() does not work if you pass it a ``unicode`` object instead of a ``str`` (locale.py, line 576): ``if locale and type(locale) is not type(""):`` Maybe it would be better to do a check like this? ``if locale and not

[issue14621] Hash function is not randomized properly

2012-11-30 Thread René
René added the comment: Serhiy Storchaka: Yes, but it is still O(log n) worst case. Even in the worst case rebalancing, you only need to walk up/down rotating/spliting every node in your path. As the tree height is guaranteed to be x * log n (x from 1 to 2, depending on the algorithm), the

[issue14621] Hash function is not randomized properly

2012-11-30 Thread René
René added the comment: Serhiy Storchaka: I said a O(log n) data structure, so I was referring to balanced trees, like AVL, RBT or B+-tree. They are not vulnerable to sorted data. The downside is that they need the keys to provide robust comparison methods (like, if z < y < x, then

[issue14621] Hash function is not randomized properly

2012-11-30 Thread René
René added the comment: Christian Heimes: It has always been trivial to artificially generate collisions for fast hashes designed for hash tables, like MurmurHash. I wouldn't call Murmurhash3 "busted" because of that, as this was never a design goal. It is a known propriety

[issue3754] cross-compilation support for python build

2011-05-16 Thread René Schümann
Changes by René Schümann : -- nosy: +WhiteTiger ___ Python tracker <http://bugs.python.org/issue3754> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue4709] Mingw-w64 and python on windows x64

2011-05-16 Thread René Schümann
Changes by René Schümann : -- nosy: +WhiteTiger ___ Python tracker <http://bugs.python.org/issue4709> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1006238] cross compile patch

2011-05-16 Thread René Schümann
Changes by René Schümann : -- nosy: +WhiteTiger ___ Python tracker <http://bugs.python.org/issue1006238> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2001] Pydoc interactive browsing enhancement

2010-11-07 Thread René Liebscher
René Liebscher added the comment: What about http://bugs.python.org/issue2001#msg114326 ? -- ___ Python tracker <http://bugs.python.org/issue2001> ___ ___ Pytho

[issue2001] Pydoc interactive browsing enhancement

2010-08-19 Thread René Liebscher
Changes by René Liebscher : -- nosy: +r.liebscher ___ Python tracker <http://bugs.python.org/issue2001> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue3871] cross and native build of python for mingw32 with distutils

2010-08-08 Thread René Schümann
René Schümann added the comment: @LRN what program did u used to create the patch? And what to apply it? Just because i can't get Tortoise to apply the patch (An unknown line type was found in line 678 !) and MSYS's patch also doe

[issue3871] cross and native build of python for mingw32 with distutils

2010-06-15 Thread René Schümann
René Schümann added the comment: Roumen thanks for this work, but will you upload a new version? Just because i can't get it to work, i can't even patch it^^ Maybe it's the SVN Client i use (Tortoise SVN) or that i don't know how to apply this patch :D It would be nice wh

crash in Py_EnterRecursiveCall

2010-05-06 Thread René J . V . Bertin
Hello, I have embedded Python into and extended it with functionality from a graphical tool I use. One of the things it allows me to do is to export Python objects to a simple scripting language ("ascanf"), and call them as if they were native functions. I have the following situation in which I

[issue5415] uuid module generates incorrect values for uuid3 (and possibly uuid5)

2009-03-03 Thread René Puls
New submission from René Puls : I am trying to recreate the sample output from appendix B of RFC 4122. http://www.ietf.org/rfc/rfc4122.txt In that document, a version 3 UUID is created using the DNS namespace (6ba7b810-9dad-11d1-80b4-00c04fd430c8, same as uuid.NAMESPACE_DNS in Python) and

[issue902061] pydoc insists upon producing file: URLs

2008-10-29 Thread René Liebscher
René Liebscher <[EMAIL PROTECTED]> added the comment: I would like to see this change introducing a method of class HTMLDoc. It has already some such methods as: def namelink(self, name, *dicts): def classlink(self, object, modname): def modulelink(self, object): def modp

[issue1857] subprocess.Popen.poll/__del__ API breakage

2008-01-18 Thread René Stadler
René Stadler added the comment: Yes, it works. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1857> __ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1857] subprocess.Popen.poll/__del__ API breakage

2008-01-17 Thread René Stadler
New submission from René Stadler: The commit to r45234 has added an internally used keyword attribute named _deadstate to subprocess.Popen.poll, which is called by the __del__ method of this class. If you derived your own class from subprocess.Popen that overrides .poll() without taking kwargs