[Ironpython-users] IronPython, Daily Digest 2/27/2012

no_reply at codeplex.com no_reply at codeplex.com
Tue Feb 28 16:42:38 CET 2012


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] Automatically convert types that are implicitly convertible to System.Decimal/System.Int to decimal.Decimal
2. [New issue] "platform" instructions on 2.7.2b2
3. [New comment] Allow resources when compiling with pyc.py

----------------------------------------------

ISSUES

1. [New issue] Automatically convert types that are implicitly convertible to System.Decimal/System.Int to decimal.Decimal
http://ironpython.codeplex.com/workitem/32324
User jdhardy has proposed the issue:

"decimal.Decimal will automatically convert from System.Decimal; this should be extended to any type that is implicitly convertible to System.Decimal as well.

Extending it to types convertible to System.Int may be necessary as well if they are not already handled."-----------------

2. [New issue] "platform" instructions on 2.7.2b2
http://ironpython.codeplex.com/workitem/32322
User jimp02 has proposed the issue:

"Release 2.7.2b1 (beta)

The python code:

    print("ExampleExe",
            platform.python_implementation(),
            platform.python_version(),
            platform.architecture()[0])

-------------------------------------------------
platform.python_version() which returns the Python version as string 'major.minor.patchlevel' aborts with the message:

Traceback (most recent call last):
  File "C:\Users\jimp\Projects\AStyleDev\build\vs2010\ExamplePy\..\..\..\src-py\ExampleExe.py", line 90, in <module>
  File "C:\Users\jimp\Projects\AStyleDev\build\vs2010\ExamplePy\..\..\..\src-py\ExampleExe.py", line 27, in process_files
  File "C:\Program Files (x86)\IronPython 2.7\Lib\platform.py", line 1468, in python_version
  File "C:\Program Files (x86)\IronPython 2.7\Lib\platform.py", line 1389, in _sys_version
ValueError: failed to parse IronPython sys.version: '2.7.2b1 (IronPython 2.7.2b1
 (2.7.0.40) on .NET 4.0.30319.261 (32-bit))'Press any key to continue . . .
-------------------------------------------------
platform.python_implementation() which returns a string identifying the Python implementation aborts with the SAME message:
Traceback (most recent call last):
  File "C:\Users\jimp\Projects\AStyleDev\build\vs2010\ExamplePy\..\..\..\src-py\ExampleExe.py", line 90, in <module>
  File "C:\Users\jimp\Projects\AStyleDev\build\vs2010\ExamplePy\..\..\..\src-py\ExampleExe.py", line 27, in process_files
  File "C:\Program Files (x86)\IronPython 2.7\Lib\platform.py", line 1458, in python_implementation
  File "C:\Program Files (x86)\IronPython 2.7\Lib\platform.py", line 1389, in _sys_version
ValueError: failed to parse IronPython sys.version: '2.7.2b1 (IronPython 2.7.2b1
 (2.7.0.40) on .NET 4.0.30319.261 (32-bit))'Press any key to continue . . .
-------------------------------------------------

Commenting out platform.python_implementation() and platform.python_version() fixes the problem.
The code worked on 2.7.1."-----------------

3. [New comment] Allow resources when compiling with pyc.py
http://ironpython.codeplex.com/workitem/32289
User jdhardy has commented on the issue:

"Managed resources - stuff you would use from WinForms, loadable with Assembly.GetManifestResourceStream, etc.

The script would have to take advantage of it, but it would be valuable to make completely standalone executables. I would say it's not a particularly high priority unless someone else requests it, though."
----------------------------------------------



----------------------------------------------
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: <http://mail.python.org/pipermail/ironpython-users/attachments/20120228/68e4027c/attachment.html>


More information about the Ironpython-users mailing list