Re: [Python-Dev] Python 2.x and 3.x use survey, 2014 edition

2014-12-12 Thread Petr Viktorin
Also keep in mind that not all Python libraries are on PyPI. For non-Python projects with Python bindings (think video players, OpenCV, systemd, Samba), distribution via PyPI doesn't make much sense. And since the Python bindings are usually second-class citizens, the porting doesn't have a high

[issue22198] Odd floor-division corner case

2014-11-10 Thread Petr Viktorin
Petr Viktorin added the comment: ping, could someone please review the patch? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22198

[issue22198] Odd floor-division corner case

2014-10-09 Thread Petr Viktorin
Petr Viktorin added the comment: Apologies for the delay; I missed/did not get a notification. Alexander, I don't disagree, but I'd like my first patch to Python to not be a refactoring. As I said, I'd like to keep this patch focused. After that I'd like to provide tests the rest

[issue22444] Floor divide should return int

2014-09-26 Thread Petr Viktorin
Changes by Petr Viktorin encu...@gmail.com: -- nosy: +encukou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22444 ___ ___ Python-bugs-list mailing

[issue22198] Odd floor-division corner case

2014-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: I tried my hand at writing a patch. I hope it is helpful. The message of the 2001 commit that introduces this says that there's no platform-independent way to write a test case for this. I assume with @support.requires_IEEE_754 that is no longer true (at least

[issue22198] Odd floor-division corner case

2014-09-07 Thread Petr Viktorin
Petr Viktorin added the comment: Note: I signed the contributor agreement form recently, I should have a * soon. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22198

[issue5294] pdb break command messes up continue

2009-02-17 Thread Petr Viktorin
New submission from Petr Viktorin encu...@gmail.com: Consider this program: import pdb pdb.set_trace() print (At line 5) print (At line 6) print (At line 7) print (At line 8) print (At line 9) When set_trace starts the debugger, I set a breakpoint at line 8. When I do that, the continue

[issue5294] pdb break command messes up continue

2009-02-17 Thread Petr Viktorin
Petr Viktorin encu...@gmail.com added the comment: It doesn't matter whether the breakpoint is set from within a function or not, but only the module-level frame is affected. import pdb def test(): print (At line 4) print (At line 5) print (At line 6) print (At line 7

[issue4992] yield's documentation not updated

2009-01-18 Thread Petr Viktorin
New submission from Petr Viktorin encu...@gmail.com: In the yield statement documentation (http://docs.python.org/3.0/reference/simple_stmts.html#the-yield-statement), the old way of calling generators is used: The body of the generator function is executed by calling the generator’s next

<    5   6   7   8   9   10