[issue11665] Regexp findall freezes

2011-04-05 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: I found this ugly regexp in old code and optimized this, certainly. I'll need to search for more of this in the code to make sure it won't freeze next time. I think you can close this ticket, since it is only another way to write an infinite loop

[issue11665] Regexp findall freezes

2011-03-24 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: Fixing my typo in this bug report: "Finding all matches of a regular expression freezes:" (I'm not allowed to edit the report's body itself.) -- ___ Python tracker <http://bug

[issue11665] Regexp findall freezes

2011-03-24 Thread Viktor Ferenczi
New submission from Viktor Ferenczi : Finding all matches of a expression freezes: {{{ fviktor@sirius:~$ python3.2 Python 3.2 (r32:88445, Mar 8 2011, 01:24:57) [GCC 4.4.3] on linux2 Type "help", "copyright", "credits" or "license" for more informa

[issue6307] AttributeError in traceback.print_last()

2009-06-18 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: >From the manual of the sys module: """ last_type last_value last_traceback These three variables are not always defined; they are set when an exception is not handled and the interpreter prints an error message and a stack trac

[issue6307] AttributeError in traceback.print_last()

2009-06-18 Thread Viktor Ferenczi
New submission from Viktor Ferenczi : Python 2.5.4, Windows MSI installer, WinXP SP2, 32 bit: Try the following code: (test script attached) import traceback try: someundefinedsymbol except: traceback.print_last() It will raise the following exception: Traceback (most recent call

[issue1001150] hotspot profiler does not work correctly on P4 CPUs with HT

2009-02-17 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: The hotspot module is obsolate, so this bug should be closed as "wont fix". ___ Python tracker <http://bugs.python.org

[issue984219] hotspot.stats.load is very slow

2009-02-14 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: I agree. Just close this as "won't fix". ___ Python tracker <http://bugs.python.org/issue984219> ___ ___ Python-b

[issue3160] Building a Win32 binary installer crashes

2008-08-31 Thread Viktor Ferenczi
Viktor Ferenczi <[EMAIL PROTECTED]> added the comment: Note: I tested the patch with the latest beta 2 release. The Windows installer is beta2, but beta3 is announced. I don't understand why, Guido should know... ___ Python tracker <[EMAIL PRO

[issue3160] Building a Win32 binary installer crashes

2008-08-31 Thread Viktor Ferenczi
Viktor Ferenczi <[EMAIL PROTECTED]> added the comment: Thanks. I've tested the patch, it worked for me. However, I had to apply it manually. No big deal, since not a big patch, anyway. :-) ___ Python tracker <[EMAIL PROTECTED]> <ht

[issue3160] Building a Win32 binary installer crashes

2008-08-10 Thread Viktor Ferenczi
Viktor Ferenczi <[EMAIL PROTECTED]> added the comment: Is forcing the encoding as UTF-8 backwards compatible? It should be at least noted somewhere if this change could render existing setup scripts incompatible with Python 3.0. ___ Python tracker &

[issue3160] Building a Win32 binary installer crashes

2008-08-09 Thread Viktor Ferenczi
Viktor Ferenczi <[EMAIL PROTECTED]> added the comment: Thanks. Good point. :-) I did not find that bug, since pre_install_script is not defined for my project. Sorry, it is my fault. I did not test my patch deep enough. I need to know one more thing before providing a better patch: W

[issue3160] Building a Win32 binary installer crashes

2008-08-05 Thread Viktor Ferenczi
Viktor Ferenczi <[EMAIL PROTECTED]> added the comment: Note: It is already fixed and should go into the next beta. Thanks. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3160] Building a Win32 binary installer crashes

2008-06-21 Thread Viktor Ferenczi
Viktor Ferenczi <[EMAIL PROTECTED]> added the comment: Fixed by appending the b (bytes) prefix to three string literals concatenated to cfgdata in C:\python30\lib\distutils\command\bdist_wininst.py: Line #262: # Append the pre-install script cfgdata = cfgdata + b"\0&

[issue3160] Building a Win32 binary installer crashes

2008-06-21 Thread Viktor Ferenczi
New submission from Viktor Ferenczi <[EMAIL PROTECTED]>: Python 3.0b1, official MSI installer. Checkout source code of this project: http://code.google.com/p/anntools/ Enter into the root of your working copy and try to build a Win32 installer: C:\Python30\python.exe setup.py bdist_w

[issue1134] Parsing a simple script eats all of your memory

2007-11-14 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: In response to Guido: According to pythonmeister's post (2007-09-10): "Same under Linux with Python 3.0a1. Eats all cpu + memory" I found the bug with this version: [EMAIL PROTECTED]:~$ python3.0 --version Python 3.0a1 AFAIK it is the latest

[issue1134] Parsing a simple script eats all of your memory

2007-11-13 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: This bug prevents me and many others to do preliminary testing on Py3k, which slows down it's development. This bug is _really_ hurts. I've a completely developed new module for Py3k that cannot be released due to this bug, since it's unit tests

[issue1419] ssl module version 1.10 causes TypeError when accepting connection

2007-11-10 Thread Viktor Ferenczi
New submission from Viktor Ferenczi: The SSLSocket.accept() method passes arguments to SSLSocket's constructor in wrong order which causes TypeError later in the constructor. Proposed patch to ssl.__init__.py: @@ -257,7 +257,7 @@ SSL channel, and the address of the remote c

[issue1134] Parsing a simple script eats all of your memory

2007-09-08 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: Errata: In the first line of my original post I mean Python3.0a1 and not 3.0a2, certainly. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1134] Parsing a simple script eats all of your memory

2007-09-08 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: Works fine (does nothing) with Python 2.4.4 and Python 2.5.1 under Windows, so this bug must be caused by some new code in Python3.0a1. The bug depends on the contents of the doc string. There's another strange behavior if you write the word "th

[issue1134] Parsing a simple script eats all of your memory

2007-09-08 Thread Viktor Ferenczi
Viktor Ferenczi added the comment: Confirmed on Windows: OS: Windows XP SP2 ENG Python: Python3.0a1 MSI installer, default installation __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1134] Parsing a simple script eats all of your memory

2007-09-08 Thread Viktor Ferenczi
New submission from Viktor Ferenczi: Read the WARNING below, then run the attached script with Python3.0a2. It will eat all of your memory. WARNING: Keep a process killing tool or an extra command line at your fingertips, since this script could render your machine unusable in about 10-20

[issue1133] python3.0-config raises SyntaxError

2007-09-08 Thread Viktor Ferenczi
New submission from Viktor Ferenczi: Running python3.0-config raises SyntaxError: $ python3.0-config File "/usr/local/bin/python3.0-config", line 33 print sysconfig.PREFIX ^ SyntaxError: invalid syntax OS: Ununtu Feisty, up-to-date Python: Python 3.0a1, com