From no_reply at codeplex.com Wed Aug 1 16:14:24 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 1 Aug 2012 07:14:24 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 7/31/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] print u'\xe4'.encode(sys.stdout.encoding) -> ? 2. [New comment] print u'\xe4'.encode(sys.stdout.encoding) -> ? ---------------------------------------------- ISSUES 1. [New comment] print u'\xe4'.encode(sys.stdout.encoding) -> ? http://ironpython.codeplex.com/workitem/29487 User yYHernan has commented on the issue: "Same issue still exists in 2.7.3 IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.17626 (32-bit) Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> print u'\xe4'.encode(sys.stdout.encoding) ? >>> sys.stdout.encoding 'cp437' "----------------- 2. [New comment] print u'\xe4'.encode(sys.stdout.encoding) -> ? http://ironpython.codeplex.com/workitem/29487 User yYHernan has commented on the issue: "Using .Net library within IronPython shows the correct result, see below: >>> import clr >>> import System >>> System.Console.WriteLine(u'\xe4') ?" ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From msmith at prg.com Wed Aug 1 17:33:42 2012 From: msmith at prg.com (Marion Smith) Date: Wed, 1 Aug 2012 15:33:42 +0000 Subject: [Ironpython-users] Installed IronPython but doesn't show in the new projects Message-ID: <8D565A999A164E46BDDE84F4D57E835D08DE5DEA@MBNA2.prg.com> Did something go wrong with my installation? I installed IronPython and IronRuby. IronRuby appears in the new project dialog but thing for IronPython. How do I start a Python project? Should I reinstall? Sincerely, Marion -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Marion Smith.vcf Type: text/x-vcard Size: 1920 bytes Desc: Marion Smith.vcf URL: From jdhardy at gmail.com Wed Aug 1 18:08:59 2012 From: jdhardy at gmail.com (Jeff Hardy) Date: Wed, 1 Aug 2012 09:08:59 -0700 Subject: [Ironpython-users] Installed IronPython but doesn't show in the new projects In-Reply-To: <8D565A999A164E46BDDE84F4D57E835D08DE5DEA@MBNA2.prg.com> References: <8D565A999A164E46BDDE84F4D57E835D08DE5DEA@MBNA2.prg.com> Message-ID: IronPython no longer includes VS integration - Python Tools for Visual Studio (http://pytools.codeplex.com) is much better and actively developed. I really should add that to the download page. - Jeff On Wed, Aug 1, 2012 at 8:33 AM, Marion Smith wrote: > Did something go wrong with my installation? > > > > I installed IronPython and IronRuby. IronRuby appears in the new project > dialog but thing for IronPython. > > > > How do I start a Python project? Should I reinstall? > > > > > > Sincerely, > > Marion > > > > > _______________________________________________ > Ironpython-users mailing list > Ironpython-users at python.org > http://mail.python.org/mailman/listinfo/ironpython-users > From no_reply at codeplex.com Thu Aug 2 17:06:47 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 2 Aug 2012 08:06:47 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/1/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] sys.version is incomplete in user created engine, creating problems in platform.py ---------------------------------------------- ISSUES 1. [New comment] sys.version is incomplete in user created engine, creating problems in platform.py http://ironpython.codeplex.com/workitem/31736 User JoelLinn has commented on the issue: "It does. sys.prefix and sys.executable are not set correctly. They point to the IPy assembly in the GAC directory. Setting them to the current executable works, but sucks." ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From no_reply at codeplex.com Fri Aug 3 13:24:46 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 3 Aug 2012 04:24:46 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/2/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] install pip raise DistutilsByteCompileError('byte-compiling is disabled.') 2. [New issue] "TypeError: find_module() takes exactly 2 arguments" during debug a script load customize DLLs ---------------------------------------------- ISSUES 1. [New issue] install pip raise DistutilsByteCompileError('byte-compiling is disabled.') http://ironpython.codeplex.com/workitem/32990 User akunzai has proposed the issue: "I got following error during install pip, ``` D:\pip-1.1>C:\IronPython-2.7.3\ipy.exe -X:Frames -X:FullFrames setup.py install running install running bdist_egg running egg_info writing entry points to pip.egg-info\entry_points.txt writing dependency_links to pip.egg-info\dependency_links.txt writing pip.egg-info\PKG-INFO writing top-level names to pip.egg-info\top_level.txt reading manifest file 'pip.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.html' under directory 'docs' warning: no previously-included files matching '*.txt' found under directory 'do cs\_build' no previously-included directories found matching 'docs\_build\_sources' writing manifest file 'pip.egg-info\SOURCES.txt' installing library code to build\bdist.cli\egg running install_lib running build_py warning: build_py: byte-compiling is disabled, skipping. creating build\bdist.cli\egg creating build\bdist.cli\egg\pip copying build\lib\pip\__init__.py -> build\bdist.cli\egg\pip copying build\lib\pip\_pkgutil.py -> build\bdist.cli\egg\pip copying build\lib\pip\backwardcompat.py -> build\bdist.cli\egg\pip copying build\lib\pip\basecommand.py -> build\bdist.cli\egg\pip copying build\lib\pip\baseparser.py -> build\bdist.cli\egg\pip copying build\lib\pip\download.py -> build\bdist.cli\egg\pip copying build\lib\pip\exceptions.py -> build\bdist.cli\egg\pip copying build\lib\pip\index.py -> build\bdist.cli\egg\pip copying build\lib\pip\locations.py -> build\bdist.cli\egg\pip copying build\lib\pip\log.py -> build\bdist.cli\egg\pip copying build\lib\pip\req.py -> build\bdist.cli\egg\pip copying build\lib\pip\runner.py -> build\bdist.cli\egg\pip copying build\lib\pip\status_codes.py -> build\bdist.cli\egg\pip copying build\lib\pip\util.py -> build\bdist.cli\egg\pip creating build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\__init__.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\bundle.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\completion.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\freeze.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\help.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\install.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\search.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\uninstall.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\unzip.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\zip.py -> build\bdist.cli\egg\pip\commands creating build\bdist.cli\egg\pip\vcs copying build\lib\pip\vcs\__init__.py -> build\bdist.cli\egg\pip\vcs copying build\lib\pip\vcs\bazaar.py -> build\bdist.cli\egg\pip\vcs copying build\lib\pip\vcs\git.py -> build\bdist.cli\egg\pip\vcs copying build\lib\pip\vcs\mercurial.py -> build\bdist.cli\egg\pip\vcs copying build\lib\pip\vcs\subversion.py -> build\bdist.cli\egg\pip\vcs warning: install_lib: byte-compiling is disabled, skipping. creating build\bdist.cli\egg\EGG-INFO copying pip.egg-info\PKG-INFO -> build\bdist.cli\egg\EGG-INFO copying pip.egg-info\SOURCES.txt -> build\bdist.cli\egg\EGG-INFO copying pip.egg-info\dependency_links.txt -> build\bdist.cli\egg\EGG-INFO copying pip.egg-info\entry_points.txt -> build\bdist.cli\egg\EGG-INFO copying pip.egg-info\not-zip-safe -> build\bdist.cli\egg\EGG-INFO copying pip.egg-info\top_level.txt -> build\bdist.cli\egg\EGG-INFO creating 'dist\pip-1.1-py2.7.egg' and adding 'build\bdist.cli\egg' to it removing 'build\bdist.cli\egg' (and everything under it) Processing pip-1.1-py2.7.egg removing 'c:\ironpython-2.7.3\lib\site-packages\pip-1.1-py2.7.egg' (and everything under it) creating c:\ironpython-2.7.3\lib\site-packages\pip-1.1-py2.7.egg Extracting pip-1.1-py2.7.egg to c:\ironpython-2.7.3\lib\site-packages error: byte-compiling is disabled. ``` I found it was cause by 'Lib\distutils\util.py',maybe it should not raise DistutilsByteCompileError('byte-compiling is disabled.') # nothing is done if sys.dont_write_bytecode is True if sys.dont_write_bytecode: raise DistutilsByteCompileError('byte-compiling is disabled.') ```diff diff --git a/Lib/distutils/util.py b/Lib/distutils/util.py index f06e4fd..9345e86 100644 --- a/Lib/distutils/util.py +++ b/Lib/distutils/util.py @@ -452,7 +452,8 @@ def byte_compile (py_files, """ # nothing is done if sys.dont_write_bytecode is True if sys.dont_write_bytecode: - raise DistutilsByteCompileError('byte-compiling is disabled.') + return # First, if the caller didn't force us into direct or indirect mode, # figure out which mode we should be in. We take a conservative ``` after ignore raise DistutilsByteCompileError('byte-compiling is disabled.'),it just fine. ``` D:\pip-1.1>C:\IronPython-2.7.3\ipy.exe -X:Frames -X:FullFrames setup.py install running install running bdist_egg running egg_info writing entry points to pip.egg-info\entry_points.txt writing dependency_links to pip.egg-info\dependency_links.txt writing pip.egg-info\PKG-INFO writing top-level names to pip.egg-info\top_level.txt reading manifest file 'pip.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.html' under directory 'docs' warning: no previously-included files matching '*.txt' found under directory 'docs\_build' no previously-included directories found matching 'docs\_build\_sources' writing manifest file 'pip.egg-info\SOURCES.txt' installing library code to build\bdist.cli\egg running install_lib running build_py warning: build_py: byte-compiling is disabled, skipping. creating build\bdist.cli\egg creating build\bdist.cli\egg\pip copying build\lib\pip\__init__.py -> build\bdist.cli\egg\pip copying build\lib\pip\_pkgutil.py -> build\bdist.cli\egg\pip copying build\lib\pip\backwardcompat.py -> build\bdist.cli\egg\pip copying build\lib\pip\basecommand.py -> build\bdist.cli\egg\pip copying build\lib\pip\baseparser.py -> build\bdist.cli\egg\pip copying build\lib\pip\download.py -> build\bdist.cli\egg\pip copying build\lib\pip\exceptions.py -> build\bdist.cli\egg\pip copying build\lib\pip\index.py -> build\bdist.cli\egg\pip copying build\lib\pip\locations.py -> build\bdist.cli\egg\pip copying build\lib\pip\log.py -> build\bdist.cli\egg\pip copying build\lib\pip\req.py -> build\bdist.cli\egg\pip copying build\lib\pip\runner.py -> build\bdist.cli\egg\pip copying build\lib\pip\status_codes.py -> build\bdist.cli\egg\pip copying build\lib\pip\util.py -> build\bdist.cli\egg\pip creating build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\__init__.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\bundle.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\completion.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\freeze.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\help.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\install.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\search.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\uninstall.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\unzip.py -> build\bdist.cli\egg\pip\commands copying build\lib\pip\commands\zip.py -> build\bdist.cli\egg\pip\commands creating build\bdist.cli\egg\pip\vcs copying build\lib\pip\vcs\__init__.py -> build\bdist.cli\egg\pip\vcs copying build\lib\pip\vcs\bazaar.py -> build\bdist.cli\egg\pip\vcs copying build\lib\pip\vcs\git.py -> build\bdist.cli\egg\pip\vcs copying build\lib\pip\vcs\mercurial.py -> build\bdist.cli\egg\pip\vcs copying build\lib\pip\vcs\subversion.py -> build\bdist.cli\egg\pip\vcs warning: install_lib: byte-compiling is disabled, skipping. creating build\bdist.cli\egg\EGG-INFO copying pip.egg-info\PKG-INFO -> build\bdist.cli\egg\EGG-INFO copying pip.egg-info\SOURCES.txt -> build\bdist.cli\egg\EGG-INFO copying pip.egg-info\dependency_links.txt -> build\bdist.cli\egg\EGG-INFO copying pip.egg-info\entry_points.txt -> build\bdist.cli\egg\EGG-INFO copying pip.egg-info\not-zip-safe -> build\bdist.cli\egg\EGG-INFO copying pip.egg-info\top_level.txt -> build\bdist.cli\egg\EGG-INFO creating 'dist\pip-1.1-py2.7.egg' and adding 'build\bdist.cli\egg' to it removing 'build\bdist.cli\egg' (and everything under it) Processing pip-1.1-py2.7.egg creating c:\ironpython-2.7.3\lib\site-packages\pip-1.1-py2.7.egg Extracting pip-1.1-py2.7.egg to c:\ironpython-2.7.3\lib\site-packages Adding pip 1.1 to easy-install.pth file Installing pip-2.7 script to C:\IronPython-2.7.3\Scripts Installing pip script to C:\IronPython-2.7.3\Scripts Installed c:\ironpython-2.7.3\lib\site-packages\pip-1.1-py2.7.egg Processing dependencies for pip==1.1 Finished processing dependencies for pip==1.1 ```"----------------- 2. [New issue] "TypeError: find_module() takes exactly 2 arguments" during debug a script load customize DLLs http://ironpython.codeplex.com/workitem/32989 User akunzai has proposed the issue: "I wrote an simple py named "test.py" to demo this Issue ```python def hello(): print "hello world!" ``` and I use Tools\Scripts\pyc.py it compile it into DLLs ``` C:\IronPython-2.7.3>ipy.exe Tools\Scripts\pyc.py /target:dll /out:DLLs/test.dll D:\test.py Input Files: D:\test.py Output: DLLs/test.dll Target: Dll Platform: ILOnly Machine: I386 Compiling... Saved to test ``` I write another script to to import use it by clr.AddReference ```python import clr clr.AddReference("test") import test test.hello() ``` It was just Fine in normal mode ``` C:\IronPython-2.7.3>ipy.exe test2.py hello world! ``` But when I use pdb to debug test2.py,will got following error message ``` C:\IronPython-2.7.3>ipy.exe -X:Frames -X:Tracing -m pdb test2.py Unhandled exception: Traceback (most recent call last): File "C:\IronPython-2.7.3\Lib\runpy.py", line 170, in run_module File "C:\IronPython-2.7.3\Lib\runpy.py", line 101, in _get_module_details File "C:\IronPython-2.7.3\Lib\pkgutil.py", line 456, in get_loader File "C:\IronPython-2.7.3\Lib\pkgutil.py", line 467, in find_loader TypeError: find_module() takes exactly 2 arguments (1 given) ``` after some source tracing,I change the pkgutil.py ```diff diff --git a/Lib/pkgutil.py b/Lib/pkgutil.py index 322bbdf..3509b46 100644 --- a/Lib/pkgutil.py +++ b/Lib/pkgutil.py @@ -464,7 +464,7 @@ def find_loader(fullname): platform-specific special import locations such as the Windows registry. """ for importer in iter_importers(fullname): - loader = importer.find_module(fullname) + loader = importer.find_module(fullname,[]) if loader is not None: return loader ``` Now, I can debug this code. ``` C:\IronPython-2.7.3>ipy.exe -X:Frames -X:Tracing -m pdb test2.py > c:\ironpython-2.7.3\test2.py(1)() -> import clr (Pdb) c hello world! ```" ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From no_reply at codeplex.com Sat Aug 4 13:57:33 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 4 Aug 2012 04:57:33 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/3/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] "TypeError: find_module() takes exactly 2 arguments" during debug a script load customize DLLs 2. [New comment] install pip raise DistutilsByteCompileError('byte-compiling is disabled.') 3. [New issue] Can't install 2.6.2 for .NET 2.0 4. [New comment] Can't install 2.6.2 for .NET 2.0 ---------------------------------------------- ISSUES 1. [New comment] "TypeError: find_module() takes exactly 2 arguments" during debug a script load customize DLLs http://ironpython.codeplex.com/workitem/32989 User jdhardy has commented on the issue: "Rather than change pkgutil.py, I'd rather figure out which importer has the broken find_module method and fix that."----------------- 2. [New comment] install pip raise DistutilsByteCompileError('byte-compiling is disabled.') http://ironpython.codeplex.com/workitem/32990 User jdhardy has commented on the issue: "I'm not sure why pip would error when byte compiling is disabled. Disabling the exception is the quick fix, but I think there's probably a better fix to be found wherever distutils handles the DistutilsByteCompileError exception. If there isn't a better option, than ignoring it might be only way to make it work."----------------- 3. [New issue] Can't install 2.6.2 for .NET 2.0 http://ironpython.codeplex.com/workitem/32994 User Jm520 has proposed the issue: "I keep getting a rollback and 'system not modified' message. I'm running VS2008, with IronPythonStudio, and 2.72 will not build my solution (seem to be a .NET framework mismatch). Any ideas?"----------------- 4. [New comment] Can't install 2.6.2 for .NET 2.0 http://ironpython.codeplex.com/workitem/32994 User slide_o_mix has commented on the issue: "IronPythonStudio is no longer supported. You need to use Python Tools for Visual Studio." ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vaszilisz at gmail.com Tue Aug 7 17:03:11 2012 From: vaszilisz at gmail.com (Mavridisz Vaszilisz) Date: Tue, 7 Aug 2012 17:03:11 +0200 Subject: [Ironpython-users] MissingMethodException Message-ID: Hi! I'm using IronPython 2.7.3, and Visual Studio 2010. I try to run this simple code, but i always get a " MissingMethodException ". Does anyone have any idea what could i miss? Exception message : Method not found: 'System.Reflection.MemberInfo[] Microsoft.Scripting.Generation.CompilerHelpers.FilterNonVisibleMembers(System.Type, System.Reflection.MemberInfo[])'. The code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using IronPython.Hosting; using IronPython.Runtime; using Microsoft.Scripting; using Microsoft.Scripting.Hosting; namespace ipyTest { class Program { private static ScriptEngine pyEngine = null; private static ScriptRuntime pyRuntime = null; private static ScriptScope pyScope = null; static void Main(string[] args) { pyEngine = Python.CreateEngine(); pyScope = pyEngine.CreateScope(); string _script = @"import sys" + Environment.NewLine + @"print sys.path"; ScriptSource source = pyEngine.CreateScriptSourceFromString(_script, SourceCodeKind.Statements); CompiledCode compiled = source.Compile(); Console.WriteLine(compiled.Execute(pyScope)); } } } -------------- next part -------------- An HTML attachment was scrubbed... URL: From slide.o.mix at gmail.com Tue Aug 7 17:18:56 2012 From: slide.o.mix at gmail.com (Slide) Date: Tue, 7 Aug 2012 08:18:56 -0700 Subject: [Ironpython-users] MissingMethodException In-Reply-To: References: Message-ID: Sounds like you have an older version of IronPython that is installed in the GAC. On Tue, Aug 7, 2012 at 8:03 AM, Mavridisz Vaszilisz wrote: > Hi! > I'm using IronPython 2.7.3, and Visual Studio 2010. > I try to run this simple code, but i always get a " MissingMethodException > ". Does anyone have any idea what could i miss? > > Exception message : > > Method not found: 'System.Reflection.MemberInfo[] > Microsoft.Scripting.Generation.CompilerHelpers.FilterNonVisibleMembers(System.Type, > System.Reflection.MemberInfo[])'. > > The code: > > using System; > using System.Collections.Generic; > using System.Linq; > using System.Text; > using IronPython.Hosting; > using IronPython.Runtime; > using Microsoft.Scripting; > using Microsoft.Scripting.Hosting; > namespace ipyTest > { > class Program > { > private static ScriptEngine pyEngine = null; > private static ScriptRuntime pyRuntime = null; > private static ScriptScope pyScope = null; > static void Main(string[] args) > { > pyEngine = Python.CreateEngine(); > pyScope = pyEngine.CreateScope(); > string _script = > @"import sys" + Environment.NewLine + > @"print sys.path"; > ScriptSource source = > pyEngine.CreateScriptSourceFromString(_script, SourceCodeKind.Statements); > CompiledCode compiled = source.Compile(); > Console.WriteLine(compiled.Execute(pyScope)); > } > } > } > > > _______________________________________________ > Ironpython-users mailing list > Ironpython-users at python.org > http://mail.python.org/mailman/listinfo/ironpython-users > -- Website: http://earl-of-code.com From no_reply at codeplex.com Thu Aug 9 13:39:17 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 9 Aug 2012 04:39:17 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/8/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] still can't install setuptools/distribute/pip under IronPython 2.7.3 2. [New comment] still can't install setuptools/distribute/pip under IronPython 2.7.3 3. [New comment] still can't install setuptools/distribute/pip under IronPython 2.7.3 4. [New comment] still can't install setuptools/distribute/pip under IronPython 2.7.3 5. [New comment] still can't install setuptools/distribute/pip under IronPython 2.7.3 ---------------------------------------------- ISSUES 1. [New issue] still can't install setuptools/distribute/pip under IronPython 2.7.3 http://ironpython.codeplex.com/workitem/33004 User jrjsmrtn has proposed the issue: "Hello, it's still not possible to install setuptools or distribute under IronPython 2.7.3, thus preventing the installation or use of pip to easily install Python packages. 1/ installing distribute per http://pypi.python.org/pypi/distribute/#installation-instructions: C:\Program Files (x86)\IronPython 2.7>ipy64.exe C:\Users\xxx\AppData\Local\Temp\distribute_setup.py Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz Extracting in c:\users\xxx\appdata\local\temp\tmpzaunkt Now working in c:\users\xxx\appdata\local\temp\tmpzaunkt\distribute-0.6.28 Installing Distribute Before install bootstrap. Scanning installed packages No setuptools distribution found running install Traceback (most recent call last): File "setup.py", line 134, in File "C:\Program Files (x86)\IronPython 2.7\Lib\distutils\core.py", line 151, in setup File "C:\Program Files (x86)\IronPython 2.7\Lib\distutils\dist.py", line 952, in run_commands File "C:\Program Files (x86)\IronPython 2.7\Lib\distutils\dist.py", line 971, in run_command File "c:\users\xxx\appdata\local\temp\tmpzaunkt\distribute-0.6.28\setuptools\command\install.py", line 63, in run AttributeError: 'module' object has no attribute '_getframe'Something went wrong during the installation. See the error message above. 2/ installing setuptools, from IronPython directory: C:\Program Files (x86)\IronPython 2.7>ipy64.exe D:\Users\xxx\Downloads\setuptools-0.6c11\setup.py install Traceback (most recent call last): File "D:\Users\xxx\Downloads\setuptools-0.6c11\setup.py", line 7, in IOError: System.IO.IOException: execfile: specified file doesn't exist at IronPython.Modules.Builtin.execfile(CodeContext context, Object filename, Object globals, Object locals) at Microsoft.Scripting.Interpreter.ActionCallInstruction`3.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run5[T0,T1,T2,T3,T4,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4) at System.Dynamic.UpdateDelegates.UpdateAndExecute4[T0,T1,T2,T3,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3) at Microsoft.Scripting.Interpreter.FuncCallInstruction`7.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run5[T0,T1,T2,T3,T4,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4) at IronPython.Compiler.Ast.CallExpression.Invoke2Instruction.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run1[T0,TRet](T0 arg0) at IronPython.Compiler.RuntimeScriptCode.InvokeTarget(Scope scope) at IronPython.Hosting.PythonCommandLine.RunFileWorker(String fileName) at IronPython.Hosting.PythonCommandLine.RunFile(String fileName) 3/ installing setuptools, from setuptools directory: D:\Users\xxx\Downloads\setuptools-0.6c11>"c:\Program Files (x86)\IronPython 2.7\ipy64.exe" setup.py install running install Traceback (most recent call last): File "setup.py", line 16, in File "c:\Program Files (x86)\IronPython 2.7\Lib\distutils\core.py", line 151, in setup File "c:\Program Files (x86)\IronPython 2.7\Lib\distutils\dist.py", line 952, in run_commands File "c:\Program Files (x86)\IronPython 2.7\Lib\distutils\dist.py", line 971, in run_command File "D:\Users\xxx\Downloads\setuptools-0.6c11\setuptools\command\install.py", line 66, in run AttributeError: 'module' object has no attribute '_getframe'"----------------- 2. [New comment] still can't install setuptools/distribute/pip under IronPython 2.7.3 http://ironpython.codeplex.com/workitem/33004 User slide_o_mix has commented on the issue: "For installing setuptools, you need to pass -X:FullFrames to opt. There is a set of instructions on the wiki."----------------- 3. [New comment] still can't install setuptools/distribute/pip under IronPython 2.7.3 http://ironpython.codeplex.com/workitem/33004 User slide_o_mix has commented on the issue: "Phone auto corrected "ipy" to "opt""----------------- 4. [New comment] still can't install setuptools/distribute/pip under IronPython 2.7.3 http://ironpython.codeplex.com/workitem/33004 User jrjsmrtn has commented on the issue: "Hello, slide_o_mix. > For installing setuptools, you need to pass -X:FullFrames to opt. I tried with -X:FullFrames, but I get the exact same results with each method I described... :-/ > There is a set of instructions on the wiki. Which wiki are you talking about ? I searched on ironpython.net, ironpython.info, ironpython.codeplex.com, wiki.python.org but found nothing on setuptools/distribute/pip. Googling doesn't give up-to-date results either. In the meantime, I continue to install my packages manually, but it's still a pain compared to (C)Python on other platforms... :-|"----------------- 5. [New comment] still can't install setuptools/distribute/pip under IronPython 2.7.3 http://ironpython.codeplex.com/workitem/33004 User slide_o_mix has commented on the issue: "http://ironpython.codeplex.com/wikipage?title=setuptools" ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From no_reply at codeplex.com Fri Aug 10 18:13:25 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 10 Aug 2012 09:13:25 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/9/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] still can't install setuptools/distribute/pip under IronPython 2.7.3 2. [Status update] still can't install setuptools/distribute/pip under IronPython 2.7.3 ---------------------------------------------- ISSUES 1. [New comment] still can't install setuptools/distribute/pip under IronPython 2.7.3 http://ironpython.codeplex.com/workitem/33004 User jrjsmrtn has commented on the issue: "I re-installed IronPython from scratch, ran ez_setup then have been able to install distribute and pip. Thanks ! :-)"----------------- 2. [Status update] still can't install setuptools/distribute/pip under IronPython 2.7.3 http://ironpython.codeplex.com/workitem/33004 User slide_o_mix has updated the issue: Status has changed from Proposed to Closed with the following comment, "Not a bug" ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sepatan at sibmail.com Tue Aug 14 05:46:25 2012 From: sepatan at sibmail.com (sepatan at sibmail.com) Date: Tue, 14 Aug 2012 10:46:25 +0700 (NOVT) Subject: [Ironpython-users] Do not understand the work __ getattribute__ in the browser (Silverlight) Message-ID: <46601.83.172.33.173.1344915985.squirrel@www.sibmail.com> Hi). In the case study (IronPython in the browser) using Silverlight technology and __ getattr__ ? __getattribute__ create an ambiguous situation. In a letter enclosed file proba_js.rar. It's simple, there is nothing superfluous, only connect dlr.xap, IronPython.slvx, Microsoft.Scripting.slvx from the server (do not put restrictions on account of the letter). On page X_2.html built the Silverlight object and two buttons DOM. Event handling using JavaScript OnClick marshals on IronPython. After that, ? see all the code. The buttons should work the same, but the second button (__getattribute__) does not work. The same algorithm works properly in IronPython (file ? proba_ch.py). I can not understand why. Can someone tell me? -------------- next part -------------- A non-text attachment was scrubbed... Name: proba_js.rar Type: application/octet-stream Size: 926 bytes Desc: not available URL: From sepatan at sibmail.com Wed Aug 15 06:27:17 2012 From: sepatan at sibmail.com (sepatan at sibmail.com) Date: Wed, 15 Aug 2012 11:27:17 +0700 (NOVT) Subject: [Ironpython-users] Do not understand the work __ getattribute__ in the browser (Silverlight) Message-ID: <59384.83.172.33.173.1345004837.squirrel@www.sibmail.com> Hi). In the case study (IronPython in the browser) using Silverlight technology and __ getattr__ __getattribute__ create an ambiguous situation. In a letter enclosed file proba_js.rar. It's simple, there is nothing superfluous, only connect dlr.xap, IronPython.slvx, Microsoft.Scripting.slvx from the server (do not put restrictions on account of the letter). On page X_2.html built the Silverlight object and two buttons DOM. Event handling using JavaScript OnClick marshals on IronPython. After that, see all the code. The buttons should work the same, but the second button (__getattribute__) does not work. The same algorithm works properly in IronPython (file proba_ch.py). I can not understand why. Can someone tell me? -------------- next part -------------- A non-text attachment was scrubbed... Name: proba_js.rar Type: application/octet-stream Size: 926 bytes Desc: not available URL: From no_reply at codeplex.com Thu Aug 16 16:00:39 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 16 Aug 2012 07:00:39 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/15/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] different prints for u'\xa0' against python2.7.3 ---------------------------------------------- ISSUES 1. [New issue] different prints for u'\xa0' against python2.7.3 http://ironpython.codeplex.com/workitem/33030 User wy0917 has proposed the issue: "u\xa0 should be a white space: == python 2.7.3 == Python 2.7.3 (default, Aug 1 2012, 05:14:39) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> fn=u'\xa0' >>> print fn ? >>> == IronPython 2.7.3 == IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.269 (32-bit) Type "help", "copyright", "credits" or "license" for more information. >>> fn=u'\xa0' >>> print fn ? >>> it was translated to a '?' in ironpython" ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From no_reply at codeplex.com Fri Aug 17 11:01:40 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 17 Aug 2012 02:01:40 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/16/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] Unhelpful error message for sequence multiplication by non-int ---------------------------------------------- ISSUES 1. [New issue] Unhelpful error message for sequence multiplication by non-int http://ironpython.codeplex.com/workitem/33034 User jkarres has proposed the issue: "IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.269 (32-bit) Type "help", "copyright", "credits" or "license" for more information. >>> [None] * '2' Traceback (most recent call last): File "", line 1, in TypeError: object cannot be interpreted as an index Compare this to what I get from cPython: TypeError: can't multiply sequence by non-int of type 'str'" ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From no_reply at codeplex.com Sat Aug 18 16:59:11 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 18 Aug 2012 07:59:11 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/17/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] Windows Forms Editor 2. [New comment] Windows Forms Editor 3. [Status update] Windows Forms Editor 4. [New comment] Windows Forms Editor 5. [Status update] Windows Forms Editor ---------------------------------------------- ISSUES 1. [New issue] Windows Forms Editor http://ironpython.codeplex.com/workitem/33038 User NeilRifkin has proposed the issue: "I am new to IronPython and was wondering if a Windows Form GUI is available. I have installed the latest version of IronPython and am using Visual Studion 2010. I can hard code windows forms properties but I don't see an interactive window that I am used to with .net."----------------- 2. [New comment] Windows Forms Editor http://ironpython.codeplex.com/workitem/33038 User slide_o_mix has commented on the issue: "Please try the Python Tools for Visual Studio. Also, please direct questions to the mailing list."----------------- 3. [Status update] Windows Forms Editor http://ironpython.codeplex.com/workitem/33038 User slide_o_mix has updated the issue: Status has changed from Proposed to Closed with the following comment, "Not a defect"----------------- 4. [New comment] Windows Forms Editor http://ironpython.codeplex.com/workitem/33038 User slide_o_mix has commented on the issue: "Not a defect ** Closed by slide_o_mix 8/17/2012 7:16 AM"----------------- 5. [Status update] Windows Forms Editor http://ironpython.codeplex.com/workitem/33038 User slide_o_mix has updated the issue: Status has changed from Closed to Proposed with the following comment, "Not a defect" ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From no_reply at codeplex.com Tue Aug 21 12:15:05 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 21 Aug 2012 03:15:05 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/20/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [Status update] Windows Forms Editor 2. [New issue] cPickle.Unpickler unable to load output from cPickle.dumps ---------------------------------------------- ISSUES 1. [Status update] Windows Forms Editor http://ironpython.codeplex.com/workitem/33038 User jdhardy has updated the issue: Status has changed from Proposed to Closed. ----------------- 2. [New issue] cPickle.Unpickler unable to load output from cPickle.dumps http://ironpython.codeplex.com/workitem/33046 User jkarres has proposed the issue: "IronPython 2.7.3 (2.7.0.40) on .NET 4.0.30319.269 (32-bit) Type "help", "copyright", "credits" or "license" for more information. >>> import cPickle, cStringIO >>> s = cPickle.dumps('\r\n') >>> f = cStringIO.StringIO(s) >>> t = cPickle.Unpickler(f).load() Traceback (most recent call last): File "", line 1, in cPickle.UnpicklingError: invalid opcode: " ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tomas.Matousek at microsoft.com Sun Aug 26 00:39:41 2012 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Sat, 25 Aug 2012 22:39:41 +0000 Subject: [Ironpython-users] IronRuby scripting in Windows Store apps Message-ID: <9597F4A19BFDB342B6E90963100C33085EB9F8F9@SN2PRD0310MB395.namprd03.prod.outlook.com> I have just checked in a sample Windows 8 application that evaluates Ruby code and displays result. https://github.com/IronLanguages/main/tree/master/Hosts/WindowsStore Feel free to play with it. The basics should work but definitely expect bugs :). To try it out build Ruby.sln Win8 configuration: main\Solutions> msbuild Ruby.sln /p:Configuration="Win8Debug" Then open Hosts\WindowsStore\IronApp.sln, build and run. [cid:image001.png at 01CD82D6.0A8FA250] The app is a regular C# Windows Store app that uses ScriptEngine to execute Ruby code against a ScriptScope containing a "main" variable, which is set to be the application MainPage UI element. IronPython doesn't build yet for Win8 profile, there is quite a bit of work to be done to make it work. If anyone is interested in making IronPython work or improving IronRuby let me know. Tomas -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 14638 bytes Desc: image001.png URL: From no_reply at codeplex.com Sun Aug 26 18:52:41 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 26 Aug 2012 09:52:41 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/25/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] IronPython 2.6 not finding a .pyc file. ---------------------------------------------- ISSUES 1. [New issue] IronPython 2.6 not finding a .pyc file. http://ironpython.codeplex.com/workitem/33067 User shaggygi97 has proposed the issue: "I'm very new to IronPython. I was able to download v2.6 and call some basic functions from C#. The problem I have is that one function imports a .pyc module provided by a third-party. So there is no .py available. Is there a solution for IronPython to work with modules ( .py ) that references another module that is .pyc format? If so, could you provide how to? Thanks in advance." ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From no_reply at codeplex.com Mon Aug 27 14:22:53 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 27 Aug 2012 05:22:53 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/26/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] IronPython 2.6 not finding a .pyc file. 2. [New comment] IronPython 2.6 not finding a .pyc file. 3. [New comment] IronPython 2.6 not finding a .pyc file. 4. [New comment] IronPython 2.6 not finding a .pyc file. ---------------------------------------------- ISSUES 1. [New comment] IronPython 2.6 not finding a .pyc file. http://ironpython.codeplex.com/workitem/33067 User slide_o_mix has commented on the issue: "ironpython does not currently support pyc files."----------------- 2. [New comment] IronPython 2.6 not finding a .pyc file. http://ironpython.codeplex.com/workitem/33067 User shaggygi97 has commented on the issue: "well blame! do you know if there are plans to add this? thanks for the help."----------------- 3. [New comment] IronPython 2.6 not finding a .pyc file. http://ironpython.codeplex.com/workitem/33067 User CurtHagenlocher has commented on the issue: "If you use a search engine, you can find various options to try. For example, I found http://stackoverflow.com/questions/48211/free-python-decompiler-that-is-not-an-online-service?rq=1"----------------- 4. [New comment] IronPython 2.6 not finding a .pyc file. http://ironpython.codeplex.com/workitem/33067 User slide_o_mix has commented on the issue: "I am looking at supporting byte code execution for a future version." ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From no_reply at codeplex.com Tue Aug 28 13:19:53 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 28 Aug 2012 04:19:53 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/27/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] IronPython 2.6 not finding a .pyc file. 2. [New issue] Make PythonHiddenAttribute public ---------------------------------------------- ISSUES 1. [New comment] IronPython 2.6 not finding a .pyc file. http://ironpython.codeplex.com/workitem/33067 User MarkusSchaber has commented on the issue: "pyc files are implementation version dependent - even cPython does not allow pyc files to be re-used across different versions."----------------- 2. [New issue] Make PythonHiddenAttribute public http://ironpython.codeplex.com/workitem/33073 User DanielWolf has proposed the issue: "I'm writing a C# application that can be extended via IronPython scripts. These scripts can access a library of .NET classes I wrote in C#. Those classes have some public methods and properties that I would like to hide from the IronPython scripts, so that a script can't call them. Looking at the IronPython source code, I noticed the PythonHidden attribute in IronPython.Runtime that seems to do just that. However, that attribute is internal, so there is no way for me to use it in my own classes. Is there a reason for PythonHiddenAttribute being internal? Can it be made public? Or is there another way to hide members from IronPython that I just missed?" ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Tue Aug 28 20:58:30 2012 From: jdhardy at gmail.com (Jeff Hardy) Date: Tue, 28 Aug 2012 11:58:30 -0700 Subject: [Ironpython-users] [Ironruby-core] IronRuby scripting in Windows Store apps In-Reply-To: <9597F4A19BFDB342B6E90963100C33085EB9F8F9@SN2PRD0310MB395.namprd03.prod.outlook.com> References: <9597F4A19BFDB342B6E90963100C33085EB9F8F9@SN2PRD0310MB395.namprd03.prod.outlook.com> Message-ID: On Sat, Aug 25, 2012 at 3:39 PM, Tomas Matousek wrote: > > IronPython doesn?t build yet for Win8 profile, there is quite a bit of work to be done to make it work. If anyone is interested in making IronPython work or improving IronRuby let me know. I'm interested (as you know) and I'm already neck-deep in IronPython's codegen, so I'll probably be tackling this next. I think they may be related anyway. FRom looking at the API reference, there's no way to generate Types at runtime in Metro apps, right? Does IronRuby have a way to inherit from a .NET type in that case? IIRC that was one thing WP7 could not support. - Jeff From Tomas.Matousek at microsoft.com Tue Aug 28 22:38:05 2012 From: Tomas.Matousek at microsoft.com (Tomas Matousek) Date: Tue, 28 Aug 2012 20:38:05 +0000 Subject: [Ironpython-users] [Ironruby-core] IronRuby scripting in Windows Store apps In-Reply-To: References: <9597F4A19BFDB342B6E90963100C33085EB9F8F9@SN2PRD0310MB395.namprd03.prod.outlook.com> Message-ID: <9597F4A19BFDB342B6E90963100C33085EBA2253@SN2PRD0310MB395.namprd03.prod.outlook.com> That's correct, new types can't be generated at runtime and hence it is not possible to inherit from an arbitrary CLR type. Tomas -----Original Message----- From: ironpython-users-bounces+tomas.matousek=microsoft.com at python.org [mailto:ironpython-users-bounces+tomas.matousek=microsoft.com at python.org] On Behalf Of Jeff Hardy Sent: Tuesday, August 28, 2012 11:59 AM To: ironruby-core at rubyforge.org Cc: ironpython-users at python.org; John Lam (WINDOWS) Subject: Re: [Ironpython-users] [Ironruby-core] IronRuby scripting in Windows Store apps On Sat, Aug 25, 2012 at 3:39 PM, Tomas Matousek wrote: > > IronPython doesn't build yet for Win8 profile, there is quite a bit of work to be done to make it work. If anyone is interested in making IronPython work or improving IronRuby let me know. I'm interested (as you know) and I'm already neck-deep in IronPython's codegen, so I'll probably be tackling this next. I think they may be related anyway. FRom looking at the API reference, there's no way to generate Types at runtime in Metro apps, right? Does IronRuby have a way to inherit from a .NET type in that case? IIRC that was one thing WP7 could not support. - Jeff _______________________________________________ Ironpython-users mailing list Ironpython-users at python.org http://mail.python.org/mailman/listinfo/ironpython-users From curt at hagenlocher.org Tue Aug 28 23:11:14 2012 From: curt at hagenlocher.org (Curt Hagenlocher) Date: Tue, 28 Aug 2012 14:11:14 -0700 Subject: [Ironpython-users] [Ironruby-core] IronRuby scripting in Windows Store apps In-Reply-To: <9597F4A19BFDB342B6E90963100C33085EBA2253@SN2PRD0310MB395.namprd03.prod.outlook.com> References: <9597F4A19BFDB342B6E90963100C33085EB9F8F9@SN2PRD0310MB395.namprd03.prod.outlook.com> <9597F4A19BFDB342B6E90963100C33085EBA2253@SN2PRD0310MB395.namprd03.prod.outlook.com> Message-ID: ...as opposed to one of a set of predefined types whose source is compiled into IronRuby. On Tue, Aug 28, 2012 at 1:38 PM, Tomas Matousek < Tomas.Matousek at microsoft.com> wrote: > That's correct, new types can't be generated at runtime and hence it is > not possible to inherit from an arbitrary CLR type. > > Tomas > > -----Original Message----- > From: ironpython-users-bounces+tomas.matousek=microsoft.com at python.org[mailto: > ironpython-users-bounces+tomas.matousek=microsoft.com at python.org] On > Behalf Of Jeff Hardy > Sent: Tuesday, August 28, 2012 11:59 AM > To: ironruby-core at rubyforge.org > Cc: ironpython-users at python.org; John Lam (WINDOWS) > Subject: Re: [Ironpython-users] [Ironruby-core] IronRuby scripting in > Windows Store apps > > On Sat, Aug 25, 2012 at 3:39 PM, Tomas Matousek < > Tomas.Matousek at microsoft.com> wrote: > > > > IronPython doesn't build yet for Win8 profile, there is quite a bit of > work to be done to make it work. If anyone is interested in making > IronPython work or improving IronRuby let me know. > > I'm interested (as you know) and I'm already neck-deep in IronPython's > codegen, so I'll probably be tackling this next. I think they may be > related anyway. > > FRom looking at the API reference, there's no way to generate Types at > runtime in Metro apps, right? Does IronRuby have a way to inherit from a > .NET type in that case? IIRC that was one thing WP7 could not support. > > - Jeff > _______________________________________________ > Ironpython-users mailing list > Ironpython-users at python.org > http://mail.python.org/mailman/listinfo/ironpython-users > > > > > > _______________________________________________ > Ironpython-users mailing list > Ironpython-users at python.org > http://mail.python.org/mailman/listinfo/ironpython-users > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jdhardy at gmail.com Wed Aug 29 01:10:04 2012 From: jdhardy at gmail.com (Jeff Hardy) Date: Tue, 28 Aug 2012 16:10:04 -0700 Subject: [Ironpython-users] [Ironruby-core] IronRuby scripting in Windows Store apps In-Reply-To: References: <9597F4A19BFDB342B6E90963100C33085EB9F8F9@SN2PRD0310MB395.namprd03.prod.outlook.com> <9597F4A19BFDB342B6E90963100C33085EBA2253@SN2PRD0310MB395.namprd03.prod.outlook.com> Message-ID: On Tue, Aug 28, 2012 at 2:11 PM, Curt Hagenlocher wrote: > ...as opposed to one of a set of predefined types whose source is compiled > into IronRuby. Or any types precompiled ahead of time, which is what I'm working on now. I need it for Android anyway, but it looks like I'll need it here too. - Jeff From no_reply at codeplex.com Wed Aug 29 17:24:47 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 29 Aug 2012 08:24:47 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/28/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New comment] Make PythonHiddenAttribute public ---------------------------------------------- ISSUES 1. [New comment] Make PythonHiddenAttribute public http://ironpython.codeplex.com/workitem/33073 User jdhardy has commented on the issue: "I didn't even realize it was internal, and I see no reason to keep it that way." ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: From no_reply at codeplex.com Thu Aug 30 14:33:13 2012 From: no_reply at codeplex.com (no_reply at codeplex.com) Date: 30 Aug 2012 05:33:13 -0700 Subject: [Ironpython-users] IronPython, Daily Digest 8/29/2012 Message-ID: Hi ironpython, Here's your Daily Digest of new issues for project "IronPython". In today's digest:ISSUES 1. [New issue] eval() function doesn't work as expected ---------------------------------------------- ISSUES 1. [New issue] eval() function doesn't work as expected http://ironpython.codeplex.com/workitem/33083 User sky_handsome has proposed the issue: "The following simple code will raise exception: f = lambda: x + 1 print eval(f.func_code, {'x': 2}) NameError: global name 'x' is not defined while using python will successfully print the result." ---------------------------------------------- ---------------------------------------------- You are receiving this email because you subscribed to notifications on CodePlex. To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com. -------------- next part -------------- An HTML attachment was scrubbed... URL: