[issue31880] subprocess process interaction with IDLEX GUI causes pygnuplot silent failures

2017-10-31 Thread John Brearley
John Brearley added the comment: The owner of PyGnuplot figured out that for Python 3.4+ that a flush on stdin is needed. IDLEX GUI now runs example.py and my own test code correctly. proc.stdin.flush() # send the command in python 3.4+ This leaves the interesting behavior of IDLEX GUI

[issue22908] ZipExtFile in zipfile can be seekable

2017-12-22 Thread John Jolly
John Jolly added the comment: Please be gentle, this is my first submission to python. The use case for me was a recursive zip-within-a-zip situation. I wanted to allow the creation of a zipfile.ZipFile from an existing zipfile.ZipExtFile, but the lack of seek prevented this. I simply

[issue28494] is_zipfile false positives

2017-12-30 Thread John Jolly
Change by John Jolly : -- pull_requests: +4934 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue28494> ___ ___ Python-bugs-list mai

[issue28494] is_zipfile false positives

2017-12-30 Thread John Jolly
John Jolly added the comment: Fix submitted that evaluates the ECD structure and validates the first CD entry. The fix also handles empty zipfiles. IMO the purpose of this API is to *quickly* verify that the file is a valid zipfile. With this fix, the API only reads another 46 bytes of data

[issue32476] Add concat functionality to ElementTree xpath find

2018-01-01 Thread John Jolly
New submission from John Jolly : The current implementation of the xpath specification in ElementTree does not allow for predicates that may contain both an apostrophe and a quote. Either one or the other is allowed, but escaping (either string escaping using the backslash or html escaping

[issue33516] unittest.mock: Add __round__ to supported magicmock methods

2018-05-17 Thread John Reese
Change by John Reese : -- nosy: +jreese, lukasz.langa ___ Python tracker <https://bugs.python.org/issue33516> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33880] namedtuple should use NFKD to find duplicate members

2018-06-16 Thread John Cooke
New submission from John Cooke : from collections import namedtuple # create a namedtuple whose members are: # 00B5;MICRO SIGN;Ll; # 03BC;GREEK SMALL LETTER MU;Ll # these are both legal identifier names names = ['\u00b5', '\u03bc'] for name in names: assert na

[issue33921] Explain that '' can be used to bind to all interfaces for the AF_INET address family in the docs

2018-06-20 Thread John Hagen
New submission from John Hagen : The socket documentation (https://docs.python.org/3/library/socket.html#socket-families) does not list '' as a way to bind to all interfaces for the AF_INET/AF_INET6 address family. This is answered on SO here: https://stackoverflow.com/a/8034146 b

[issue33921] Explain that '' can be used to bind to all interfaces for the AF_INET address family in the docs

2018-06-21 Thread John Hagen
John Hagen added the comment: @ammar2 I see that now. Yeah it's further down in the docs and doesn't actually call out '' like is done for AF_CAN: A tuple (interface, ) is used for the AF_CAN address family, where interface is a string representing a network interface n

[issue33983] unify types for lib2to3.pytree.Base.children

2018-06-27 Thread John Reese
New submission from John Reese : When type checking applications using lib2to3, the difference in types for lib2to3.pytree.Base.children versus Node.children makes it difficult to accept both leaves and nodes and programatically work with child nodes/leaves. Base/Leaf both have `children

[issue33983] unify types for lib2to3.pytree.Base.children

2018-06-27 Thread John Reese
Change by John Reese : -- keywords: +patch pull_requests: +7588 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue33983> ___ ___ Python-

[issue33983] unify types for lib2to3.pytree.Base.children

2018-06-28 Thread John Reese
John Reese added the comment: The problem I'm trying to solve is around functions that operate on a Union[Leaf, Node], and want to be able to do things like `grandchildren = node.children[0].children + node.children[1].children` (contrived example, but point being tuple+list=TypeError

[issue34323] False timeout log message on proactor close

2018-08-02 Thread John Nelson
New submission from John Nelson : Repro: 1. Run the attached script ('repro.py') Expected output: 2018-07-31 16:39:57,069 - asyncio - DEBUG - Using proactor: IocpProactor 2018-07-31 16:39:57,084 - root - INFO - Starting 2018-07-31 16:39:58,100 - root - INFO - Sleep done 2018-0

[issue34323] False timeout log message on proactor close

2018-08-02 Thread John Nelson
John Nelson added the comment: I *suspect* the issue is down to a discrepancy between: - IocpProactor.close(), and - IocpProactor._poll() When the former calls the latter, it seems to be expecting a truth value response from _poll() to indicate that no timeout occurred. However, the latter

[issue34323] False timeout log message on proactor close

2018-08-11 Thread John Nelson
John Nelson added the comment: Python 3.5.4 (v3.5.4:3f56838, Aug 8 2017, 02:17:05) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import platform, sys >>> platform.win32

[issue34693] PEPping distutils/core.py

2018-09-15 Thread John Joyce
New submission from John Joyce : In distutils/core.py ... Line 227 is over-indented, inconsistent with the rest of the file. Line 226 is over-indented, inconsistent with the rest of the file. Line 114 is over-indented by 2 characters, inconsistent with the rest of the file. else

[issue34693] PEPping distutils/core.py

2018-09-15 Thread John Joyce
John Joyce added the comment: Oh, I see. I did not realize that tidying would not be accepted. That explains a lot. As it offended linters based on PEPs I chose that as the best match. It is pedantic, but many linting actions are not far from compiling... they are generally parsing to

[issue34707] Python not reentrant

2018-09-16 Thread john skaller
New submission from john skaller : Executive Summary: Python currently is not properly re-entrant. This comment applies to the CAPI and particularly embedding. A fix is not possible in Python 3.x but should be scheduled for Python 4. On Linux all binary plugins are broken as well. The fault

[issue34707] Python not reentrant

2018-09-17 Thread john skaller
john skaller added the comment: eric: yes, that's relevant. Very happy it is discussed. Contrary to some indication in the post, passing a context handle around everywhere is NOT a burden at all. My system does exactly that. I would note, API's which already require, say, an i

[issue35000] aexit called after loop close

2018-10-16 Thread John Andersen
New submission from John Andersen : aexit called after loop close on death by signal. This seems odd, the __aexit__ method must be running in a loop because it is an async function. However if one calls shield then it dies. ''' $ python3.7 test.py Hello! # Ctrl-C before

[issue35000] aexit called after loop close

2018-10-16 Thread John Andersen
Change by John Andersen : Added file: https://bugs.python.org/file47872/test.py ___ Python tracker <https://bugs.python.org/issue35000> ___ ___ Python-bugs-list mailin

[issue18050] embedded interpreter or virtualenv fails with "ImportError: cannot import name MAXREPEAT"

2013-05-27 Thread Samuel John
Samuel John added the comment: Ned, incredibly helpful description. Thanks for investigating! I have nothing to add to that. -- ___ Python tracker <http://bugs.python.org/issue18

[issue18071] _osx_support compiler_fixup

2013-05-27 Thread Samuel John
New submission from Samuel John: In the `_osx_support.py` module, there seems to be a bug in the method `compiler_fixup` which occurs if * the `customize_compiler` method from `distutils/sysconfig` has been called and after that * `_compile` from `distutils/unixcompiler.py` is called. The

[issue18071] _osx_support compiler_fixup

2013-05-27 Thread Samuel John
Samuel John added the comment: The symptom for the end-user looks kind of weird: running build_ext building 'Cython.Plex.Scanners' extension / A p p l i c a t i o n s / X c o d e . a p p / C o n t e n t s / D e v e l o p e r / T o o l c h a i n s / X c o d e D e f a u l t . x c t

[issue18306] os.stat gives exception for Windows junctions in v3.3

2013-06-26 Thread John Jefferies
New submission from John Jefferies: If os.stat is executed on a Windows junction with Python 3.3 I see an exception: >>> import os >>> os.stat('C:\Windows\System32\config\systemprofile\SendTo') Traceback (most recent call last): File "", line

[issue18306] os.stat gives exception for Windows junctions in v3.3

2013-06-26 Thread John Jefferies
John Jefferies added the comment: On 26/06/2013 13:38, Christian Heimes wrote: > Christian Heimes added the comment: > > On my Windows box (Win 7) I'm getting an error with Python 3.2 and 3.3. It > looks like I'm not allowed to enter the parent directory (Zugriff verwe

[issue3692] improper scope in list comprehension, when used in class declaration

2013-07-05 Thread John McDonald
John McDonald added the comment: Could we possibly revisit this? This feels like an implementation detail, not something specified. Consider the different cases: Type "help", "copyright", "credits" or "license" for more information. >>> class A:

[issue16611] multiple problems with Cookie.py

2013-07-18 Thread John Dennis
John Dennis added the comment: I think your basic approach is fine and it's O.K. to break backwards compatibility. I'm not sure anyone was using the httponly and secure flags in the past because it was so broken, the logic was completely contradictory, so backwards compatibility

[issue18522] Error creating a raw string of r'\\?\'

2013-07-21 Thread John Jefferies
New submission from John Jefferies: I'm having trouble with a raw string of r'\\?\' as in the following session: >>> a = r'\\?\' File "", line 1 a = r'\\?\' ^ SyntaxError: EOL while scanning string literal

[issue18522] Error creating a raw string of r'\\?\'

2013-07-21 Thread John Jefferies
John Jefferies added the comment: Yes, thankyou; I missed that. Another search reveals the issue has come up under 11451 and 1271 at least. John -- ___ Python tracker <http://bugs.python.org/issue18

[issue12129] Document Object Model API - validation

2013-07-27 Thread John Cassidy
John Cassidy added the comment: I added the line print(str(doc)) after the call to getDomImplementation and verified that the errors that I'm seeing are coming from the xml.dom.minidom implemenation of xml.dom. Checking minidom.py I did not see any validation on the tagName that gets p

[issue18306] os.stat gives exception for Windows junctions in v3.3

2013-08-01 Thread John Jefferies
John Jefferies added the comment: On 01/08/2013 12:09, Tim Golden wrote: > Tim Golden added the comment: > > I propose to close this one: using Python 3.3 on Win7 I can successfully stat > NTFS Junctions. Is there any rem

[issue4709] Mingw-w64 and python on windows x64

2013-08-17 Thread John Pye
John Pye added the comment: This bug is still present in Python 2.7.5 on Windows 64-bit . I am currently providing the following instructions for MinGW-w64 users wanting to link to Python27.dll: http://ascend4.org/Setting_up_a_MinGW-w64_build_environment

[issue18907] urllib2.open FTP open times out at 20 secs despite timeout parameter

2013-09-02 Thread John Nagle
New submission from John Nagle: urllib2.open for an FTP url does not obey the timeout parameter. Attached test program times out on FTP open after 21 seconds, even though the specified timeout is 60 seconds. Timing is consistent; times have ranged from 21.03 to 21.05 seconds. Python

[issue18907] urllib2.open FTP open times out at 20 secs despite timeout parameter

2013-09-02 Thread John Nagle
John Nagle added the comment: Reproduced problem in Python 3.3 (Win32). Error message there is: Open of ftp://ftp.sec.gov/edgar/daily-index failed after 21.08 seconds: So this is broken in both Python 2.7 and Python 3.3. -- versions: +Python 3.3 Added file: http://bugs.python.org

[issue9530] integer undefined behaviors

2012-04-30 Thread John Regehr
John Regehr added the comment: Hi folks, I realize it was a long time ago that I reported this issue! Since then our tool has been made available: http://embed.cs.utah.edu/ioc/ In particular, that web page contains a pre-compiled version of the tool for recent Ubuntu on x86-64, that

[issue14980] ranlib: file: libpython2.7.a(pymath.o) has no symbols

2012-06-01 Thread Samuel John
New submission from Samuel John : Building python on the Mac (10.7.4) with latest Xcode shows ``` [...] ranlib: file: libpython2.7.a(pymath.o) has no symbols ``` Is that okay or a bug? -- assignee: ronaldoussoren components: Macintosh messages: 162078 nosy: ronaldoussoren, samueljohn

[issue14980] OSX: ranlib: file: libpython2.7.a(pymath.o) has no symbols

2012-06-01 Thread Samuel John
Changes by Samuel John : -- title: ranlib: file: libpython2.7.a(pymath.o) has no symbols -> OSX: ranlib: file: libpython2.7.a(pymath.o) has no symbols ___ Python tracker <http://bugs.python.org/issu

[issue13959] Re-implement parts of imp in pure Python

2012-06-05 Thread John Ehresman
John Ehresman added the comment: This may be a known problem, but imp.load_module fails when trying to load a C extension. This is with the 3.3a4 release on Windows, though I suspect the problem is cross-platform. -- nosy: +jpe ___ Python tracker

[issue13959] Re-implement parts of imp in pure Python

2012-06-05 Thread John Ehresman
John Ehresman added the comment: On 6/5/12 1:08 PM, Brett Cannon wrote: > > Brett Cannon added the comment: > > Does it work in Python 3.2, John? If it does then it's just an oversight > thanks to the lack of tests in test_imp and it shouldn't be too difficult

[issue15037] test_curses fails with OverflowError

2012-06-08 Thread John Bollinger
New submission from John Bollinger : I encountered this test failure while attempting to verify a patch for a separate issue, and I found that it occurs with the unmodified source on the default branch: LD_LIBRARY_PATH="$PWD" ./python -bb -Wd -m test -r -w -uall -v test_curses

[issue14390] Tkinter single-threaded deadlock

2012-06-08 Thread John Bollinger
John Bollinger added the comment: I attach a patch fixing the issue and providing a test and docs. The fix is substantially as I described earlier: a thread that holds the Tcl lock is permitted to acquire it logically any number of times, but physically attempts to acquire it only if it

[issue14390] Tkinter single-threaded deadlock

2012-06-08 Thread John Bollinger
John Bollinger added the comment: Yes, I have basically made tkinter's Tcl lock into an Rlock. With respect to Python3's Rlock implementation, though, are you talking about what I see in Modules/_threadmodule.c? Even if it would be acceptable to make the tkinter module depend on

[issue11445] python.exe on OS X shared-llbrary build erroneously linked to MacPorts python library

2012-06-11 Thread Samuel John
Changes by Samuel John : -- nosy: +samueljohn ___ Python tracker <http://bugs.python.org/issue11445> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14499] Extension module builds fail with Xcode 4.3 on OS X 10.7 due to SDK move

2012-06-11 Thread Samuel John
Changes by Samuel John : -- nosy: +samueljohn ___ Python tracker <http://bugs.python.org/issue14499> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue9679] unicode DNS names in urllib, urlopen

2012-06-13 Thread John Nagle
John Nagle added the comment: A "IRI library" is not needed to fix this problem. It's already fixed in the sockets library and the http library. We just need consistency in urllib2. urllib2 functions which take a "url" parameter should apply "encodings.idna

[issue9679] unicode DNS names in urllib, urlopen

2012-06-13 Thread John Nagle
John Nagle added the comment: The current convention is that domains go into DNS lookup as punycode, and the port, query, and fragment fields of the URL are encoded with percent-escapes. See http://lists.w3.org/Archives/Public/ietf-http-wg/2011OctDec/0155.html Python needs to get with the

[issue15099] exec of function doesn't call __getitem__ or __missing__ on undefined global

2012-06-18 Thread John Firestone
New submission from John Firestone : exec(source, Dict()) doesn't call Dict().__getitem__ or Dict().__missing__ if the source string contains a function and the function references an undefined global. class Dict1(dict): def __getitem__(self, key): print '__getite

[issue15099] exec of function doesn't call __getitem__ or __missing__ on undefined global

2012-06-18 Thread John Firestone
John Firestone added the comment: I find the behavior inconsistent. As you can see from this example, the exec'uted code *does* call the instance's overloaded __getitem__ and __missing__ methods when outside a function, but doesn

[issue15099] exec of function doesn't call __getitem__ or __missing__ on undefined global

2012-06-18 Thread John Firestone
John Firestone added the comment: Thank you all for the quick and interesting responses! Here is another example, this time showing a simple s sometimes behaves like globals()['s'] and sometimes doesn't. class Dict(dict): def __getitem__(self, key):

[issue9530] integer undefined behaviors

2012-06-20 Thread John Regehr
John Regehr added the comment: I the tests for today's cpython using IOC and got only the issues below. The on-purpose divide by zero should be OK but the shift by -2 probably wants to be fixed. ARITHMETIC UNDEFINED at : Op: <<=, Reason : Signed Left Shift: Right operand is neg

[issue15037] test_curses fails with OverflowError

2012-06-21 Thread John Bollinger
John Bollinger added the comment: The system on which I encountered the test failure uses ncurses 5.7, so that's consistent with the theory that the test is tickling an ncurses bug. I'll have a look at testing with ncurses 5.8, but it is not available from RedHat or CentOS (and it

[issue15037] test_curses fails with OverflowError

2012-06-21 Thread John Bollinger
John Bollinger added the comment: Clarification: "so that's not a good solution for most users" ... of RedHat-family distros, version 6.2 and earlier. In fact, it looks like RedHat is sticking with its current version of ncurses for RHEL 6.3, too, so no help is coming from tha

[issue15037] test_curses fails with OverflowError

2012-06-21 Thread John Bollinger
John Bollinger added the comment: Ok, I confirm that the test passes after the system's ncurses library is upgraded to ncurses 5.8, and fails again when ncurses is downgraded back to version 5.7. -- ___ Python tracker <http://bugs.py

[issue15127] Supressing warnings with -w "whether gcc supports ParseTuple"

2012-06-21 Thread Samuel John
New submission from Samuel John : In configrue.in, Python checks if the compiler supports __attribute__((format(PyArg_ParseTuple, 2, 3))) and sets the CFLAGS to "CFLAGS -Werror" to decide this test. When you build Python with "CFLAGS=-w" (homebrew's default), config

[issue15362] pyport.h includes antiquated UTF handling for FreeBSD

2012-07-15 Thread John Schneider
New submission from John Schneider : Revision 36793 introduced a libc wrapper for FreeBSD 5.x which addressed some UTF issues. Unfortunately, this causes C compilation errors for certain ports. Also reference issues 10910, 1455641 This change is no longer applicable for FreeBSD 9. I'

[issue15381] Optimize BytesIO to so less reallocations when written, similarly to StringIO

2012-07-17 Thread John O'Connor
Changes by John O'Connor : -- nosy: +jcon ___ Python tracker <http://bugs.python.org/issue15381> ___ ___ Python-bugs-list mailing list Unsubsc

[issue15754] Traceback message not returning SQLite check constraint details

2012-08-21 Thread John Taylor
New submission from John Taylor: According to: http://www.sqlite.org/releaselog/3_7_12.html SQLite has the ability to, "Report the name of specific CHECK constraints that fail." CPython 3.3.0b2 which uses SQLite version 3.7.12 does not report which constraint failed. -- impor

[issue15754] Traceback message not returning SQLite check constraint details

2012-08-21 Thread John Taylor
John Taylor added the comment: When I run this under Windows 7: Platform : CPython 3.3.0b2 SQLite : 3.7.12 Traceback (most recent call last): File "C:bug.py", line 34, in c.execute(query, ("2012-18-20", ) ) sqlite3.IntegrityErro

[issue15754] Traceback message not returning SQLite check constraint details

2012-08-21 Thread John Taylor
John Taylor added the comment: I believe patching Python is beyond my programming capability. I would be very interested in seeing this in 3.3.1. How else could I assist in making this happen? Thanks! -- ___ Python tracker <h

[issue15754] Traceback message not returning SQLite check constraint details

2012-08-21 Thread John Taylor
John Taylor added the comment: Chris, I will try naming the constraints and will then follow-up. -- ___ Python tracker <http://bugs.python.org/issue15

[issue15754] Traceback message not returning SQLite check constraint details

2012-08-21 Thread John Taylor
John Taylor added the comment: Please close this ticket. This is not a bug. As per cjerdonek's suggestion, defining a constraint as follows: constraint my_name check (...) returns the actual name of the constraint, when it fails: sqlite3.IntegrityError: constraint my_name f

[issue13405] Add DTrace probes

2012-08-22 Thread Samuel John
Samuel John added the comment: On OS X 10.8 with Xcode only (no command line tools), I get the following err (when using clang or when using llvm-gcc): ``` dtrace: failed to compile script ./Include/pydtrace.d: Preprocessor not found make: *** [Include/pydtrace.h] Error 1 ``` At homebrew we

[issue13405] Add DTrace probes

2012-08-28 Thread Samuel John
Samuel John added the comment: I did your test. Thank you! You are absolutely right, it seems, dtrace does not honor "CPP" or "PATH" or any other flags and bluntly looks in a hard-coded location. It's not up to you to patch that. -- _

[issue13405] Add DTrace probes

2012-08-29 Thread Samuel John
Samuel John added the comment: dtrace ignores PATH and CC and CPP. I tried that already :/ Of course I could just install the command line tools. But still it's a shame since all the tools are already there. -- ___ Python tracker

[issue15873] "datetime" cannot parse ISO 8601 dates and times

2012-09-06 Thread John Nagle
New submission from John Nagle: The datetime module has support for output to a string of dates and times in ISO 8601 format ("2012-09-09T18:00:00-07:00"), with the object method "isoformat([sep])". But there's no support for parsing such strings. A string to dateti

[issue15873] "datetime" cannot parse ISO 8601 dates and times

2012-09-06 Thread John Nagle
John Nagle added the comment: Re: "%z format is supported". That's platform-specific; the actual parsing is delegated to the C library. It's not in Python 2.7 / Win32: ValueError: 'z' is a bad directive in format '%Y-%m-%dT%H:%M:%S%z' It re

[issue15873] "datetime" cannot parse ISO 8601 dates and times

2012-09-09 Thread John Nagle
John Nagle added the comment: For what parts of ISO 8601 to accept, there's a standard: RFC3339, "Date and Time on the Internet: Timestamps". See section 5.6: date-fullyear = 4DIGIT date-month = 2DIGIT ; 01-12 date-mday = 2DIGIT ; 01-28, 01-29, 01-30,

[issue15972] wrong error message for os.path.getsize

2012-09-19 Thread John Taylor
New submission from John Taylor: import os.path a = [ r'c:\Windows\notepad.exe' ] print( os.path.getsize(a) ) Under Python 3.2.3, this error message is returned: File "c:\python32\lib\genericpath.py", line 49, in getsize return os.stat(filename).st_size TypeError:

[issue15973] Segmentation fault on timezone comparison

2012-09-19 Thread John Taylor
John Taylor added the comment: Crashes Python 3.2.3 and Python 3.3.0rc2 on Windows 7 as well. -- nosy: +jftuga ___ Python tracker <http://bugs.python.org/issue15

[issue15972] wrong error message for os.path.getsize

2012-09-21 Thread John Taylor
John Taylor added the comment: OP here. These error messages are much better. Thanks! -- ___ Python tracker <http://bugs.python.org/issue15972> ___ ___ Pytho

[issue12805] Optimizations for bytes.join() et. al

2012-10-20 Thread John O'Connor
John O'Connor added the comment: I think that's a good compromise and much better than what I had originally. - John -- ___ Python tracker <http://bugs.python.o

[issue13405] Add DTrace probes

2014-03-19 Thread John Beck
Changes by John Beck : -- nosy: +jbeck ___ Python tracker <http://bugs.python.org/issue13405> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue20987] Python for AS/400 (OS/400) is actually 2.7

2014-03-19 Thread John Yeung
New submission from John Yeung: Not sure if this is the right place to report this, but the "other platforms" page <https://www.python.org/download/other/> says the AS/400 port by Per Gummedal is 2.5. While it's true that he did port 2.5 quite a while back, the 2.7 port h

[issue21144] ensurepip "AssertionError: Multiple .dist-info directories"

2014-04-06 Thread Samuel John
Changes by Samuel John : -- nosy: +samueljohn ___ Python tracker <http://bugs.python.org/issue21144> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21151] winreg.SetValueEx causes crash if value = None

2014-04-14 Thread John Ehresman
John Ehresman added the comment: Here's a simple patch with a test. Oddly, the test doesn't fail before the fix is applied when run with rt.bat, but fails when run directly. -- keywords: +patch nosy: +jpe Added file: http://bugs.python.org/file34840/fix-none-

[issue8901] Windows registry path not ignored with -E option

2014-04-14 Thread John Ehresman
John Ehresman added the comment: Is still an issue with importlib? At this point, I don't think this change can be made on 2.7 or 3.2. -- nosy: +jpe ___ Python tracker <http://bugs.python.org/i

[issue21311] Fix compiler detection when brew's ccache is installed on Mac OS X

2014-04-19 Thread John Szakmeister
New submission from John Szakmeister: It's pretty typical for ccache packages to install symlinks for compilers that may not be present on the system, such as Homebrew's ccache package. Unfortunately, the _osx_support.py file is mislead by the presence of the symlink and ends up b

[issue21311] Fix compiler detection when brew's ccache is installed on Mac OS X

2014-04-19 Thread John Szakmeister
John Szakmeister added the comment: Here's the alternate fix. -- Added file: http://bugs.python.org/file34973/alt-fix-osx-llvm-detection-with-ccache.patch ___ Python tracker <http://bugs.python.org/is

[issue21311] Fix compiler detection when brew's ccache is installed on Mac OS X

2014-04-19 Thread John Szakmeister
John Szakmeister added the comment: Thank you Ned! The issue is that you can create symlinks to ccache to and put them on your path. Distros do this for you now, but most create symlinks for a bunch of compilers... including ones that may not be installed. So the presence of the name (

[issue21370] segfault from simple traceback.format_exc call

2014-04-27 Thread John Rusnak
New submission from John Rusnak: Launch python3.3 and then >>> import traceback >>> tracebacke.format_exc() Seomteims a long trace about missing attribute is produced, on subequent of sometimes first call, python executable segfaults. I see this behavior in an app as

[issue21412] core dump in PyThreadState_Get when built --with-pymalloc

2014-05-01 Thread John Beck
New submission from John Beck: I am porting Python 3.4.0 to Solaris 12. The Makefile I inherited from my predecessor had --without-pymalloc as an option to be passed to configure. Curious why, I removed this line, only to find that after python was built, it core dumped: LD_LIBRARY_PATH

[issue21412] core dump in PyThreadState_Get when built --with-pymalloc

2014-05-01 Thread John Beck
John Beck added the comment: Using Oracle Studio 12.3, same as mentioned in http://bugs.python.org/issue15963#msg170661 (as Stefan pointed out). I am using some of those flags but not all of them. I will try the others when I have a chance, then report back

[issue21412] core dump in PyThreadState_Get when built --with-pymalloc

2014-05-02 Thread John Beck
John Beck added the comment: Victor: sure; see attached. -- Added file: http://bugs.python.org/file35140/where.out ___ Python tracker <http://bugs.python.org/issue21

[issue21454] asyncio's loop.connect_read_pipe makes pipes non-blocking contrary to the documentation

2014-05-08 Thread John Isidore
New submission from John Isidore: the documentation for BaseEventLoop.connect_read_pipe says: > "pipe is file-like object **already switched** to nonblocking." http://hg.python.org/cpython/file/232938736a31/Doc/library/asyncio-eventloop.rst#l453 But it looks like connect_read_p

[issue21412] core dump in PyThreadState_Get when built --with-pymalloc

2014-05-12 Thread John Beck
John Beck added the comment: Victor: * This is not a SPARC-specific issue; the exact same failure occurs on x86. * I had built Python 3.3 (some time ago) but only --without-pymalloc. But I tried just now rebuilt Python 3.3 --with-pymalloc, and it failed in the exact same way

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-19 Thread John Lehr
New submission from John Lehr: plistlib has key error when attempting to load the iOS7 var/mobile/Applications/com.apple.mobilesafari/Library/Safari/History.plist. No detected issues with other iOS7 plists. In [8]: with open('cases/vitale_test_iphone/unback/AppDomain-com.apple.mobiles

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-19 Thread John Lehr
John Lehr added the comment: I have shared the file for which I have permission, but neither of two History.plists in my possession will load, both with the same traceback. Thank you. On Mon, May 19, 2014 at 4:18 PM, Ned Deily wrote: > > Ned Deily added the comment: > > Can

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-19 Thread John Lehr
John Lehr added the comment: Ned, I understand. I did get permission to post that history, and as I feared, the sanitized History.plist I'm attaching now doesn't have the loading issue that the first did. Possibly a URL character is throwing the exception? Can you suggest where I

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-20 Thread John Lehr
John Lehr added the comment: Serhiy, I applied the patch and can confirm this is a fix (three previous failing loads of History.plists from three different devices now load successfully). Thank you, I would not likely have identified the issue myself. On Mon, May 19, 2014 at 11:08 PM, Serhiy

[issue21538] plistlib unable to load iOS7 Safari History.plist

2014-05-20 Thread John Lehr
John Lehr added the comment: Patch plistlib_read_refs_2.patch corrects load error for iOS Safari History.plist. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue16136] Removal of VMS support

2014-06-16 Thread John Malmberg
John Malmberg added the comment: Does not look like anything vital to VMS got removed. Configure basically worked under current GNV. And a few tweaks later with out changing any files checked out of the Mercurial repository, make is producing a functional python binary before it quits. bash

[issue16136] Removal of VMS support

2014-06-18 Thread John Malmberg
John Malmberg added the comment: Most of the issues needed to build python3 properly on VMS involve either bugs in the VMS C API that need to be worked around or missing libraries that Python3 expects to have. As none of the Python developers should need to care about this, and these issues

[issue21809] Building Python3 on VMS - External repository

2014-06-19 Thread John Malmberg
New submission from John Malmberg: With issue 16136 VMS support was removed for Python V3 A test build of the in-development branch using the UNIX instruction and the current GNV product with a few minor tweaks produced a Python.exe interpreter that is somewhat functional. Most of the issues

[issue21809] Building Python3 on VMS - External repository

2014-06-19 Thread John Malmberg
John Malmberg added the comment: This is an informational ticket. At this point, it is a spare time activity for me. Hopefully there are other interested parties to help. Time will tell. -- ___ Python tracker <http://bugs.python.org/issue21

[issue16611] multiple problems with Cookie.py

2012-12-04 Thread John Dennis
New submission from John Dennis: There are multiple problems with Cookie.py. Some of the issues are covered in http://bugs.python.org/issue3073 which is still open (after 4.5 years). In all honesty the API and the implementation are not great perhaps the best thing would be to remove it from

[issue16607] Bad examples in documentation

2012-12-12 Thread John Hampton
John Hampton added the comment: The documentation is correct. The problem that you seem to be having are due to copy and pasting in the interpreter. The source of you first error is that after you copy >>> def scope_test(): ... def do_local(): ... spam = "local spa

[issue16607] Bad examples in documentation

2012-12-13 Thread John Hampton
John Hampton added the comment: Ok, but perhaps in order to aviod confusion the documentation could be changed so that the examples are complete or have an additional new line as needed. Well, they are complete. And it's only an issue with the interpreter. If you were to copy and past

[issue15663] Investigate providing Tcl/Tk 8.5 with OS X installers

2012-12-30 Thread Samuel John
Samuel John added the comment: Sounds reasonable, but please put the libs not in a place that might conflict with a Tk installed by other means (e.g. homebrew's Tk is a `/usr/local`). -- nosy: +samueljohn ___ Python tracker <http://bugs.py

[issue1584] Mac OS X: building with X11 Tkinter

2013-01-03 Thread Samuel John
Samuel John added the comment: Hello from Homebrew (Mac)! Indeed we also patch setup.py (but right now only for python2.7) and uncommented the "detect_tkinter_darwin" related lines to support linking against a Tkinter build with homebrew (optionally with X11 support). (Our pa

<    1   2   3   4   5   6   7   8   9   10   >