--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
with ElementTree:
https://fepy.svn.sourceforge.net/svnroot/fepy/trunk/lib/pyexpat.py
Put it on any sys.path directory.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
interest
is GPL compatibility. Apache License 2.0 was designed to be compatible with
GPL 3 (but not 2), which is a very good thing. I am unclear about
compatibility of
MS-PL and GPL versions.
--
Seo Sanghyeon
___
Users mailing list
Users
Hi, I can't access the mail archive of this list. URL redirects to
Bing's search result page. Is it only me? Any idea?
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
overriding the
connection one), so I think that's the most DB-API
compatible way of implementing this.
I agree with this. Sensible.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users
this is kind of a lost cause. How
do other Django DB backends deal with the issue? SQLAlchemy,
fortunately, handles paramstyle difference by itself.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi
understanding is that adodb uses COM, so it can't be used with Mono
on Linux. That seals my position against any merge.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2009/10/14 ty...@monkeypox.org:
One last question, if I were to run a fork of the Subversion tree
(git-svn(1) woot) which branch should I be using? I see IronPython_Main
and IronPython_2_6 in trunk/ and I'm not sure which contains active
development.
IronPython_Main does.
--
Seo Sanghyeon
authentication for urllib2.
http://code.google.com/p/python-ntlm/
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
vote on it?
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2009/8/4 Slide slide.o@gmail.com:
I'm not sure if there is standard library that this is implemented on
all *NIX platforms. It is possibly different.
No. dlopen and friends are POSIX standard.
http://www.opengroup.org/onlinepubs/009695399/functions/dlopen.html
--
Seo Sanghyeon
(this filename differs between Linux and Mac, etc).
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2009/8/4 Seo Sanghyeon sanx...@gmail.com:
2009/8/4 Dino Viehland di...@microsoft.com:
Any thoughts on this? I can trivial add a DllImport to dlopen but
I need to know where it's declared :)
I believe libc is the right one. From what I can tell, Mono maps
DllImport(libc) to whatever real C
.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Hopefully I'm not too late on reporthing this...
If you look at ctypes/__init__.py in Python 2.6, it imports different
functions from _ctypes depending on os.name. So on Linux, it expects
dlopen to be available, instead of LoadLibrary.
--
Seo Sanghyeon
Now I updated FePy's NAnt build file to include newly introduced
Microsoft.System.Debugging.dll.
I also found that I need to define CLR2 symbol to compile
Microsoft.Dynamic.dll. Without the symbol it won't compile. What is
the purpose of this symbol?
Sorry for the delay,
--
Seo Sanghyeon
xmllib to get ElementTree working. If you need
pyexpat for IronPython, you can use my implementation:
http://fepy.svn.sourceforge.net/svnroot/fepy/trunk/lib/pyexpat.py
Just drop it in sys.path.
--
Seo Sanghyeon
___
Users mailing list
Users
2009/6/25 Adam Brand ad...@silverkeytech.com:
I tried “import random” but that doesn’t seem to work (module not found).
Works for me. Do you have Python standard library in sys.path?
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
in Python licensed under MIT license, which aims to
destroy the American currency system. See following links for more
details.
http://twistedmatrix.com/
http://isometric.sixsided.org/_/twisted_plutonium/
--
Seo Sanghyeon
___
Users mailing list
Users
2009/6/20 merl...@microsoft.com:
Once this is in I’ll be updating Igor’s prototype for sys.settrace support
for IronPython and adding that.
This is exciting.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http
error ' + str(code)
os.strerror = strerror
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Following program prints different result between CPython and IronPython:
def f(): pass
print type(f).__module__
CPython: __builtin__
IronPython: property# __module__ on function
This breaks codes which assume __module__ is a string.
--
Seo Sanghyeon
os.access('/nonexistent', os.X_OK) raises. It should return False.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
reference or assignment fails. (When an
object does not support attribute references or attribute assignments
at all, TypeError is raised.)
http://docs.python.org/library/exceptions.html
What does it mean that an object does not support attribute
references or attribute assignments at all?
--
Seo
of the mono 2.4.2 release
(http://mono.ximian.com/monobuild/preview/download-preview/)
and is a *big* improvement over xbuild in the last release.
Would be really helpful to get feedback and bug reports on this :)
You can file bugs at : http://www.mono-project.com/Bugs
--
Seo Sanghyeon
a CPython behavior (although undocumented, or poorly
documented one), it's unlikely to change. __objclass__ of a descriptor
points to its class.
C:\python
Python 2.6.1
object.__repr__.__objclass__
type 'object'
--
Seo Sanghyeon
___
Users mailing list
Users
sessions.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
is
complaining that it can't process A.Create(Test1)
A.CreateProperty(Sum).
Probably you meant (A.Create(Audit) == A.Create(Test1))
(A.CreateProperty(Sum) == A.Create(Test2))?
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http
. No idea.
2. Yes.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
and its abstract base classes meta
machineries, but who knows.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2009/5/9 Jb Evain j...@nurv.fr:
Hey Seo,
On 5/9/09, Seo Sanghyeon sanx...@gmail.com wrote:
4. There is an IronPython bug that manifests only on Mono due to
newline difference. The symptom is that expressions are not printed in
interactive console. This took some time to debug
2009/5/9 Seo Sanghyeon sanx...@gmail.com:
2009/5/9 Jb Evain j...@nurv.fr:
Hey Seo,
On 5/9/09, Seo Sanghyeon sanx...@gmail.com wrote:
4. There is an IronPython bug that manifests only on Mono due to
newline difference. The symptom is that expressions are not printed in
interactive console
. Uncomment lines under TODO: does it make sense...
4. Define basename as os.path.basename and System.IO.Path.GetFileName
just like isdir. Use it later.
Maybe change 1 and 4 can be made on IronPython?
Also change code_text += \n to \r\n if you want to avoid line
ending difference.
--
Seo
:
SourceCodeKind.InteractiveCode);
Why is this? It seems to me that s always contains newline, so its net
effect is making all interactive code non-interactive. In Python, this
means no expression is printed in interactive mode.
--
Seo Sanghyeon
___
Users
. Python) only
// recognize \n as a line terminator.
b.Append(\n);
So this just happens to do the right thing on Windows due to the
mismatches between the new lines being used.
Ah, mystery solved. So it worked by accident on systems where NewLine != \n...
--
Seo
2009/4/30 Michael Foord fuzzy...@voidspace.org.uk:
I can't believe that editing / redacting commit messages is an impossible
challenge. :-)
No, but *automating* editing/redacting commit message will be well nigh
impossible challenge. :(
--
Seo Sanghyeon
-exthack? That should get rid of this namespace import.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
. Trac has this
lovely piece of code:
This is pretty sad state of affair, especially considering that such
(like Trac's) use of getting frame local is usually unnecessary with
a bit of metaclass.
--
Seo Sanghyeon
___
Users mailing list
Users
2008/12/16 Curt Hagenlocher c...@hagenlocher.org:
This looks like a problem in quite a few of our csproj files. Could you
open up a bug report on CodePlex for this?
Done.
http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=20262
--
Seo Sanghyeon
2008/12/16 Michael Foord fuzzy...@voidspace.org.uk:
Probably the easiest way of doing this is to define a Python function that
uses issubtype. You can use this as a delegate from the C# side (warning
untested):
You mean issubclass...
--
Seo Sanghyeon
it would be a good idea to quote this anyway.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
/IronPython.build Src
Patches
$ patch -p1 build/patch-exthack
$ patch -p1 build/patch-console
Build
$ cd Src
$ nant
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2008/12/2 Deepali Abhyankar [EMAIL PROTECTED]:
(logging and _getframe)
Please suggest solution to resolve this
https://fepy.svn.sourceforge.net/svnroot/fepy/trunk/patches/stdlib/2.4.4/patch-stdlib-logging-getframe
--
Seo Sanghyeon
___
Users mailing
name is on too magic side for me,
and hopefully not Pythonic. :)
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2008/10/31 Michael Foord [EMAIL PROTECTED]:
Kenneth Miller wrote:
http://www.bitbucket.org/xkenneth/atheneum/src/tip/atheneum/
Where are the tests?
Apparently here:
http://www.bitbucket.org/xkenneth/atheneum/src/
A sibling directory, not a child directory.
--
Seo Sanghyeon
ELEMENT_NODE, ATTRIBUTE_NODE, etc. defined.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2008/10/29 Kenneth Miller [EMAIL PROTECTED]:
http://github.com/xkenneth/gxml/tree/master
What do you think about http://trac.defuze.org/wiki/bridge ?
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com
PDIS-XPATH for xpath operations. I've written a few
modules here:
http://github.com/xkenneth/gpath/tree/master
http://github.com/xkenneth/gxml/tree/master
Okay, here is my take on how clipath would be structured:
http://www.bitbucket.org/sanxiyn/clipath/
--
Seo Sanghyeon
2008/10/30 Kenneth Miller [EMAIL PROTECTED]:
Seo,
Can you give me access to this code? I signed up on bitbucket as
xkenneth.
Done.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users
, reusing .NET's DOM classes.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2008/10/21 Michael Foord [EMAIL PROTECTED]:
Are you using FePy? The minidom support Seo was talking about is only in
FePy and not the standard IronPython distribution.
Doesn't the standard IronPython distribution now include CPython
standard library
from 2.5, including xml.dom.minidom?
--
Seo
actually need to import it, although
it shouldn't hurt.
Do you have the error message? It works for me.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
pyexpat.py from FePy project and put it on somewhere you can
import. Then CPython's minidom will just work.
https://fepy.svn.sourceforge.net/svnroot/fepy/trunk/lib/pyexpat.py
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http
such stuffs. Can someone pester the right people to get this
to work correctly?
svn, version 1.5.1 (r32289)
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
about them.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
on Mono now!
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2008/10/8 Seo Sanghyeon [EMAIL PROTECTED]:
Since this is clearly beneficial, I mailed the author a patch to make
old-style-new-style change.
It has been applied.
http://yieldprolog.svn.sourceforge.net/viewvc/yieldprolog?view=revrevision=887
--
Seo Sanghyeon
Python 2.5. Mono is much, much slower than .NET for this particular
benchmark, by the way. I am investigating.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2008/9/17 Dino Viehland [EMAIL PROTECTED]:
Which of course includes IronPython. So if you don't have TFS, or you're
running on some OS where it's not available, or just love SVN you can access
the IronPython repository at https://IronPython.svn.codeplex.com/svn
This is totally cool.
--
Seo
.__displayhook__ disappears
Unfortunately a 'minimal repro' of this is not easy - so I'm reporting it
here in the meantime.
This sounds like that sys module is being reloaded.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http
something practical with it.
Not to speak of huge amount of pure Python codes in matplotlib, which
I assume is bound to trigger some IronPython compat bug... (It's just a lot of
codes. No offense intended to IronPython team.)
--
Seo Sanghyeon
___
Users
in that its importer is not locked. CPython has
(in addition to Global Interpreter Lock, since imported module can be
a C extension)
a lock around its importer: see imp.acquire_lock and imp.release_lock. Since
import can cause another import, this is a reentrant lock.
--
Seo Sanghyeon
that interface provided by
CPython/win32com is almost compatible with IronPython/.NET COM
interop.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
servers.
Well said, but in that case (IronPython on x64 servers, and I assume which
runs Linux), what you want is benchmark of Mono amd64 JIT, not Vista x64.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com
:
http://docs.python.org/lib/module-time.html#l2h-2819
clock() ... in any case, this is the function to use for benchmarking
Python or timing algorithms.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com
This is just to let you know that I filed a CodePlex issue on this
topic. Please comment (and vote!) there.
http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=17781
In particular, I am interested in the result of execfib.py on .NET.
Current data is on Mono.
--
Seo Sanghyeon
heavy code was roop-unrolled using exec.
You can guess why I was very disappointed...
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
is backed by STMicroelectronics, a big corporation, probably
for its own use.
http://gcc.gnu.org/projects/cli.html
Remember, Mono doesn't need to be the sole provider of non-Microsoft
CLI tools. :) I believe GCC/CLI can be made to help this project.
Okay, enough said for this mail...
--
Seo
'\u6211' in position
0: ordinal not in range(128)
reload(sys)
module 'sys' (built-in)
sys.setdefaultencoding('gbk')
sys.getdefaultencoding()
'gbk'
str(s)
'\xce\xd2'
Hope this help,
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
http
With following code, IronPython 0.9.5 crashes with the message
Unhandled Exception: no value for arg.
class C:
def foo(self, arg, bar):
pass
obj = C()
obj.foo(None, bar=1)
Above testcase was reduced from Python standard library's optparse.py,
line 1120, in Python 2.4.2.
Seo
(IronPython.Objects.Frame frame)
in 0x002b0 IronPython.Hosting.PythonEngine:DoOneInteractive
(IronPython.Objects.Frame topFrame)
in 0x00064 IronPython.Hosting.PythonEngine:RunInteractive ()
* * *
Any idea?
Seo Sanghyeon
diff -ur IronPython-0.9.old/IronPython/Hosting/PythonEngine.cs
IronPython-0.9
72 matches
Mail list logo