[Ironpython-users] IronPython, Daily Digest 6/15/2014

CodePlex no_reply at codeplex.com
Mon Jun 16 09:22:03 CEST 2014


Hi ironpython,

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

In today's digest:ISSUES

1. [New comment] cannot import idna from encodings (Ipy 2.7.3)
2. [New issue] zlib - ValueError: Invalid initialization option
3. [New comment] zlib - ValueError: Invalid initialization option

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

ISSUES

1. [New comment] cannot import idna from encodings (Ipy 2.7.3)
http://ironpython.codeplex.com/workitem/34651
User paweljasinski has commented on the issue:

"<p>I have spotted this one in 2.7.5b2:<br>```<br>>>> 'a'.encode('idna')<br>Traceback (most recent call last):<br>  File "<stdin>", line 1, in <module><br>LookupError: unknown encoding: idna<br>```</p>"-----------------

2. [New issue] zlib - ValueError: Invalid initialization option
http://ironpython.codeplex.com/workitem/35295
User paweljasinski has proposed the issue:

"Assuming chunk.gz contains valid gzip file, the following code works under cpython but fails under iron:
with open("chunk.gz","r") as f:
    data = f.read()
import zlib
d = zlib.decompressobj(16 + zlib.MAX_WBITS)
print d.decompress(data)

output:
$ ipy dec.py
Traceback (most recent call last):
  File "dec.py", line 6, in <module>
ValueError: Invalid initialization option
"-----------------

3. [New comment] zlib - ValueError: Invalid initialization option
http://ironpython.codeplex.com/workitem/35295
User paweljasinski has commented on the issue:

"<p>The missing bit out of http://www.zlib.net/manual.html</p><p><br>windowBits can also be greater than 15 for optional gzip decoding. Add 32 to windowBits to enable zlib and gzip decoding with automatic header detection, or add 16 to decode only the gzip format (the zlib format will return a Z_DATA_ERROR). If a gzip stream is being decoded, strm->adler is a crc32 instead of an adler32. </p>"
----------------------------------------------



----------------------------------------------
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/20140616/1d640d13/attachment.html>


More information about the Ironpython-users mailing list