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>&gt;&gt;&gt; 
'a'.encode('idna')<br>Traceback (most recent call last):<br>  File 
&quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;<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-&gt;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.
_______________________________________________
Ironpython-users mailing list
Ironpython-users@python.org
https://mail.python.org/mailman/listinfo/ironpython-users

Reply via email to