2011/3/2 Jeff Hardy :
> The CPython devs have talked about committing to a stable public ABI
> for 3.3, which would help a lot. I'm not sure if that went any where
> recently, though.
Some of stable ABI work got already in for 3.2.
http://docs.python.org/py3k/whatsnew/3.2.html
--
ementTree:
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
st
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@lists.ironpython
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
ing on pyexpat
module right now.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
g from Microsoft? Then I am not sure whether such thing exists
(or should exist). On the other hand, Mono project website clearly
says "Mono supports IronPython", and it is one of their goal to stay
that way.
http://mono-project.com/Python
--
Seo Sanghyeon
__
ot;
>>
>> Most other configuration parameters are made available on
>> connections and cursors (with the cursor setting overriding the
>> connection one), so I think that's the most DB-API
>> compatible way of implementing this.
I agree with this. Sensible.
library.
My 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
as I understand, Django does not handle paramstyle
difference in DB-API 2 drivers, so 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
2009/10/14 :
> 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.
rllib2.
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
python-tornado/browse_thread/thread/befb054556fc335d
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2009/9/1 Michael Foord :
> http://www.voidspace.org.uk/ironpython/tools-and-ides.shtml
This is a great article.
Maybe you should link to IronPython integration feature request on
Microsoft Connect in Visual Studio summary session so that people who
read the article can vote on it?
--
2009/8/4 Seo Sanghyeon :
> 2009/8/4 Dino Viehland :
>> 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("li
platform (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 Slide :
> 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
--
Se
tream), pysqlite, has been ported to ctypes
FFI in the past. Now IronPython has ctypes, in theory, this pure Python
version should work without modification.
I don't think it will work without modification :) but it certainly would
be a great stress test for IronPython's new ctype
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 Sang
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
use 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@lists.i
2009/6/25 Adam Brand :
> 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
h
2009/6/20 :
> 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://lists.ironpython.com/listin
itten 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
Following program prints different result between CPython and IronPython:
def f(): pass
print type(f).__module__
CPython: __builtin__
IronPython:
This breaks codes which assume __module__ is a string.
--
Seo Sanghyeon
___
Users mailing list
Users
return 'Unknown error ' + str(code)
os.strerror = strerror
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
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
e:
exception AttributeError
Raised when an attribute 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 attri
(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__
--
Seo Sanghyeon
___
Users mailing list
Users
.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
rame'
Temporary workaround: run reload(__builtins__) at the beginning of
interactive sessions.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
mp; has higher precedence than ==. So IronPython 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.Crea
No idea.
2. Yes.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
2009/5/9 Seo Sanghyeon :
> 2009/5/9 Jb Evain :
>> Hey Seo,
>>
>> On 5/9/09, Seo Sanghyeon 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
>>> i
2009/5/9 Jb Evain :
> Hey Seo,
>
> On 5/9/09, Seo Sanghyeon 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,
move
to 2.6 standard library 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/4/30 Michael Foord :
> 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
___
Us
uages (eg. 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 s
eCodeKind.Statements :
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
_
" if you want to avoid line
ending difference.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
nction.cs to remove it's IFastInvokable
> implementation.
Thanks a lot for this hint! I went back to 48270, and this time it
compiles and runs without a hitch. I will test a bit more and write
another email.
--
Seo Sanghyeon
___
User
and tracked as #415375.
https://bugzilla.novell.com/show_bug.cgi?id=415375
If anyone has something to update, please, please post.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
Are you missing an assembly reference?
> [csc] Compilation failed: 2 error(s), 0 warnings
Did you apply patch-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
), but not always. 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
2008/12/16 Curt Hagenlocher :
> 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 San
2008/12/16 Michael Foord :
> 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
___
User
is actually valid (then I argue documentation is
confusing), I think 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
$ cp build/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
Microsoft.Scripting.Core/Com/MetaUnwrappedComObject.cs
IronPython/Runtime/Binding/IPythonCallable.cs
IronPython/Runtime/ThreadLocal.cs
Thanks,
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users
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
_
nRuby's "rubification" of method 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
tants like
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/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.
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.c
mplementation of
> elementtree along 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.bi
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.ironp
uot;ntpath", "posixpath", etc.).
Another obvious candidate is "clidom", reusing .NET's DOM classes.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
g xml.dom.minidom?
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
mportable. You don't 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
thon?
Yes there is. Grab 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
U
;
or some 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
#x27;t have "params" attribute and mcs doesn't warn about them.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
ng-free on Mono now!
--
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=rev&revision=887
make
old-style->new-style change.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
bout 30% slower than
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
.com/svn
This is totally cool.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
to None
> * Our patched sys.__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
__
ted with Jet (MS Access), MS SQL server, and mySQL engines. Probably
> works with any other suitable ADO DB source.
> It will be released (later) as part of both pywin32 and fepy.
This is fantastic. Thank you!
--
Seo Sanghyeon
___
Users
s, and more will come. But
I think Beta 4 or Beta 5 should be rather close to the final form.
(Much more so than, say, Beta 1.)
> 4. Should I just wait for 2.0 final?
Probably not.
--
Seo Sanghyeon
___
Users mailing list
Users@lists.ironpytho
No, IronPython is "worse" 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
oughly) and allow you to do 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
when it seems to me 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
ters *can* help, if your compiler explots it well. But the point 1
*may* offset any benefit.
5. IIRC Mono x64 JIT is basically the same codebase as Mono x86 JIT, and
the point 1 and 4 seems to pretty much offset each other. So they perform
about the same,
no). But if I did, it would be x64, because I only use
> x64 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
_
on Library Reference says:
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://
x27;s macro tool. Exactly
computationally 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
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
But
it's yet another project, not Google Summer of Code attempts. This
project 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/C
t;> str(s)
Traceback (most recent call last):
File "", line 1, in ?
UnicodeEncodeError: 'ascii' codec can't encode character u'\u6211' in position
0: ordinal not in range(128)
>>> reload(sys)
>>> sys.setdefaultencoding('
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 Pyt
irst time using Gtk#.)
http://sparcs.kaist.ac.kr/~tinuviel/devel/fepy/pixbuf.py
> so - could someone _please_ please point me in an appropriate
> direction of some example code or a tutorial with example
> code-fragments of how to friggin display PNGs on a screen.
Given as requested.
S
efore
"mkdir IronPythonTest/bin/Debug" fails. Including an empty bin directory
in the release may be the easiest way to fix this.
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com
s not implemented yet.
I am not experienced with .NET at all, and this is my first programming
in IronPython apart from toying. Comments welcome!
Seo Sanghyeon
___
users mailing list
users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/
83 matches
Mail list logo