[issue47107] Navigation bar in python3103.chm is broken

2022-03-24 Thread stephan
stephan added the comment: Good idea with the html files, thank you (by the way I still love the chm because its compact and fast) -- ___ Python tracker <https://bugs.python.org/issue47

[issue47107] Navigation bar in python3103.chm is broken

2022-03-24 Thread stephan
stephan added the comment: added screenshot -- Added file: https://bugs.python.org/file50698/2022-03-24_python3.10.3.png ___ Python tracker <https://bugs.python.org/issue47

[issue47107] Navigation bar in python3103.chm is broken

2022-03-24 Thread stephan
New submission from stephan : As you see in 2022-03-24_python3.10.3.png the navigation bar in python3103.chm is broken. In 2022-03-24_python3.10.2.png you see the same the same for python3102.chm. I suppose it would make sense: - to hide this navigation bar when you create a chm - to have a

[issue44759] ctype generates misleading error-msg opening lib.so when compiled for wrong arch

2021-07-28 Thread Stephan Bökelmann
Stephan Bökelmann added the comment: Fail. Didn't read your reply carefully enough. You wasn't asking for my info. Thanks anyway -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.py

[issue44759] ctype generates misleading error-msg opening lib.so when compiled for wrong arch

2021-07-28 Thread Stephan Bökelmann
Stephan Bökelmann added the comment: my fault! I am running Ubuntu 18 in WSL >> uname -a Linux 4.4.0-22000-Microsoft #1-Microsoft Fri Jun 04 16:28:00 PST 2021 x86_64 x86_64 x86_64 GNU/Linux -- ___ Python tracker <https://bugs.p

[issue44759] ctype generates misleading error-msg opening lib.so when compiled for wrong arch

2021-07-28 Thread Stephan Bökelmann
New submission from Stephan Bökelmann : When trying to open a lib.so that has been compiled for a different architecture an error-msg is emitted saying. "no such file or directory" this is misleading behavior. changing the error-msg to. "library not compatible with architect

[issue44065] "configure: error: internal configure error for the platform triplet" on macOS with Clang supporting --print-multiarch:

2021-05-07 Thread Stephan Bergmann
Stephan Bergmann added the comment: "from the sources it looks like it would still be an issue with the latest cpython main branch", and if I check out current main branch and run `CC='/path-to-local-llvm-trunk/bin/clang -isysroot /Applications/Xcode.app/Contents/Deve

[issue44065] "configure: error: internal configure error for the platform triplet" on macOS with Clang supporting --print-multiarch:

2021-05-06 Thread Stephan Bergmann
New submission from Stephan Bergmann : I experienced this with Python 3.8 when building it as part of LibreOffice (see <https://git.libreoffice.org/core/+/b0a4b49a88aacfbc127965c0c6fe50a065eb3a0f%5E%21> "external/python3: Clang 13 trunk implements --print-multiarch now", q

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread Stephan Hohe
Change by Stephan Hohe : -- keywords: +patch pull_requests: +19665 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20403 ___ Python tracker <https://bugs.python.org/issu

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread Stephan Hohe
New submission from Stephan Hohe : The [documentation][1] for asyncio.create_subprocess_shell() contains an "important" block about quoting special characters. This block and the following deprecation note belong to this specific function, but are not correctly indented and shown

[issue40377] APPDATA location in Microsoft Store version

2020-04-25 Thread Stephan Troyer
Stephan Troyer added the comment: > ... provide a way to output the relevant contents of the file on the console > rather than just printing the path ... Thanks, I didn't think of that option, that is probably the best way to deal with it. I'll file a bug to jupyter and vsco

[issue40377] APPDATA location in Microsoft Store version

2020-04-24 Thread Stephan Troyer
New submission from Stephan Troyer : In Microsoft Store apps, access to %APPDATA% and %LOCALAPPDATA% gets transparently redirected to an app specific location (such as %LOCALAPPDATA%\Packages\PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0\LocalCache\). This is perfect for saving settings

[issue36285] Integer overflow in array.array.remove()

2019-03-13 Thread Stephan Hohe
Change by Stephan Hohe : -- keywords: +patch pull_requests: +12291 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36285> ___ ___ Py

[issue36285] Integer overflow in array.array.remove()

2019-03-13 Thread Stephan Hohe
New submission from Stephan Hohe : The array module's `array.remove(x)` iterates over the array, searching for `x`. If the array contains >=2G elements this can overflow the `int` loop variable. `array__array_reconstructor_impl()` also contains loops with `int` variables that lik

[issue36251] Invalid format specifiers in MatchObject and StdPrinter repr

2019-03-09 Thread Stephan Hohe
Change by Stephan Hohe : -- keywords: +patch pull_requests: +12240 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36251> ___ ___ Py

[issue36251] Invalid format specifiers in MatchObject and StdPrinter repr

2019-03-09 Thread Stephan Hohe
New submission from Stephan Hohe : match_repr() and stdprinter_repr() contain calls to PyUnicode_FromFormat() with format specifiers that don't match the arguments. See the upcoming pull request for details. -- components: Interpreter Core, Regular Expressions messages: 337574

[issue35688] "pip install --user numpy" fails on Python from the Windows Store

2019-01-10 Thread Stephan Troyer
Change by Stephan Troyer : -- nosy: +stephtr ___ Python tracker <https://bugs.python.org/issue35688> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35623] Segfault in test_bigmem.ListTest.test_sort

2018-12-30 Thread Stephan Hohe
Stephan Hohe added the comment: Actually the segfault is in Objects/listobject.c:2301 in that test since it doesn't use tuples. But the takeaway is the same: `i` overflows to a negative number and causes an invalid memory access. -- ___ P

[issue35623] Segfault in test_bigmem.ListTest.test_sort

2018-12-30 Thread Stephan Hohe
Change by Stephan Hohe : -- keywords: +patch, patch, patch pull_requests: +10727, 10728, 10729 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35623] Segfault in test_bigmem.ListTest.test_sort

2018-12-30 Thread Stephan Hohe
Change by Stephan Hohe : -- keywords: +patch pull_requests: +10727 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue35623> ___ ___ Py

[issue35623] Segfault in test_bigmem.ListTest.test_sort

2018-12-30 Thread Stephan Hohe
Change by Stephan Hohe : -- keywords: +patch, patch pull_requests: +10727, 10728 stage: -> patch review ___ Python tracker <https://bugs.python.org/issu

[issue35623] Segfault in test_bigmem.ListTest.test_sort

2018-12-30 Thread Stephan Hohe
New submission from Stephan Hohe : When running test_bigmem with -M 30G the interpreter crashes in list_sort_impl() in Objects/listobject.c:2290 due to an integer overflow in `i`. -- components: Interpreter Core messages: 332780 nosy: sth priority: normal severity: normal status

[issue35621] asyncio.create_subprocess_exec() only works with main event loop

2018-12-30 Thread Stephan Hohe
New submission from Stephan Hohe : `asyncio.create_subprocess_exec()` accepts a `loop` parameter, but doesn't use it to watch the child process. Instead uses `get_event_loop_policy().get_child_watcher()`, which doesn't doesn't know about `loop` but tries to use the current def

[issue34982] re.sub() different behavior in 3.7

2018-11-07 Thread Stephan Bergmann
Stephan Bergmann added the comment: So, just to make sure, that also means that re.sub('a*$', 'b', 'a') returning 'bb' instead of 'b' is intended behavior? -- nosy: +Stephan Bergmann ___ P

[issue24379] Add operator.subscript as a convenience for creating slices

2018-07-19 Thread Stephan Hoyer
Stephan Hoyer added the comment: Raymond, Tal and Guido -- do any of you work routinely with multi-dimensional arrays? In my experience as someone who uses Python everyday for numerical computing (and has been doing so for many years), the need for an operator like this comes up with some

[issue27300] tempfile.TemporaryFile(): missing errors=... argument

2018-05-02 Thread Stephan Hohe
Change by Stephan Hohe : -- pull_requests: +6390 status: pending -> open ___ Python tracker <https://bugs.python.org/issue27300> ___ ___ Python-bugs-list mai

[issue32797] Tracebacks from Cython modules no longer work

2018-05-01 Thread Stephan Hohe
Stephan Hohe added the comment: > Do you mean the "python" command-line program? Yes, that's what I used. > That uses a different algorithm: I see, it only works for top-level modules. You're right, that's not a real solution. -- ___

[issue32797] Tracebacks from Cython modules no longer work

2018-05-01 Thread Stephan Hohe
Stephan Hohe added the comment: Yes, I tried the Python 3.5 that comes with my system as well as the latest checkout from github. Both show source code lines in tracebacks for me. I used a rather simple test setup, just two directories with .so and .pyx which I added to sys.path (any order

[issue32797] Tracebacks from Cython modules no longer work

2018-05-01 Thread Stephan Hohe
Stephan Hohe added the comment: How does CPython display the source for tracebacks in Cython modules? It seems to work there as long as the Cython .pyx files are somewhere in the import path. -- nosy: +sth ___ Python tracker <ht

[issue30140] Binary arithmetic does not always call subclasses first

2017-10-18 Thread Stephan Hoyer
Stephan Hoyer added the comment: Ping -- it would be great if someone could take a look at my PR. (I suspect it needs more documentation, tips on where to put that would be appreciated.) -- ___ Python tracker <https://bugs.python.org/issue30

[issue31427] Proposed addition to Windows FAQ

2017-09-12 Thread Stephan Houben
New submission from Stephan Houben: Several people have asked on python-list why they are running into these errors. Python 3.6.0 can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing. The solution is to install KB 2999226 "Update for Universal C Runtime in Window

[issue30140] Binary arithmetic does not always call subclasses first

2017-09-05 Thread Stephan Hoyer
Stephan Hoyer added the comment: Serhiy: thanks for the tip. I've updated my PR, which I think is now ready for review. -- ___ Python tracker <http://bugs.python.org/is

[issue30676] [Windows] Potential for GIL deadlock on Windows in threadmodule acquire_lock

2017-06-15 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: I think I misunderstood the implementation of EnterNonRecursiveMutex -- the mutex that could block there is the internal 'cs' mutex, which would only be held only briefly while Enter/LeaveNonRecursiveMutex are running, and it looks like the &#x

[issue30676] Potential for GIL deadlock on Windows in threadmodule acquire_lock

2017-06-15 Thread Stephan R.A. Deibel
New submission from Stephan R.A. Deibel: In acquire_timed in _threadmodule.c (used to implement threading lock acquire()) there is an optimization from https://github.com/python/cpython/commit/e75ff35af2b6c85d48c68b95f295aeac7396b162 that says it first tries non-blocking lock w/o releasing

[issue30395] deadlocked child process after forking on pystate.c's head_mutex

2017-05-18 Thread Stephan Gorget
Changes by Stephan Gorget : -- nosy: +phantez ___ Python tracker <http://bugs.python.org/issue30395> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30140] Binary arithmetic does not always call subclasses first

2017-04-25 Thread Stephan Hoyer
Stephan Hoyer added the comment: > The design pattern that has problems here is a bit unorthodox to start with. I agree. This was meant strictly as a simple example for illustrative purposes. Steven D'Aprano's example from python-ideas may be a better one: https://mail.python.

[issue30140] Binary arithmetic does not always call subclasses first

2017-04-23 Thread Stephan Hoyer
Stephan Hoyer added the comment: Posted to python-ideas: https://mail.python.org/pipermail/python-ideas/2017-April/045451.html Mark -- just out of curiosity, could you point me to where this logic is implemented in CPython's source? This feels like something that could once been called

[issue30140] Binary arithmetic does not always call subclasses first

2017-04-22 Thread Stephan Hoyer
New submission from Stephan Hoyer: We are writing a system for overloading NumPy operations (see PR [1] and design doc [2]) that is designed to copy and extend Python's system for overloading binary operators. The reference documentation on binary arithmetic [3] states: > Note: If t

[issue28530] Howto detect if an object is of type os.DirEntry

2016-10-26 Thread stephan
stephan added the comment: Some questions: - if posix.DirEntry is exposed I think nt.DirEntry and os.DirEntry (this one is mentioned in the documentation) should be exposed - will this bw backported to 3.5 lets say 3.5.3? -- ___ Python

[issue28530] Howto detect if an object is of type os.DirEntry

2016-10-25 Thread stephan
New submission from stephan: I have a small problem with python 3.5.2 64bit on win7 64 bit: I cannot check if an object is of type DirEntry (os.DirEntry or nt.DirEntry). Did I misunderstand something or what is wrong? Here is a log of my console: - In

[issue28356] Windows: os.rename different in python 2.7.12 and python 3.5.2

2016-10-04 Thread stephan
stephan added the comment: Hi, I tryed os.replace() as replacement for os.rename() too, but as you said it does not work if the files are on different drives. For now I switched to shutil.move() but I suppose its not as performant/optimal as an "move" or "rename" directly

[issue28356] os.rename different in python 2.7.12 and python 3.5.2

2016-10-04 Thread stephan
New submission from stephan: Hi, I am just migrating my code from python 2.7.12 to 3.5.2 on Windows and stumbled on the following difference: In python 2.7.12: os.rename(filepath1, filepath2) works even if filepath1 and filepath2 are on different drives (or one on a local drive, the

[issue28210] argparse with subcommands difference in python 2.7 / 3.5

2016-09-20 Thread stephan
stephan added the comment: I am not an expert with argparse since I just started using it (and it has quite a lot of features which are not all self-explaining to me). But if I didn't misunderstand something it should behave like the python 2.7 version: If I do not pass any command I am

[issue28210] argparse with subcommands difference in python 2.7 / 3.5

2016-09-20 Thread stephan
New submission from stephan: In python 2.7.12 I get an error if I do not pass arguments, while in python 3.5.2 I do not get the error (it fails silently). Stumbled on this during my migration of my python 2.7 code to python 3.5 for django. Here is the console output: D:\util\python\test>py

[issue12806] argparse: Hybrid help text formatter

2016-02-13 Thread Stephan Sokolow
Stephan Sokolow added the comment: @GraylinKim: In the interest of people like myself who wander in here via Google, would you mind stating, for the record, what license argparse_formatter.py is under? -- nosy: +ssokolow ___ Python tracker <h

[issue25883] python 2.7.11 mod_wsgi regression on windows

2015-12-17 Thread stephan
stephan added the comment: OK, I renamed: HKLM\Software\Wow6432Node\Python\PythonCore\2.7\PythonPath to HKLM\Software\Wow6432Node\Python\PythonCore\2.7-32\PythonPath and now it works again. So I'll wait for python 2.7.12 :-) Thanks

[issue25883] python 2.7.11 mod_wsgi regression on windows

2015-12-16 Thread stephan
stephan added the comment: No, I didn't report this to the mod_wsgi folks. -- ___ Python tracker <http://bugs.python.org/issue25883> ___ ___ Python-bugs-l

[issue25883] python 2.7.11 mod_wsgi regression on windows

2015-12-16 Thread stephan
New submission from stephan: Hi, I use apache 32 bit on windows with mod_wsgi for my trac instance, and other django instances which are attached by reverse-proxy. With python (32bit) 2.7.10 it works, but as soon as I updated to python 2.7.11 apache doesn't work anymore (it does not respo

[issue23262] webbrowser module broken with Firefox 36+

2015-01-18 Thread Stephan Sokolow
Stephan Sokolow added the comment: Noted. I'm not sure what my schedule will be like, but I'll try. (I may get back to you with an answer later today or I may not within the week.) -- ___ Python tracker <http://bugs.python.o

[issue23262] webbrowser module broken with Firefox 36+

2015-01-18 Thread Stephan Sokolow
Stephan Sokolow added the comment: WinPdb = Windowed Pdb, not MS Windows Pdb. `sudo apt-get install winpdb` -- ___ Python tracker <http://bugs.python.org/issue23

[issue23262] webbrowser module broken with Firefox 36+

2015-01-18 Thread Stephan Sokolow
Stephan Sokolow added the comment: Well, then the code which chooses a backend is broken because I have xdg-open and, according to WinPdb, it's using the Mozilla backend. This was my local workaround: if os.name == 'posix' and not platform.mac_ver()[0]: with open(

[issue23262] webbrowser module broken with Firefox 36+

2015-01-18 Thread Stephan Sokolow
Stephan Sokolow added the comment: The proper solution is to prefer `start` (Windows), `open` (OSX), or `xdg-open` (everything else... usually but not always present) when present instead of calling the browser directly. That way, you're using the same "delegate to the desktop'

[issue6671] webbrowser doesn't respect xfce default browser

2015-01-17 Thread Stephan Sokolow
Changes by Stephan Sokolow : -- nosy: +ssokolow ___ Python tracker <http://bugs.python.org/issue6671> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23262] webbrowser module broken with Firefox 36+

2015-01-17 Thread Stephan Sokolow
New submission from Stephan Sokolow: As of Firefox 36 (currently in beta channel), the -remote option has been removed. https://www.mozilla.org/en-US/firefox/36.0a2/auroranotes/ https://www.mozilla.org/en-US/firefox/36.0beta/releasenotes/ As such, attempting to open http://www.example.com

[issue22740] Cache error

2014-10-27 Thread Stephan Monecke
Stephan Monecke added the comment: Problem found. Induced by a .pyc file in the folder. -- ___ Python tracker <http://bugs.python.org/issue22740> ___ ___ Pytho

[issue22740] Cache error

2014-10-27 Thread Stephan Monecke
Stephan Monecke added the comment: Edit: test.py contains just "import seaborn as sns" -- ___ Python tracker <http://bugs.python.org/issue22740> ___ ___

[issue22740] Cache error

2014-10-27 Thread Stephan Monecke
New submission from Stephan Monecke: `python2 test.py` results in the following error: Traceback (most recent call last): File "test.py", line 1, in import seaborn as sns File "/path/seaborn.py", line 4, in sns.set(style="ticks") AttributeError: &#

[issue20609] Always running kill_python breaks building x64 on 32-bit Windows machine

2014-02-12 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: OK, sounds reasonable to me. -- ___ Python tracker <http://bugs.python.org/issue20609> ___ ___ Python-bugs-list mailin

[issue20609] Always running kill_python breaks building x64 on 32-bit Windows machine

2014-02-12 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: Yes, thanks, that patch fixes it so it builds successfully. Tried w/ Python 3.4rc1 on Windows 7 w/ VS2010. Of course maybe it should really be building kill_python.exe for the matching architecture and running that, but I'm not sure how to do tha

[issue20609] Always running kill_python breaks building x64 on 32-bit Windows machine

2014-02-12 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: There's no patch attached... or am I just confused? -- ___ Python tracker <http://bugs.python.org/issue20609> ___ ___

[issue20609] Always running kill_python breaks building x64 on 32-bit Windows machine

2014-02-12 Thread Stephan R.A. Deibel
New submission from Stephan R.A. Deibel: The changes made in Issue19788 break the ability to build x64 build target on a 32-bit Windows machine because PreBuildEvent entries in pythoncore.vcxproj end up trying to run the 64-bit kill_python.exe, causing critical build steps to fail. Removing

[issue17030] strange import visibility

2013-01-25 Thread Stephan
Stephan added the comment: Thanks! I was not aware of this yet. -- ___ Python tracker <http://bugs.python.org/issue17030> ___ ___ Python-bugs-list mailin

[issue17030] strange import visibility

2013-01-25 Thread Stephan
New submission from Stephan: $ cat a.py import dbus import b dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) print "Hello, World." $ cat b.py import dbus.mainloop.glib $ python a.py Hello, World. $ If I remove the “import b” line, the output is: $ python a.py Traceback (most r

[issue13557] exec of list comprehension fails on NameError

2011-12-12 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: Here's a patch to the docs that notes the issue and refers the reader to the relevant execution model docs page. I have also attempted to clarify the "interaction with dynamic features" section of the execution model page. -- k

[issue13557] exec of list comprehension fails on NameError

2011-12-09 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: Ah, thanks, there it is... I thought this must be dealt with somewhere but couldn't find it. Maybe should add something to the 'exec' statement docs http://docs.python.org/py3k/library/functions.html#exec to reference this (from a us

[issue13557] exec of list comprehension fails on NameError

2011-12-08 Thread Stephan R.A. Deibel
New submission from Stephan R.A. Deibel : Calling exec() on code that includes a list comprehension that references a defined local variable x fails incorrectly on "NameError: global name 'x' not defined". -- files: execlistcomp.py messages: 149050 nosy: sdei

[issue13548] Invalid 'line' tracer event on pass within else clause

2011-12-07 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: Sorry, the print statement in the file needs a tweak to work with Python 3.2, but the bug does occur there also. -- ___ Python tracker <http://bugs.python.org/issue13

[issue13548] Invalid 'line' tracer event on pass within else clause

2011-12-07 Thread Stephan R.A. Deibel
New submission from Stephan R.A. Deibel : The tracer set with sys.settrace() is called incorrectly with a 'line' event on a 'pass' that is at the end of an 'else' clause on the final line of a function even if the else block is not executed by the interpreter.

[issue9925] Idle doesn't launch

2010-09-23 Thread Stephan Bellegy
Stephan Bellegy added the comment: it is reproductible. At first, Python 2.6.? was installed. i tried to install 2.7 and got the problem uninstalled 2.7 tried 2.6.6 and got the problem then google, delete dir and got it running -- ___ Python

[issue1743] IDLE fails to launch

2010-09-23 Thread Stephan Bellegy
Stephan Bellegy added the comment: New bug reported here http://bugs.python.org/issue9925 -- ___ Python tracker <http://bugs.python.org/issue1743> ___ ___ Pytho

[issue9925] Idle doesn't launch

2010-09-23 Thread Stephan Bellegy
New submission from Stephan Bellegy : Environment is Win7, 32bits. User has Admin rights. I haven't coded in Python at the office for a while and had a little script to write. Thus, I decided to upgrade from 2.6 to 2.7 (that is : 2.6 was already there and functionnal as far as I remind i

[issue1743] IDLE fails to launch

2010-09-23 Thread Stephan Bellegy
Stephan Bellegy added the comment: Reproduced today with Python 2.6.6 and 2.7 on Win7 32 bits. Deleting .idlerc directory made it. Doesn't look like fixed guys ! ;-) -- nosy: +Stephan.Bellegy versions: +Python 2.6 -Python 2.5, Pytho

[issue1608921] PyThread_release_lock with pthreads munges errno

2009-04-01 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: He he, well my attempts at replicating this on Linux and OS X failed using Python 2.3->2.6 so I'm closing this bug. I'm uploading the test case for what it's worth. My best guess at what happened is that there was some interaction w/

[issue1608921] PyThread_release_lock with pthreads munges errno

2009-04-01 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: Here is a patch against Python 2.6.1 that restores errno after the "sanity check" in lock_PyThread_release_lock in Modules/threadmodule.c. A potential controversy is whether it should be done here or in thread_pthread.h but I believe that

[issue1608805] Py_FileSystemDefaultEncoding can be non-canonical

2009-03-31 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: It appears to be specific to 2.x and does not occur under Python 3.0: Python 3.0 (r30:67503, Jan 15 2009, 09:27:16) [GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2 Type "help", "copyright", "credits" or "license&qu

[issue1608921] PyThread_release_lock with pthreads munges errno

2009-03-31 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: If you are at PyCon 2009 sprints, try to see if you can find John Ehresman in the Python Core sprint to see it happen at line 115 of threadops.c in the Wing 3.2 source base. If you're not there or can't find him, I'll try to make a smal

[issue1597850] Cross compiling patches for MINGW

2008-11-21 Thread Stephan Raue
Stephan Raue <[EMAIL PROTECTED]> added the comment: when i crosscompile Python 2.6 with Patch cross-2.6-0.7.diff which is based on cross-2.5.1.patch i become follow error: ld -s -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict- prototypes -I. -IInclude -I./Include build/temp

[issue2929] TimedRotatingFileHandler crashes on backup file deletion attempt

2008-05-20 Thread Stephan Blietz
New submission from Stephan Blietz <[EMAIL PROTECTED]>: Hello, when the maximum number of backup files is reached TimedRotatingFileHandler can't delete the oldest existing file. I got the following error message: Traceback (most recent call last): File "D:\Python25\lib\log

[issue2198] code_hash() can be the same for different code objects

2008-02-27 Thread Stephan R.A. Deibel
Stephan R.A. Deibel added the comment: I should have noted that adding co_firstlineno as well to the hash would be necessary to distinguish like code objects within the same file. The example has them on the same lines in different files but changing the first line of the defs doesn't m

[issue2198] code_hash() can be the same for different code objects

2008-02-27 Thread Stephan R.A. Deibel
New submission from Stephan R.A. Deibel: The algorithm in code_hash() in codeobject.c can return the same hash value for different code objects. Presumably distinct code objects should be very unlikely to have the same hash value. This bug affected our debugger before we worked around it

[issue1772] popen fails when there are two or more pathnames/parameters with spaces

2008-01-14 Thread Stephan Hoermann
Stephan Hoermann added the comment: I have attached some code that demonstrates the bug. You need to run it on Windows and you need to place some bat file (it doesn't need to do anything just exist) at C:\Program Files\test.bat (or change the reference in the code, but it does need to in

[issue1772] popen fails when there are two or more pathnames/parameters with spaces

2008-01-08 Thread Stephan Hoermann
New submission from Stephan Hoermann: If commands similar to this (including all quotation marks) '"C:\\Program Files\\test.bat" blah "C:\\Data Files\\test2.txt"' are executed using popen, then the following is returned from stderr "'C:\\Program'