[Ironpython-users] IronPython, Daily Digest 3/18/2014

CodePlex no_reply at codeplex.com
Wed Mar 19 08:21:08 CET 2014


Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] Importing .NET types causes ImportExceptions (zipimport handler)
2. [Status update] What are IronPython 2.7's runtime dependencies?
3. [New issue] name of the second argument to int() should be 'base' not 'radix'
4. [New issue] .net4.5 enviroment not included in 2.7.4.msi installer
5. [New issue] int() got an unexpected keyword argument 'base' error at line 803 in pdf.py when using Py2PDF2

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

ISSUES

1. [New comment] Importing .NET types causes ImportExceptions (zipimport handler)
http://ironpython.codeplex.com/workitem/34602
User slide_o_mix has commented on the issue:

"<p>Just print out sys.path_hooks and see what is there. You should be able to determine which item is zipimport.</p>"-----------------

2. [Status update] What are IronPython 2.7's runtime dependencies?
http://ironpython.codeplex.com/workitem/35040
User slide_o_mix has updated the issue:
Status has changed from Proposed to Closed with the following comment, 

"Please use the mailing list for questions."-----------------

3. [New issue] name of the second argument to int() should be 'base' not 'radix'
http://ironpython.codeplex.com/workitem/35048
User paweljasinski has proposed the issue:

"$ ipy.exe -c 'print int("101010", 2)'
42
$ ipy.exe -c 'print int("101010", base=2)'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
TypeError: int() got an unexpected keyword argument 'base'
$ ipy.exe -c 'print int("101010", radix=2)'
42


Reference
http://docs.python.org/2/library/functions.html#int"-----------------

4. [New issue] .net4.5 enviroment not included in 2.7.4.msi installer
http://ironpython.codeplex.com/workitem/35049
User danielPhh has proposed the issue:

"I installed IronPython2.7.4.msi but the enviroment for .net 4.5 was not installed. The name of the source folder is 'IronPython 2.7'. When I extract the IronPython-2.7.4.zip file, a folder for NET45 is included in the 'Platforms'-folder of the source.dir. The source-dir name ist correct: 'IronPython2.7.4'. I'm using Windows7 as operating system."-----------------

5. [New issue] int() got an unexpected keyword argument 'base' error at line 803 in pdf.py when using Py2PDF2
http://ironpython.codeplex.com/workitem/35050
User myeureka has proposed the issue:

"When I execute the following code in Visual Studio 2012 using Python tools and ironpython 2.7 and PyPDF2 v1.20.

i got this error "int() got an unexpected keyword argument 'base' "and points to this line "self._override_encryption = False" in pdf.py.

This is my complete code:

import clr 
clr.AddReference('System.Drawing') 
clr.AddReference('System.Windows.Forms')

from System.Drawing import * 
from System.Windows.Forms import * 
from PyPDF2 import PdfFileReader
class MyForm(Form):

def __init__(self):
# Create child controls and initialize form
self.Text = "Test Project"
self.Size = Size(600, 500)

path = "F:/Download/RealPython.pdf"
f = open(path)
inputpdf = PdfFileReader(open(path, "rb"))
page = inputpdf.getPage(8)
pagecontent = page.extractText()

display.mediaBox.upperRight = (
       display.mediaBox.getUpperRight_x() / 2,
       display.mediaBox.getUpperRight_y() / 2
)

Application.EnableVisualStyles()
Application.SetCompatibleTextRenderingDefault(False)
form = MyForm() Application.Run(form)

I read that PyPDF2 is written in pure python so it should run with any python, so i am using ironpython 2.7

can anyone help :)"
----------------------------------------------



----------------------------------------------
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/20140319/71e7d742/attachment.html>


More information about the Ironpython-users mailing list