Re: [Ironpython-users] trouble installing Pylint

2015-07-21 Thread Daniel Fernandez
Hi George, I ran the same command line arguments and it installed correctly. Here is my output c:\IronPython27>ipy.exe -X:Frames -m pip install pylint Downloading/unpacking pylint C:\IronPython27\Lib\site-packages\pip\_vendor\requests\packages\urllib3\connectionpool.py:1: DeprecationWarning:

[Ironpython-users] issue with chardtect.detect with unicode type

2015-06-04 Thread Daniel Fernandez
Hi All, I'm playing with request but running into an issue with chardet.detect call. def detect(aBuf): if ((version_info < (3, 0) and isinstance(aBuf, unicode)) or (version_info >= (3, 0) and not isinstance(aBuf, bytes))): raise ValueError('Expected a bytes object, not

Re: [Ironpython-users] IronPython running WDB client

2015-05-24 Thread Daniel Fernandez
Hi All, I was mistaken I needed to add -X:Tracing which enable the correct f_lineno Danny From: fernandez_d...@hotmail.com To: kerray...@gmail.com; m.scha...@codesys.com; ironpython-users@python.org Date: Sun, 24 May 2015 09:17:54 -0600 Subject: Re: [Ironpython-users] IronPython running WDB c

Re: [Ironpython-users] IronPython running WDB client

2015-05-24 Thread Daniel Fernandez
Hi All, It looks like one is always returned for f_lineno. Here is the output for a simple example output IronPython vs CPython. I used -X:FullFrames for ipy.exe. IronPython 2.7.5 (2.7.5.0) on .NET 4.0.30319.0 (32-bit) Type "help", "copyright", "credits" or "license" for more information. >>>

Re: [Ironpython-users] IronPython 2.7.5 ensurepip error

2014-12-23 Thread Daniel Fernandez
Hi Jeff, I figured out the issue. It was my bad. I had an old ipy.exe.config file that had a redirect to older assembly. Danny From: Ironpython-users [mailto:ironpython-users-bounces+fernandez_dan2=hotmail@python.org] On Behalf Of Daniel Fernandez Sent: Saturday, December 20, 2014

Re: [Ironpython-users] IronPython 2.7.5 ensurepip error

2014-12-20 Thread Daniel Fernandez
ronpython-users@python.org > > On Sat, Dec 20, 2014 at 2:31 AM, Daniel Fernandez > wrote: > > Hi All, > > > > I am getting an error calling ensurepip. I got it working on of my systems > > but I can getting the following error > > > > > > c:\I

[Ironpython-users] IronPython 2.7.5 ensurepip error

2014-12-19 Thread Daniel Fernandez
Hi All, I am getting an error calling ensurepip. I got it working on of my systems but I can getting the following error c:\IronPython27>ipy.exe -X:Frames -m ensurepip Unhandled exception: Traceback (most recent call last): File "c:\IronPython27\Lib\runpy.py", line 175, in run_module Fi

[Ironpython-users] Ironpython and Android

2014-11-07 Thread Daniel Fernandez
Hi All, I was wondering if there is a plan to have IronPython supported on Android. I wanted to spend some time to help out in that arena. I am thinking about getting an Xamarin developer license but not sure where I to start. Is there somewhere I can look to see what areas need to be worked on

Re: [Ironpython-users] requests hang on get or post http request

2014-10-21 Thread Daniel Fernandez
Hi Jeff, I thought I checked in that in. I guess I lost it when I branched. Is there time to still check it in? Danny -Original Message- From: Jeff Hardy [mailto:jdha...@gmail.com] Sent: Monday, October 20, 2014 4:17 PM To: Daniel Fernandez Cc: ironpython-users@python.org Subject: Re

Re: [Ironpython-users] requests hang on get or post http request

2014-08-26 Thread Daniel Fernandez
: Fri, 22 Aug 2014 10:44:27 +0100 > Subject: Re: [Ironpython-users] requests hang on get or post http request > From: jdha...@gmail.com > To: fernandez_d...@hotmail.com > CC: ironpython-users@python.org > > On Thu, Aug 21, 2014 at 5:37 PM, Daniel Fernandez > wrote: > > Hi

Re: [Ironpython-users] requests hang on get or post http request

2014-08-22 Thread Daniel Fernandez
Ironpython-users] requests hang on get or post http request > From: jdha...@gmail.com > To: fernandez_d...@hotmail.com > CC: ironpython-users@python.org > > On Thu, Aug 21, 2014 at 5:37 PM, Daniel Fernandez > wrote: > > Hi All, > > > > I'm using the late

[Ironpython-users] requests hang on get or post http request

2014-08-21 Thread Daniel Fernandez
Hi All, I'm using the latest 2.7.5 b3 code and I wanted to see if requests works. I pulled the latest from github. It would hang on simple requests.get or requests.post. It would hang on the reading the http response. I attached the debugger and traced it to PythonBinaryReader:Read method. in t

Re: [Ironpython-users] bytearray comparison failure

2014-08-18 Thread Daniel Fernandez
asses test_bytes unit test. Danny Date: Mon, 18 Aug 2014 13:51:17 -0700 Subject: Re: [Ironpython-users] bytearray comparison failure From: slide.o@gmail.com To: fernandez_d...@hotmail.com CC: ironpython-users@python.org Can you fork on github and provide a merge request? On Mon, Aug 18, 2014 at

Re: [Ironpython-users] bytearray comparison failure

2014-08-18 Thread Daniel Fernandez
; it works now below. Dany Date: Mon, 18 Aug 2014 12:49:04 -0700 Subject: Re: [Ironpython-users] bytearray comparison failure From: slide.o@gmail.com To: fernandez_d...@hotmail.com CC: ironpython-users@python.org ByteArray.cs the Equals method. On Mon, Aug 18, 2014 at 11:50 AM, Daniel

[Ironpython-users] bytearray comparison failure

2014-08-18 Thread Daniel Fernandez
Hi All, I ran into an issue comparing bytearray with a string value. I created an issue 35470 on codeplex. The code snippet that can reproduce the issue isx = bytearray(b'Danny')y = 'Danny'x == y IronPython 2.7.5b3 this is False and CPython 2.7.8 is True. My question is where in the IronPython c

Re: [Ironpython-users] bytearray encoding issue

2014-08-17 Thread Daniel Fernandez
ide.o@gmail.com To: fernandez_d...@hotmail.com You are probably running into this http://ironpython.codeplex.com/workitem/21334. As is mentioned in the issue, I believe this shouldn't really work in cpython, but does because str implements the buffer interface. On Aug 17, 2014 5:21 P

[Ironpython-users] bytearray encoding issue

2014-08-17 Thread Daniel Fernandez
Hi All, I ran into an issue bytearray with encoding. The scenario I am using it is with read/writing data over the serial com port. I notice in CPython 2.7.8 the following works >>> bytearray('Michael Gilfix was here\n')bytearray(b'Michael Gilfix was >>> here\n') In IronPython 2.7.5 beta I get

Re: [Ironpython-users] Item 34263 in 2.7.5?

2014-04-09 Thread Daniel Fernandez
.0", "3.1", "3.2"] we will never have to remove the u"unicode string marker", which was the biggest pain in writing runs-on-either version code. 2.7 <-> 3.3 is easy. On Wed, Apr 9, 2014 at 7:58 PM, Daniel Fernandez wrote: Hi Jeff, Do you think this

Re: [Ironpython-users] Item 34263 in 2.7.5?

2014-04-09 Thread Daniel Fernandez
Hi Jeff, Do you think this will be released in 2.7.6? Danny > Date: Wed, 9 Apr 2014 08:58:14 +0100 > From: jdha...@gmail.com > To: jkf...@gmail.com > CC: ironpython-users@python.org > Subject: Re: [Ironpython-users] Item 34263 in 2.7.5? > > On Tue, Apr 8, 2014 at 5:02 PM, John Fullmer wrote: >

Re: [Ironpython-users] Launch ipy.exe from Host

2014-03-14 Thread Daniel Fernandez
lect.com > > <529A2558-817C-467F-8E7E-0789B90D675C[48].png> > Register today for access to our high-quality on-demand training resources! > > From: Daniel Fernandez > Date: Friday, March 14, 2014 at 9:13 PM > To: "ironpython-users@python.org" > Subje

[Ironpython-users] Launch ipy.exe from Host

2014-03-14 Thread Daniel Fernandez
Hi All, I have IronPython embedded in my application to run predefined scripts. I experiment and debug a lot in the interactive environment outside of my application. I was wondering if I could launch ipy from my application and pass it my ScriptScope for debug/experimenting purposes? I know I

[Ironpython-users] issue with distribute_setup.py

2013-07-15 Thread Daniel Fernandez
Hi All, I ran into an issue trying to execute dsitribute_setup.py. I used both the -X:Frames and -X:FullFrames but I am getting an error message sys module does not contain '_getframe'. Here is the output c:\Users\Daniel\Downloads>c:\IronPython27\ipy.exe -X:Frames distribute_setup.pyExtracting

Re: [Ironpython-users] PyTest incompatible: Unsupported param dictionary type: IronPython.Runtime.PythonDictionary

2013-07-13 Thread Daniel Fernandez
Files (x86)\IronPython 2.7\lib\site-packages\pytest-2.3.5-py2.7.egg\pytest.py", line 15, in File "c:\Program Files (x86)\IronPython 2.7\lib\site-packages\pytest-2.3.5-py2.7.egg\_pytest\core.py", line 462, in _preloadplugins File "c:\Program Files (x86)\IronPython 2.7

Re: [Ironpython-users] PyTest incompatible: Unsupported param dictionary type: IronPython.Runtime.PythonDictionary

2013-07-11 Thread Daniel Fernandez
param dictionary type: IronPython.Runtime.PythonDictionary From: slide.o@gmail.com To: fernandez_d...@hotmail.com CC: timoteo1...@gmail.com; ironpython-users@python.org Looks like a bug then, please file it on Codeplex and put in the test to reproduce it. On Thu, Jul 11, 2013 at 6:59 AM, D

Re: [Ironpython-users] PyTest incompatible: Unsupported param dictionary type: IronPython.Runtime.PythonDictionary

2013-07-11 Thread Daniel Fernandez
I was able to reproduce this issue with this snippet of code. >>> from types import ModuleType>>> class A(ModuleType):... def >>> __init__(self, d):... pass...>>> t = dict()>>> A(d = t)Traceback >>> (most recent call last): File "", line 1, in SystemError: >>> Unsupported param dic

[Ironpython-users] WPF can't locate Resource File

2012-10-06 Thread Daniel Fernandez
Hi, I'm having a problem with trying to find a xaml resource file. I am using the PyWpfSample as my starting point but I added a resource. I have tried various ways to reference ResourceDictionary> and The only way I could get it to work is t

[Ironpython-users] Rough Schedule for 2.7.3 release

2012-06-25 Thread Daniel Fernandez
Hi Jeff, 2.7.3 looks real nice! I wanted to check if there was a certain schedule for an estimated time for releasing 2.7.3? Thanks Danny ___ Ironpython-users mailing list Ironpython-users@python.org http://mail.pyth

Re: [Ironpython-users] binary strings in 2.7.2 alpha?

2012-02-04 Thread Daniel Fernandez
To: fernandez_d...@hotmail.com > CC: ironpython-users@python.org > > On Fri, Feb 3, 2012 at 5:39 PM, Daniel Fernandez > wrote: > > I was trying to get Requests package to work with IronPython. I just briefly > > started playing with it and I like the HTTP api syntax. I

Re: [Ironpython-users] binary strings in 2.7.2 alpha?

2012-02-03 Thread Daniel Fernandez
ython internals.Thanks Danny > Date: Fri, 3 Feb 2012 17:15:19 -0800 > Subject: Re: [Ironpython-users] binary strings in 2.7.2 alpha? > From: jdha...@gmail.com > To: fernandez_d...@hotmail.com > CC: ironpython-users@python.org > > On Fri, Feb 3, 2012 at 5:00 PM, Daniel Fern

[Ironpython-users] binary strings in 2.7.2 alpha?

2012-02-03 Thread Daniel Fernandez
Hi All, I'm playing with open source package and I am getting an error with prefix "b" with a string literal with expected str and got bytes. Here is a simple example, IronPython 2.7.2 alpha I get the following >>> type(b"/") In CPython 2.7.2 I get the following >>> type(b"/") I searched f

Re: [Ironpython-users] type for unicode and str

2012-02-02 Thread Daniel Fernandez
+dinov=microsoft@python.org [mailto:ironpython-users-bounces+dinov=microsoft@python.org] On Behalf Of Daniel Fernandez Sent: Tuesday, January 31, 2012 8:55 PM To: ironpython-users@python.org Subject: [Ironpython-users] type for unicode and str Hi All, I was just playing with unicode

[Ironpython-users] type for unicode and str

2012-01-31 Thread Daniel Fernandez
Hi All, I was just playing with unicode strings and I notice a difference with CPython and IronPython. On CPython 2.7.2 I get the following >>> type(u"A") >>> type("A") On Ironpython the latest 2.7.2 Alpha 1 I get the following >>> type(u"A") >>> type("A") I decided to crack open the sou

Re: [Ironpython-users] Reload module within embedded C# app

2011-12-21 Thread Daniel Fernandez
n.org > > On Wed, Dec 21, 2011 at 11:32 AM, Daniel Fernandez > wrote: > > Hi Jeff, > > > > I downloaded NWSGI and see where you call engine.ImportModule in > > the WsgiApplication.GetApplicationInfo method. It works great with that > > module changes. >

[Ironpython-users] Reload module within embedded C# app

2011-12-20 Thread Daniel Fernandez
Hi All, I have an embedded Python engine in my C# app that executes python scripts. I have a filewatcher watching if any python scripts have been modified. I am trying to perform a reload within my C# app but I didn't couldn't figure out how to perform this. The best I could figured out was

Re: [Ironpython-users] IronPython 2.7.1 Missing Prompts with -i parameter

2011-12-08 Thread Daniel Fernandez
To: fernandez_d...@hotmail.com > CC: ironpython-users@python.org > > On Thu, Dec 8, 2011 at 5:28 AM, Daniel Fernandez > wrote: > > Hi All, > > > > I'm running the latest IronPython 2.7.1 and I'm not seeing the prompts with > > the -i parameter. It works

[Ironpython-users] IronPython 2.7.1 Missing Prompts with -i parameter

2011-12-08 Thread Daniel Fernandez
Hi All, I'm running the latest IronPython 2.7.1 and I'm not seeing the prompts with the -i parameter. It works without the -i but not luck trying execute a script then continuing to interactive mode. I notice that in the PythonCommandLine the Prompt field has been overridden. It tries to ge

[Ironpython-users] IronPython 2.7.1 release Question

2011-10-03 Thread Daniel Fernandez
Hi All, I was wondering if there was an estimated time frame to release IronPython 2.7.1? Thanks Danny ___ Ironpython-users mailing list Ironpython-users@python.org http://mail.python.org/mailman/listinfo/ir