Comments (1)
It also works when the script itself sets a trace handler, without setting -X:Tracing from outside:
C:\Program Files (x86)\IronPython 2.7>ipy.exe
IronPython 2.7.5 (2.7.5.0) on .NET 4.0.30319.34209 (32-bit)
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> def trace(*args, **kwargs):
... return trace
...
>>> trace
<function trace at 0x000000000000002B>
>>> sys.settrace(trace)
>>> import mimetypes
>>> mimetypes.guess_type("test.txt")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Program Files (x86)\IronPython 2.7\Lib\mimetypes.py", line 294, in guess_type
File "C:\Program Files (x86)\IronPython 2.7\Lib\mimetypes.py", line 355, in init
File "C:\Program Files (x86)\IronPython 2.7\Lib\mimetypes.py", line 259, in read_windows_registry
File "C:\Program Files (x86)\IronPython 2.7\Lib\mimetypes.py", line 245, in enum_types
TypeError: Das Objekt des Typs "Microsoft.Scripting.Runtime.Uninitialized" kann nicht in Typ "System.Exception" umgewandelt werden.
from main.
Related Issues (20)
- Python 3 HOT 2
- test_math_cpy fails in 64-bit
- Upgrade pip to 9.0.1 HOT 3
- Links in you site HOT 1
- Drop support for Microsoft.Scripting.Core HOT 1
- Drop support for Silverlight HOT 1
- Switch to using IronLanguages/dlr HOT 1
- Move IronLanguages/main to IronLanguages/ironpython2? HOT 1
- Application does not run on mono 5 runtime. HOT 2
- Crash in WeakRefTracker finalizer with mono 5 HOT 1
- json module raise error when run with -X:Python30 argument. HOT 1
- traceback.format_exc() not working HOT 4
- Misleading ArgumentTypeException message when calling C# method HOT 6
- IronPython 2.7.7 is not compatible with dotnet core 1.1 HOT 1
- Crash when using unquote_plus HOT 1
- Strange behavior of symbolic group name on regular expression module. HOT 1
- PARSINGCONTEXT can be used as ASTCONTEXT in the Expression nodes of IRony.Interpreter??Can anyone suggest please? HOT 1
- Looking to save file into AWS S3 bucket using IronPython? HOT 1
- Does not build with current Mono HOT 1
- weakref.ref object sometimes returns None in a mulithreaded scenario HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from main.