Hi ironpython,
Here's your Daily Digest of new issues for project "IronPython".
In today's digest:ISSUES
1. [New comment] docutils
2. [New issue] locale.setlocale does not detect/set default user locale
----------------------------------------------
ISSUES
1. [New comment] docutils
http://ironpython.codeplex.com/workitem/33218
User paweljasinski has commented on the issue:
"for the stack-overflow, the following stopped it for me. I was able to
generate html from a trivial test file.
--- c:/cygwin/home/rejap/tmp/docutils-0.9.1/docutils/nodes.py 2012-01-19
23:33:02.000000000 +0100
+++ c:/github/IronLanguages/bin/Debug/Lib/site-packages/docutils/nodes.py
2012-10-13 22:32:35.787827900 +0200
@@ -58,9 +58,9 @@
false value.
"""
return True
- if sys.version_info < (3,):
+ if sys.version_info < (3,) and sys.platform != 'cli':
# on 2.x, str(node) will be a byte string with Unicode
# characters > 255 escaped; on 3.x this is no longer necessary
def __str__(self):
return unicode(self).encode('raw_unicode_escape')
probably we should switch further discussion to mailing list
Ironpython-users@python.org
http://mail.python.org/mailman/listinfo/ironpython-users"-----------------
2. [New issue] locale.setlocale does not detect/set default user locale
http://ironpython.codeplex.com/workitem/33220
User paweljasinski has proposed the issue:
"according to locale module documentation, the following:
import locale
locale.setlocale(locale.LC_ALL, '')
should set locale to the default user value ("An empty string specifies
the user’s default settings.")
As far as I can tell, in case when all env variables are not set (LANG et al),
it should be "C", but it is not.
At the same time when LANG is set to a reasonable value (e.g. en_US.UTF-8) it
should respect it.
In both cases the locale is not set as expected.
In addition call to:
locale.getlocale()
throws:
Traceback (most recent call last):
File "", line 1, in
File
"c:\github\IronLanguages\External.LCA_RESTRICTED\Languages\IronPython\27\Lib\locale.py",
line 515, in getlocale
File
"c:\github\IronLanguages\External.LCA_RESTRICTED\Languages\IronPython\27\Lib\locale.py",
line 428, in _parse_localename
ValueError: unknown locale:"
----------------------------------------------
----------------------------------------------
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
http://mail.python.org/mailman/listinfo/ironpython-users