[issue18154] make install failed on solaris

2013-06-07 Thread Palm Kevin
Changes by Palm Kevin : Added file: http://bugs.python.org/file30493/Makefile.pre.in.diff ___ Python tracker <http://bugs.python.org/issue18154> ___ ___ Python-bugs-list m

[issue18154] make install failed on solaris

2013-06-07 Thread Palm Kevin
Changes by Palm Kevin : Removed file: http://bugs.python.org/file30493/Makefile.pre.in.diff ___ Python tracker <http://bugs.python.org/issue18154> ___ ___ Python-bug

[issue18154] make install failed on solaris

2013-06-07 Thread Palm Kevin
Changes by Palm Kevin : Added file: http://bugs.python.org/file30494/Makefile.pre.in.patch ___ Python tracker <http://bugs.python.org/issue18154> ___ ___ Python-bug

[issue14956] custom PYTHONPATH may break apps embedding Python

2013-08-01 Thread Kevin Harms
Kevin Harms added the comment: As far as I can tell, this issue is not resolved. It would be very nice for the C API to have the equivalent for -E for security reasons. I would like to make a setgid binary and do not want users to be able to set PYTHON* variables to force loading of custom

[issue10731] UnicodeDecodeError in OS X tkinter when binding to

2012-04-22 Thread Kevin Walzer
Kevin Walzer added the comment: I've added some comments to this on the Tkinter-dev mailing list, but to summarize, the bug is not reproducible on the Tcl side of the bridge, and so I am not clear what changes can be made in Tk's internals. It might e better to proceed with impl

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2012-05-25 Thread Kevin Barry
New submission from Kevin Barry : I have been trying to get PyRun_InteractiveLoop to run on a pty (Linux) without replacing stdin and stdout with that pty; however, it seems like Python (2.6.6) is hard-coded to only run interactively on stdin and stdout. Compile the attached program with

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2012-07-23 Thread Kevin Barry
Kevin Barry added the comment: Here is a patch that corrects the problem (quoted below and attached.) This only corrects the problem when 'PyOS_ReadlineFunctionPointer' is set, e.g. you must 'import readline', otherwise Python will defer to stdin/stdout with 'PyOS_St

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2012-07-23 Thread Kevin Barry
Kevin Barry added the comment: I've attached a new example source file to demonstrate the fix. Compile the attached program with (*after* patching and installing Python): > gcc `python-config --cflags` working2.c -o working2 `python-config --ldflags` and run it with: > ./workin

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2012-07-24 Thread Kevin Barry
Kevin Barry added the comment: The patch from before needed a slight modification for when Python actually defaults to an interactive session on stdin. Since I rebuild this for my current distro (Slackware64 13.37,) I switched to the Python 2.6.6 source. This might not be the proper way to

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2012-07-24 Thread Kevin Barry
Kevin Barry added the comment: I've attached a simplified example program (working3.c) that demonstrates both the original problem and that the patch (Python-2.6.6-Run_Interactive-fix.patch) works. It eliminates the need for a pty, 'xterm', and redirection. Compile the a

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-08-19 Thread Kevin Chen
Kevin Chen added the comment: I propose a fix: static FILE * open_exclusive(char *filename, mode_t mode) { #if defined(O_EXCL)&&defined(O_CREAT)&&defined(O_WRONLY)&&defined(O_TRUNC) /* Use O_EXCL to avoid a race condition when another process tries to write t

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-08-19 Thread Kevin Chen
Kevin Chen added the comment: This is essentially the way things were done in version 2.5.4 of Python. The unlink() always succeeded, because the created .pyc file permission is always set to 0666 in the fd=open() function. This means the .pyc will never be created as read-only, and as long

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-08-19 Thread Kevin Chen
Changes by Kevin Chen : -- nosy: +ncoghlan ___ Python tracker <http://bugs.python.org/issue6074> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-08-19 Thread Kevin Chen
Kevin Chen added the comment: Hi I made the following patch for this issue. It addresses the #2051 security bug. So the .pyc and .pyo files are created using the same permission as .py The MS_WINDOWS version will chmod the permission of .pyc and .pyo files to write accessible before deleting

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-09-08 Thread Kevin Chen
Kevin Chen added the comment: Hi Eric, I am happy to install Python 3.3 on Windows and help you test this. Can you please give me some ideas on what I need to do? Do I sync to the latest Python 3.3 branch and compile? Then run some unit-test code? Which test files should I run? What should

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2012-10-08 Thread Kevin Barry
Kevin Barry added the comment: I still see the potential cause addressed by my patch in the 2.7, 3.3, and "default" branches, so I'm assuming that all versions from 2.6 on have this problem. I also see that I can elect to change the "Status" and "Resolution"

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-11 Thread Kevin Walzer
Kevin Walzer added the comment: The attached patch works around the crash for me on Python 2.7.3, Tk-Cocoa 8.5.12 (tip), on Lion. -- keywords: +patch nosy: +wordtech Added file: http://bugs.python.org/file27538/configDialog.diff ___ Python tracker

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-11 Thread Kevin Walzer
Changes by Kevin Walzer : Removed file: http://bugs.python.org/file27538/configDialog.diff ___ Python tracker <http://bugs.python.org/issue15853> ___ ___ Python-bug

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-11 Thread Kevin Walzer
Changes by Kevin Walzer : Added file: http://bugs.python.org/file27539/configDialog.diff ___ Python tracker <http://bugs.python.org/issue15853> ___ ___ Python-bugs-list m

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-12 Thread Kevin Walzer
Kevin Walzer added the comment: The crash occurs during a "self.editFont.config" call, when the sample text in the font dialog is updated with new font properties. My changes re-structures the configure event to first create a tuple with new font properties, then apply that to

[issue15853] IDLE crashes selecting Preferences menu with OS X ActiveState Tcl/Tk 8.5.12.1

2012-10-14 Thread Kevin Walzer
Kevin Walzer added the comment: editFont.config is causing the crash. The revised patch you suggest configures both the display font example and the highlight-text example. We can certainly amend my patch along those lines. I cannot reproduce the issue in simple Tcl/Tk using the equivalent

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-20 Thread Kevin Chen
Kevin Chen added the comment: Hi Nick, Thank you so much for rolling out this change. I think your implementation of the fix is more elegant. I have learned a few things from you. I would love to keep helping to test/fix bugs for Python on Windows. Please contact me if there is anything you

[issue6074] .pyc files created readonly if .py file is readonly, python won't overwrite

2012-10-21 Thread Kevin Chen
Kevin Chen added the comment: Okay just tried it. This is under Windows 7 x64. I created a .py file with read-only permission. When I import the .py module, the created .pyc doesn't have read-only permission. So it works as intended under Windows OS. As long as under posix syste

[issue21067] Support Multiple finally clauses.

2014-03-25 Thread Kevin Cox
New submission from Kevin Cox: I think it would be useful to support multiple finally clauses. The idea would be that each clause would be run, even if prior clauses throw exceptions. The idea came when hunting a bug in the Mozilla test suite. The code looked like as follows. try

[issue18154] make install failed on solaris

2014-05-06 Thread Palm Kevin
Palm Kevin added the comment: Issue can be closed. I am not able to reproduce this any more... -- resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue21797] mmap read of single byte accesses more that just that byte

2014-06-17 Thread Kevin Smith
New submission from Kevin Smith: I am using the mmap module on Linux with python 2.7.6 to access memory-mapped IO. The device that I am accessing implements a hardware FIFO that holds 16-bit values and pops an entry when the MSB of the entry is read. I am trying to use the mmap module to do

[issue15880] os.path.split() and long UNC names

2012-11-01 Thread Kevin Chen
Changes by Kevin Chen : -- nosy: +kevin.chen ___ Python tracker <http://bugs.python.org/issue15880> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15587] IDLE is pixelated on the Macbook Pro with Retina Display

2012-11-26 Thread Kevin Walzer
Kevin Walzer added the comment: This can probably be fixed by setting this key in the app's info.plist file: NSHighResolutionCapable Under the hood, Tkinter/Tk-Cocoa uses CoreText to render text, and I understand this to adapt to high-res displays out of the box--as long as the prope

[issue21832] collections.namedtuple does questionable things when passed questionable arguments

2014-06-23 Thread Kevin Norris
New submission from Kevin Norris: Code such as this: class Foo: def __str__(self): # Perhaps this value comes from user input, or # some other unsafe source return something_untrusted def isidentifier(self): # Perhaps it

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-01 Thread Kevin Davies
New submission from Kevin Davies: The docstring of acosh should more accurately be "Return the area hyperbolic cosine of x." instead of "Return the hyperbolic arc cosine (measured in radians) of x." asinh and atanh should be changed similarly. The result of these functi

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Kevin Davies
Kevin Davies added the comment: Unfortunately I'm not currently set up with Mercurial and I'm not sure that it makes sense to get that going just for this. On 07/01/2014 06:47 PM, Ezio Melotti wrote: > Ezio Melotti added the comment: > > Do you want to propo

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Kevin Davies
Kevin Davies added the comment: Yes, 'inverse' is probably more obvious to understand than 'area', although it doesn't tie into the 'a' of 'acosh', etc. On 07/01/2014 08:24 PM, Mark Dickinson wrote: > Mark Dickinson added the comment: > >

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-02 Thread Kevin Davies
Kevin Davies added the comment: Mark: The patch looks good. Thanks! -- ___ Python tracker <http://bugs.python.org/issue21902> ___ ___ Python-bugs-list mailin

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-04 Thread Kevin Davies
Changes by Kevin Davies : Added file: http://bugs.python.org/file35863/TI-89.png ___ Python tracker <http://bugs.python.org/issue21902> ___ ___ Python-bugs-list mailin

[issue21902] Docstring of math.acosh, asinh, and atanh

2014-07-04 Thread Kevin Davies
Kevin Davies added the comment: I'm not sure what the resolution is (the patch was 'inverse', Mark said he'd be happy to use 'area', and Raymond quoted 'arc'). I didn't know this would be a big deal, and I'm sorry that I caused trouble.

[issue22131] uuid.bytes optimization

2014-08-03 Thread Kevin London
New submission from Kevin London: Generating the byte representation of a UUID object can be a little faster by using binascii's unhexlify on the hex value of the UUID object. In my testing, I saw about a 5.5x speed increase with the attached changes. Here are a set of benchmarks that

[issue22299] resolve() on Windows makes some pathological paths unusable

2014-08-29 Thread Kevin Norris
New submission from Kevin Norris: Run Python as an administrator: >>> import pathlib >>> pth = pathlib.Path('//?/C:/foo.') >>> pth.mkdir() >>> pth.resolve().rmdir() Traceback (most recent call last): File "", l

[issue22299] resolve() on Windows makes some pathological paths unusable

2014-08-29 Thread Kevin Norris
Kevin Norris added the comment: When the directory name is '...', the error is different: >>> pth = pathlib.Path('//?/C:/...') >>> pth.mkdir() >>> pth.resolve().rmdir() Traceback (most recent call last): File "",

[issue22299] resolve() on Windows makes some pathological paths unusable

2014-09-05 Thread Kevin Norris
Kevin Norris added the comment: I'm a little concerned about this fix. In particular, if I understand the design of the patch correctly, it is intended to produce this behavior: Path('C:/foo').resolve() != Path('//?/C:/foo').resolve() Since both paths are vali

[issue22391] MSILIB truncates last character in summary information stream

2014-09-11 Thread Kevin Phillips
New submission from Kevin Phillips: I recently exploited a subtle bug with the msilib module's GetProperty method on the SummaryInformation class. When retrieving string-typed properties from the stream the last character in the string gets truncated, replaced by a null-byte. I am

[issue22391] MSILIB truncates last character in summary information stream

2014-09-11 Thread Kevin Phillips
Kevin Phillips added the comment: I should mention that I did discover some source code on GitHub, presumably for this wrapper module, and I believe I found a few questionable parts in the logic for this library that may help explain the cause of this problem: https://github.com/python-git

[issue22549] bug in accessing bytes, inconsistent with normal strings and python 2.7

2014-10-03 Thread Kevin Hendricks
New submission from Kevin Hendricks: Hi, I am working on porting my ebook code from Python 2.7 to work with both Python 2.7 and Python 3.4 and have found the following inconsistency I think is a bug ... KevinsiMac:~ kbhend$ python3 Python 3.4.1 (v3.4.1:c0e311e010fc, May 18 2014, 00:54:21

[issue22549] bug in accessing bytes, inconsistent with normal strings and python 2.7

2014-10-03 Thread Kevin Hendricks
Kevin Hendricks added the comment: Thanks for letting me know this was expected behaviour. I see the same "issue" holds true while using: for c in b'0123456789': print(ord(c)) I ended up using slices nearly everyplace. Still ran into iterator issues. Horrible hack

[issue22582] Segmentation fault with string concatenation

2014-10-08 Thread Kevin Dyer
Kevin Dyer added the comment: The following can be used to generate a file called ```mega_concat.py```: ```python N = 2**17 my_array = [] for i in range(N): my_array.append("\"\"") print '+'.join(my_array) ``` Then: ```console $ python mega_concat.py S

[issue22582] Segmentation fault with string concatenation

2014-10-08 Thread Kevin Dyer
New submission from Kevin Dyer: The following can be used to generate a file called ```mega_concat.py```: ```python N = 2**17 my_array = [] for i in range(N): my_array.append("\"\"") print '+'.join(my_array) ``` Then: ```console $ python mega_concat.py S

[issue22583] Segmentation fault with string concatenation

2014-10-08 Thread Kevin Dyer
New submission from Kevin Dyer: The following can be used to generate a file called mega_concat.py: N = 2**17 my_array = [] for i in range(N): my_array.append("\"\"") print '+'.join(my_array) Then, on Ubuntu 14.04, 32-bit: $ python mega_concat.py Segmentation

[issue22583] Segmentation fault with string concatenation

2014-10-08 Thread Kevin Dyer
Kevin Dyer added the comment: Gotcha. Thanks for the explanation. Two questions: 1) Given that it's probably not an out-of-memory issue, is it possible that this could turn into something more malicious? (e.g., an arbitrary code execution vulnerability?) 2) It's not obvious to m

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2014-02-03 Thread Palm Kevin
Palm Kevin added the comment: +1 -- nosy: +palm.kevin ___ Python tracker <http://bugs.python.org/issue17213> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17213] ctypes loads wrong version of C runtime, leading to error message box from system

2014-02-03 Thread Palm Kevin
Palm Kevin added the comment: Reproducible for Py 3.2.5 -- versions: +Python 3.2 ___ Python tracker <http://bugs.python.org/issue17213> ___ ___ Python-bugs-list m

[issue6441] Tkinter cannot find *64 bit* Tcl/Tk on Mac OS X

2009-07-08 Thread Kevin Walzer
Changes by Kevin Walzer : -- nosy: +wordtech ___ Python tracker <http://bugs.python.org/issue6441> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6463] IDLE with Tk-Cocoa: Edit, format menus hang

2009-07-11 Thread Kevin Walzer
New submission from Kevin Walzer : In running IDLE against a build of Tk-Cocoa (8.5.7) on OS X, the edit and format menus sometimes hang and require a force-quit of IDLE. This happens when I try to paste text, and also when trying to format selections of text with indentation, etc. I&#x

[issue5262] PythonLauncher considered harmfull

2009-07-19 Thread Kevin Walzer
Kevin Walzer added the comment: I disagree that this is a bad idea--it's helpful to be able to double- click a GUI script and launch it automatically. I realize one can just fire up Terminal and go "python myscript.py," but I missed this functionality when it was broken and w

[issue6638] optparse parse_args argument references wrong

2009-08-03 Thread Kevin Quick
New submission from Kevin Quick : In optparse description of "16.4.3.7. Parsing arguments" (http:// docs.python.org/library/optparse.html#parsing-arguments) the keyword argument to parse_args is "values=None" but in the description of the "options" return value

[issue6463] IDLE with Tk-Cocoa: Edit, format menus hang

2009-08-17 Thread Kevin Walzer
Kevin Walzer added the comment: Following active development and several bugfixes in Tk-Cocoa 8.5.7, the issue with the cut/paste events in IDLE's edit menu has resolved itself. Therefore I am closing this bug. -- status: open -> closed __

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-08-22 Thread Kevin Walzer
Changes by Kevin Walzer : -- nosy: +ronaldoussoren ___ Python tracker <http://bugs.python.org/issue6075> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-09-06 Thread Kevin Walzer
Kevin Walzer added the comment: Tested against Tk-Cocoa (the build of Tk-8.5 that comes with Snow Leopard; I also have my own build on Leopard) and Tk-Carbon 8.5 on Leopard/10.5, and it works as expected. I no longer have any builds of 8.4 to test against. The code defaults to the current

[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2009-09-16 Thread Kevin Walzer
Kevin Walzer added the comment: The bug with the edit menu sounds like the same issues I noted in http://bugs.python.org/issue6463. I think it was related to something in Tk-Cocoa 8.5, which was resolved in a later build of Tk, and which is why I closed the bug. The build of Tk-Cocoa that

[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2009-09-16 Thread Kevin Walzer
Kevin Walzer added the comment: Ronald: No, unfortunately I was never able to reproduce the bug in pure Tcl. I tried various examples with the Tk text widget. I also tried various examples with the text widget via Tkinter. Each time the text widget, cutting, pasting, etc. worked as expected

[issue6864] IDLE 2.6.1 locks up on Mac OS 10.6

2009-09-20 Thread Kevin Walzer
Kevin Walzer added the comment: I don't understand the logic of saying that IDLE in Python 2.6.3 will not support Tk 8.5 in any fashion when you say that it runs fine with ActiveState Tk 8.5. 8.4 is obsolete. The "new window hang" bug is specific to the version of Tk 8.5.7. I

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-09 Thread Kevin Walzer
Kevin Walzer added the comment: I've run into an additional problem with these patches. While they correctly set up the menus for Python Shell and editor windows, when a front-most window is closed, the menubar suddenly displays duplicate entries (for Edit, Run, and Help) at the end o

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-10 Thread Kevin Walzer
Kevin Walzer added the comment: Single revised diff, "tkcocoa.diff", attached, applied against Python trunk. Have not tested against Python trunk, nor do I believe it solves the issue with the extra menu items appearing when a window is closed. But hopefully this will apply mo

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-11 Thread Kevin Walzer
Kevin Walzer added the comment: Re: msg 93821, the comment about redundant entries being appended to a menu when an EditorWindow is destroyed: I've reproduced this behavior in Tk-Cocoa itself, and have concluded it's not an issue with IDLE (or my patches). I've f

[issue7180] "pydoc -k" can generate AttributeError on Mac OS X

2009-10-20 Thread Kevin Grant
New submission from Kevin Grant : Running "pydoc -k ..." with a query string will end with a Python AttributeError while looking for Carbon.File.FSSpecType. I was using /usr/bin/pydoc on Mac OS X Snow Leopard, which is from Python 2.6.1. It appears that any query will produce a sim

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-10-21 Thread Kevin Walzer
Kevin Walzer added the comment: Apparently the extra menu entries are related to an Appkit bug on Leopard that Tk-Cocoa picks up; the bug is not present on Snow Leopard and won't be fixed on Leopard. As a result, I've closed

[issue5135] Expose simplegeneric function in functools module

2009-03-02 Thread Kevin Teague
Kevin Teague added the comment: The problem with generic functions supporting ABCs is it's a bug with the way ABCs work and not a problem with the generic function implementation. The register() method of an ABC only fakes out isinstance checks, it doesn't actually make the abstract

[issue1641] asyncore delayed calls feature

2009-03-25 Thread Kevin Watters
Changes by Kevin Watters : -- nosy: +kevinwatters ___ Python tracker <http://bugs.python.org/issue1641> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5711] socket.create_connection not in __all__

2009-04-06 Thread Kevin Watters
New submission from Kevin Watters : socket.create_connection was added in 2.6, but does not get exposed in socket's __all__. Attached is the simple fix against 2.6's socket.py. -- components: Library (Lib) files: socket-all-26.diff keywords: patch messages: 85656 nosy: ke

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-05-06 Thread Kevin Watters
New submission from Kevin Watters : I cannot reproduce this locally yet, but I have several bug reports from users showing that IMAP4_SSL connections can get stuck in an infinite loop during logout() File "imaplib.pyo", line 529, in logout File "imaplib.pyo", line 1059

[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

2009-05-07 Thread Kevin Watters
Kevin Watters added the comment: I wasn't sure--the docs for SSLSocket.read (http://docs.python.org/library/ssl.html#ssl.SSLSocket.read) say "Reads up to nbytes bytes from the SSL-encrypted channel and returns them." With that "up to" I wasn't sure that an

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
New submission from Kevin Walzer : In version 8.6 of Tk (now in beta stage), Tk on OS X will be built on top of the Cocoa API, replacing the deprecated Carbon API. Tk-Cocoa implements some UI behaviors (help menu, application menu) differently than Tk- Carbon. The attached files patch IDLE to

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
Changes by Kevin Walzer : Added file: http://bugs.python.org/file14027/Bindings.patch ___ Python tracker <http://bugs.python.org/issue6075> ___ ___ Python-bugs-list mailin

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
Changes by Kevin Walzer : Added file: http://bugs.python.org/file14028/macosxSupport.patch ___ Python tracker <http://bugs.python.org/issue6075> ___ ___ Python-bugs-list m

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
Kevin Walzer added the comment: These patches were tested on Python/IDLE 2.6.2 and Tk version 8.5.7. My build of Tk, which runs on top of Cocoa, is based on a fork of Tk hosted at http://github.com/das/tcltk/tree/de-carbon-8-5. Tk-Cocoa will become the main line for Mac OS X in Tk 8.6, now

[issue6076] Missing title for configDialog.py

2009-05-20 Thread Kevin Walzer
New submission from Kevin Walzer : The configDialog for IDLE in version 2.6.2 is missing a title in the window: this patch adds a "Preferences" title to the window. -- components: IDLE files: configDialog.patch keywords: patch messages: 88143 nosy: wordtech severity: nor

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
Kevin Walzer added the comment: This updated patch of macosxSupport.py adds a fix that addresses the preferences dialog, see http://bugs.python.org/issue5232. -- Added file: http://bugs.python.org/file14031/macosxSupport.patch ___ Python tracker

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-20 Thread Kevin Walzer
Changes by Kevin Walzer : Removed file: http://bugs.python.org/file14028/macosxSupport.patch ___ Python tracker <http://bugs.python.org/issue6075> ___ ___ Python-bug

[issue5232] Setting font from preference dialog in IDLE on OS X broken

2009-05-20 Thread Kevin Walzer
Kevin Walzer added the comment: Added Brad's snippet to macosxSupport.py: see http://bugs.python.org/issue6075 -- nosy: +wordtech ___ Python tracker <http://bugs.python.org/i

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-21 Thread Kevin Walzer
Changes by Kevin Walzer : Removed file: http://bugs.python.org/file14031/macosxSupport.patch ___ Python tracker <http://bugs.python.org/issue6075> ___ ___ Python-bug

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-21 Thread Kevin Walzer
Kevin Walzer added the comment: additional refinement to help_dialog command, makes menu consistent -- Added file: http://bugs.python.org/file14035/macosxSupport.patch ___ Python tracker <http://bugs.python.org/issue6

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-21 Thread Kevin Walzer
Changes by Kevin Walzer : Removed file: http://bugs.python.org/file14035/macosxSupport.patch ___ Python tracker <http://bugs.python.org/issue6075> ___ ___ Python-bug

[issue6075] Patch for IDLE/OS X to work with Tk-Cocoa

2009-05-21 Thread Kevin Walzer
Kevin Walzer added the comment: typo in macosxSupport.patch--fixed -- Added file: http://bugs.python.org/file14036/macosxSupport.patch ___ Python tracker <http://bugs.python.org/issue6

[issue6132] Implement the GIL with critical sections in Windows

2009-05-28 Thread Kevin Watters
Changes by Kevin Watters : -- nosy: +kevinwatters ___ Python tracker <http://bugs.python.org/issue6132> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue1327971] HTTPResponse instance has no attribute 'fileno'

2010-07-17 Thread Kevin Dwyer
Changes by Kevin Dwyer : -- nosy: +kevindication ___ Python tracker <http://bugs.python.org/issue1327971> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue5262] PythonLauncher considered harmfull

2010-07-29 Thread Kevin Walzer
Kevin Walzer added the comment: Ronald, I'd vote for warning if it's the default action. Would your other proposed change require users to set PythonLauncher as the opening app for each Python file, or would there be a way to manually set it as the default from Finder or

[issue29245] Can't write to NamedTemporaryFile

2017-01-11 Thread Kevin Bonham
New submission from Kevin Bonham: Python 3.6.0 (default, Dec 24 2016, 08:01:42) [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from tempfile impor

[issue29355] sqlite3: remove sqlite3_stmt_readonly()

2017-02-15 Thread Palm Kevin
Changes by Palm Kevin : -- nosy: +palm.kevin ___ Python tracker <http://bugs.python.org/issue29355> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29581] __init_subclass__ causes TypeError when used with standard library metaclasses (such as ABCMeta)

2017-02-20 Thread Kevin Shweh
Kevin Shweh added the comment: Doesn't that ignore_extra_args thing prevent InitX.__init_subclass__ from receiving the x argument it wanted? It doesn't seem like a solution. -- nosy: +Kevin Shweh ___ Python tracker <http://bu

[issue29671] Add function to gc module to check if any reference cycles have been reclaimed.

2017-02-27 Thread Kevin Mills
New submission from Kevin Mills: The intro paragraph for the gc module's documentation says: > Since the collector supplements the reference counting already used in > Python, you can disable the collector if you are sure your program does not > create reference cycles. How wou

[issue29671] Add function to gc module to check if any reference cycles have been reclaimed.

2017-02-27 Thread Kevin Mills
Kevin Mills added the comment: gc.disable() at the beginning and then analyzing the results of gc.collect() actually does do what I was wanting, thank you. Reference cycles in and of themselves aren't the problem. It's only a problem if garbage contains reference cycles. In a norm

[issue17128] OS X system openssl deprecated - installer should build local libssl

2016-07-01 Thread Kevin Ollivier
Kevin Ollivier added the comment: The OpenSSL included with OS X, still at 0.9.8, has become very dated and a growing number of servers (including openssl.org) now fail the handshake because they no longer support any of the protocols and ciphers included with that build. It is reaching the

[issue27516] Wrong initialization of python path with embeddable distribution

2016-07-14 Thread Palm Kevin
New submission from Palm Kevin: The way the python path is initialized with the embeddable python distribution makes no sense for me. If no environment variable PYTHONPATH is set, then the path is initialized like this: [python352]\python35.zip;.\DLLs;.\lib;[folder_of_executable

[issue27516] Wrong initialization of python path with embeddable distribution

2016-07-14 Thread Palm Kevin
Palm Kevin added the comment: BTW: Is there a good reason, the folder-of-the-executable is added to the python-path? I don't see any... -- ___ Python tracker <http://bugs.python.org/is

[issue27625] "make install" fails when no zlib support available

2016-07-26 Thread Palm Kevin
New submission from Palm Kevin: It seems that on linux (red hat), the "make install" fails when no zlib support is available. (I have no zlib installed and I don't want to do so) I reproduced the problem with both python 3.5.1 and python 3.5.2 The command 'configure

[issue27625] "make install" fails when no zlib support available

2016-07-26 Thread Palm Kevin
Palm Kevin added the comment: Yes. You are right. This solves the problem for me since I don't need pip. Do you think I should close the issue or rename it into '"make install" fails with pip when missing zlib dependency' ? -- _

[issue27625] "make install" fails when no zlib support available

2016-07-26 Thread Palm Kevin
Palm Kevin added the comment: Ok, but shouldn't it fail earlier? During "configure" or "make", not on "make install"... Perhaps with a message like "Unable to compile with pip because dependency zlib is missing" --

[issue19837] Wire protocol encoding for the JSON module

2016-07-29 Thread Kevin Dwyer
Changes by Kevin Dwyer : -- nosy: +kdwyer ___ Python tracker <http://bugs.python.org/issue19837> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17281] Broken links at pypi

2013-02-23 Thread Kevin Lyda
New submission from Kevin Lyda: The pypi entry for distutils2 has a comical set of broken links (docs and contributing): https://pypi.python.org/pypi/Distutils2 The following two paragraphs have broken links. Adding a link checker to your browser isn't the worst idea. The Distutils2 cod

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-17 Thread Kevin Barry
Kevin Barry added the comment: emmanuel, Thanks for the suggestion. Your workaround is exactly the same as using dup2 (in C) to replace stdin/stdout/stderr with the pty, however. If you added the following lines to your C code, it would have the same effect as the command-line redirection in

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-17 Thread Kevin Barry
Kevin Barry added the comment: One additional issue, which my patch doesn't address, is that PyRun_InteractiveLoop should really take *two* FILE* arguments, with the second one being optional. This is because on Linux (and presumably on other *nixes) if a read operation is blocked on a

[issue14916] PyRun_InteractiveLoop fails to run interactively when using a Linux pty that's not tied to stdin/stdout

2013-03-24 Thread Kevin Barry
Kevin Barry added the comment: emmanuel, Regarding your points: All three can be taken care of with a combination of my patch and setting sys.stdin, sys.stdout, and sys.stderr to the pty. (That should really be done internally with another patch, since os.fdopen is OS-specific. Also

<    1   2   3   4   5   >