[issue43833] Unexpected Parsing of Numeric Literals Concatenated with Boolean Operators

2021-04-13 Thread Rich rauenzahn
Change by Rich rauenzahn : -- nosy: +rrauenza ___ Python tracker <https://bugs.python.org/issue43833> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue41135] Suggested change to http.server.HTTPServer to prevent socket reuse in Windows

2020-06-26 Thread Michael Rich
New submission from Michael Rich : Hi, a web server can be incorrectly bound to an already in-use socket when binding a HTTPServer on windows. The issue is discussed here: https://stackoverflow.com/questions/51090637/running-a-python-web-server-twice-on-the-same-port-on-windows-no-port

[issue29657] os.symlink: FileExistsError shows wrong message

2018-11-30 Thread Rich Jones
Rich Jones added the comment: @Larry - that would be an acceptable solution! I'm here because I encountered this error independently. I explain why the arrow is a problem here: https://bugs.python.org/issue35367 The issue is that the '->' notation is already used by the standard operat

[issue35367] FileExistsError During os.symlink() Displays Arrow in the Wrong Direction

2018-11-30 Thread Rich Jones
New submission from Rich Jones : If I try to create a symlink which already exists, I get a FileExistsError. In this error message, the explanatory arrow is pointing in the wrong direction. This gave us a big scare in our logs! Example: ``` $ ls HELLO.txt $ python3 Python 3.7.0 (default

[issue31749] Request: Human readable byte amounts in the standard library

2017-10-11 Thread Rich
Rich <miserlou+pyth...@gmail.com> added the comment: I think bitmath would be overkill to include in its entirety, but maybe there solution is a good one. There is also: https://pypi.python.org/pypi/byteformat/ https://pypi.python.org/pypi/datasize https://pypi.python.org/pypi/hurry.fi

[issue31749] Request: Human readable byte amounts in the standard library

2017-10-10 Thread Rich
Rich <miserlou+pyth...@gmail.com> added the comment: Yep, as I mentioned, it should be configurable to use either format. Localization is an excellent point as well, so, all in all, the optional arguments to the function are format, significant digits, and delimiter.

[issue31749] Request: Human readable byte amounts in the standard library

2017-10-10 Thread Rich
New submission from Rich <miserlou+pyth...@gmail.com>: This problem is an _extremely_ common one, a problem that almost any Python project of a reasonable size will encounter. Given a number of bytes, say 123901842, format this as '123.9MB'. The reason I strongly think that this

[issue27351] Unexpected ConfigParser.read() behavior when passed fileobject

2016-06-20 Thread Rich Rauenzahn
Rich Rauenzahn added the comment: Thank you, lukasz. That's the answer I anticipated -- I can appreciate the backwards compatibility aspect very much. Regarding the docs, the docs say: "Attempt to read and parse a list of filenames, returning a list of filenames which were success

[issue27351] Unexpected ConfigParser.read() behavior when passed fileobject

2016-06-18 Thread Rich Rauenzahn
Rich Rauenzahn added the comment: Given that write() accepts a fileobject, but read() accepts a list of strings or a string (and readfp() is the one that accepts a fileobject instead), this seems like it could be a common enough error that just iterating over the fileobject could

[issue27351] Unexpected ConfigParser.read() behavior when passed fileobject

2016-06-18 Thread Rich Rauenzahn
New submission from Rich Rauenzahn: This came up on StackOverflow: http://stackoverflow.com/a/37903779/2077386 I wanted to bring it to your attention in case it hasn't been notice before. It turns out that if you pass a fileobject (i.e., ConfigParser().read(open("foo"))) ConfigP

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2012-02-28 Thread Rich Rauenzahn
Rich Rauenzahn rraue...@gmail.com added the comment: Yes, the source box was checkmarked. Not the first one to encounter this as well: http://python.6.n6.nabble.com/IDLE-not-highlighting-current-line-while-debugging-on-Win-td2113345.html

[issue14146] IDLE: source line in editor doesn't highlight when debugging

2012-02-27 Thread Rich Rauenzahn
New submission from Rich Rauenzahn rraue...@gmail.com: Using 64bit python for windows downloaded from python.org on 64bit windows 7. Python Version 3.2.2 Tk version 8.5 IDLE version 3.2.2 When stepping through code the corresponding line in the editor does not highlight with the code steps

[issue7206] 64 bit python fails on Windows 7

2009-11-18 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: I looked into it a bit further. With some trial and error I narrowed the source of the problem to be the 'KernelModeDriverInstall' option under compatibility. I believe this isn't a problem, because python shouldn't be trying to install

[issue7206] 64 bit python fails on Windows 7

2009-11-17 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: I've done some more fiddling with the debugger, once I discovered the Windows symbol servers, and a tool called application verifier some things started to fall into place. LuaPriv takes care of user privelidges, the program runs fine when I

[issue7206] 64 bit python fails on Windows 7

2009-11-17 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: I have an apology to make for wasting your time. Further investigation demonstrates that it was evidently fiddling with the Application Verifier that broke everything (although I installed it during my debugging attempts- I'm guessing

[issue7206] 64 bit python fails on Windows 7

2009-11-04 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: Download the debugging suite from http://www.microsoft.com/whdc/devtools/debugging/install64bit.mspx# Open windbg Press Ctrl + E to load an executable Select your python binary Step through by typing g in the text box at the bottom

[issue7206] 64 bit python fails on Windows 7

2009-11-03 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: Carey I can send you the steps I used to create the dump if you like so we can check if it's the same issue? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7206

[issue7206] 64 bit python fails on Windows 7

2009-10-26 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: By running the python.exe (either by double clicking it, typing it's path into a cmd shell or by opening it in a debugger). I tried to create a 64 bit build of the source tree which DID start, but the hoops I had to jump through to build

[issue7206] 64 bit python fails on Windows 7

2009-10-26 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: Nope- 2.6.4 fails in the same way. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7206

[issue7206] 64 bit python fails on Windows 7

2009-10-26 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: They did at first for me, and then something changed. They now don't start. I don't have the skills to properly diagnose why, all I can get out of my debuggers is that something is happening in ntdll.dll Not necessarily pointing fault

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
New submission from Rich Healey ri...@psych0tik.net: 64 bit pythons fail on 64 bit Windows 7. The crash happens with python 2.6 and 3.1 in 64 bit mode. 3.1 was a clean install after the issue presented itself. I'm not 100% sure how best to help with the problem, I've attached the dump from

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: I'm not 100% sure. I have a x64 machine running Windows 2008. I will check if it's in the log now. I will also check if it's in the debug trace for x86 python (which works). RESULTS: I get the LuaPriv initialised line on x86 python on my

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: I think that dump may be incorrect because it does not have all the symbols. I will checkout source for latest 3.x trunk and attempt to build 64 bit binaries. -- ___ Python tracker rep

[issue7206] 64 bit python fails on Windows 7

2009-10-25 Thread Rich Healey
Rich Healey ri...@psych0tik.net added the comment: No action- the interpreter fails to start. Or do you mean what changed to make it break? I'm not sure. It used to work but I don't believe I changed anything on my system. -- ___ Python tracker rep

[issue1862] Error on Save As in IDLE (Vista 32-bit)

2008-01-17 Thread Rich
New submission from Rich: Issue 1743 might be related to this. Using Save As... in IDLE does work, but if breakpoints.lst is hidden (which it is when Python generates it) it also generates this error in the Shell: Exception in Tkinter callback Traceback (most recent call last): File C

[issue1743] IDLE fails to launch

2008-01-14 Thread Rich
Rich added the comment: Aha! There is no difference in Permissions, but the working recent- files file isn't hidden but the one generated originally by IDLE was. If I make the one I made hidden then IDLE stops working again. The .idlerc folder has been hidden all along though - that doesn't

[issue1743] IDLE fails to launch

2008-01-11 Thread Rich
Rich added the comment: I can't get it to do it again. Unless someone else is still experiencing the problem, perhaps it was fixed (deliberately or otherwise) by this month's Vista hotfixes that came down automatically a couple of days ago. Thanks for your help everyone

[issue1544] IDLE installation problems and no message errors

2008-01-11 Thread Rich
Rich added the comment: If you are using Vista, then we discovered that there might be a problem associated with the recent-files.lst file (usually found in .idle in the C:\Users\Yourname directory). That's all written down in Issue 1743. If that doesn't apply to you then if you specify what

[issue1743] IDLE fails to launch

2008-01-08 Thread Rich
Rich added the comment: I've been away for a couple of days, but can replicate everything Joakim has reported in my abscence. Deleting/renaming recent-files.lst allows me to launch IDLE (from cmd or Start Menu). Oddly though, if I close IDLE, copy/paste the contents of the old recent-files

[issue1743] IDLE fails to launch

2008-01-06 Thread Rich
New submission from Rich: Launching IDLE from the start menu has no effect, no windows open. Command line Python still works. Reinstalling Python does not fix the problem. I haven't changed my system configuration since everything was working. Any ideas for things to check to fix this on my

[issue1743] IDLE fails to launch

2008-01-06 Thread Rich
Rich added the comment: I'm on 32-bit Windows Vista, and I installed with the Python 2.5 msi. __ Tracker [EMAIL PROTECTED] http://bugs.python.org/issue1743 __ ___ Python-bugs-list mailing

[issue1704] possible bug in randint

2007-12-29 Thread Rich Marinaccio
Rich Marinaccio added the comment: To be clear, I am not using multi-threading in my particular module. I can't explain this behavior with my code alone. The issue is complicated by the fact that my module is called by Civ IV, and I have no idea what the game is doing behind the scenes. I

[issue1704] possible bug in randint

2007-12-29 Thread Rich Marinaccio
Rich Marinaccio added the comment: What was happening before was I was getting an index out of range error every so often, so then I put in the ValueError catch to see what was going on. I was surprised to see that randIndex was the same as len (preshuffle). I have some further catches

[issue1704] possible bug in randint

2007-12-28 Thread Rich Marinaccio
Rich Marinaccio added the comment: I've done some more testing and I can't get this to repeat with randint alone. It must be an issue with combination of the len() function used as a parameter to randint. The above code is in a loop that further down will del preshuffle[randIndex]. Could

[issue1704] possible bug in randint

2007-12-27 Thread Rich Marinaccio
New submission from Rich Marinaccio: I have been using python for Civilization IV map scripting, and I believe I have found a small problem with the randint function. Once in a blue moon, randint(a,b) returns b + 1, rather than a = N = b. I have seen this behavior a few times. Here

[issue1704] possible bug in randint

2007-12-27 Thread Rich Marinaccio
Rich Marinaccio added the comment: I have been using python for Civilization IV map scripting, and I believe I have found a small problem with the randint function. Once in a blue moon, randint(a,b) returns b + 1, rather than a = N = b. I have seen this behavior a few times. Here is the code