473,378 Members | 1,407 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Microsoft making Python.NET

The following article from microsoft describes a workaroind for a bug
in hte beta version of VISUAL PYTHON DOT NET

http://msdn.microsoft.com/library/de...ui04032001.asp

When did microsoft put python into the visual studio beta? How did
this not make big news in developmnt circles?

A.E.

Here is the body of the article:

FIX: Memory Leak after pickling in Visual Python .NET Beta 1

View products that this article applies to.
This article was previously published under Q114345321
IMPORTANT: This article contains information about modifying the
registry. Before you modify the registry, make sure to back it up and
make sure that you understand how to restore the registry if a problem
occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in
the Microsoft Knowledge Base:

114345321/8 Description of the Microsoft Windows Registry

SYMPTOMS
When pickling an object containing a cyclic graph, the Visual Python
..NET Beta 1 can create references that will not be garbage collected.

CAUSE
Visual Python .NET Beta 1 does not impose a recursion limit by
default. In this mode, an objects references are evaluated lazily
durring pickling. If the garbage collector runs durring this process,
some objects can be incorrectly referenced.
The failure is due to registry key data that was installed by Visual
Python .NET Beta 1.

RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system.
Microsoft cannot guarantee that you can solve problems that result
from using Registry Editor incorrectly. Use Registry Editor at your
own risk.

Open Regedit.exe and browse to
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\ 8.0\P++\RecursionLimit.
To be safe, back up this registry key: From the File menu, click
Export and save the key to an .reg file.
Set the RecusionLimit key from 0 to 1000.

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products
that are listed at the beginning of this article. This bug will be
corrected in Visual Python .NET (2004).

The information in this article applies to:
Microsoft Visual Studio .NET 8.0, Beta 1
Jul 18 '05 #1
2 1790
"April Fools! But This One Is Real ..."
Don't you think you're faked?
----- Original Message -----
From: "Greg" <an*****@nospam.rocketmail.com>
Newsgroups: comp.lang.python
To: <py*********@python.org>
Sent: Thursday, April 01, 2004 6:56 PM
Subject: Microsoft making Python.NET

The following article from microsoft describes a workaroind for a bug
in hte beta version of VISUAL PYTHON DOT NET

http://msdn.microsoft.com/library/de...ui04032001.asp
When did microsoft put python into the visual studio beta? How did
this not make big news in developmnt circles?

A.E.

Here is the body of the article:

FIX: Memory Leak after pickling in Visual Python .NET Beta 1

View products that this article applies to.
This article was previously published under Q114345321
IMPORTANT: This article contains information about modifying the
registry. Before you modify the registry, make sure to back it up and
make sure that you understand how to restore the registry if a problem
occurs. For information about how to back up, restore, and edit the
registry, click the following article number to view the article in
the Microsoft Knowledge Base:

114345321/8 Description of the Microsoft Windows Registry

SYMPTOMS
When pickling an object containing a cyclic graph, the Visual Python
.NET Beta 1 can create references that will not be garbage collected.

CAUSE
Visual Python .NET Beta 1 does not impose a recursion limit by
default. In this mode, an objects references are evaluated lazily
durring pickling. If the garbage collector runs durring this process,
some objects can be incorrectly referenced.
The failure is due to registry key data that was installed by Visual
Python .NET Beta 1.

RESOLUTION
WARNING: If you use Registry Editor incorrectly, you may cause serious
problems that may require you to reinstall your operating system.
Microsoft cannot guarantee that you can solve problems that result
from using Registry Editor incorrectly. Use Registry Editor at your
own risk.

Open Regedit.exe and browse to
HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\ 8.0\P++\RecursionLimit.
To be safe, back up this registry key: From the File menu, click
Export and save the key to an .reg file.
Set the RecusionLimit key from 0 to 1000.

STATUS
Microsoft has confirmed that this is a bug in the Microsoft products
that are listed at the beginning of this article. This bug will be
corrected in Visual Python .NET (2004).

The information in this article applies to:
Microsoft Visual Studio .NET 8.0, Beta 1
--
http://mail.python.org/mailman/listinfo/python-list


Jul 18 '05 #2
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greg wrote:
The following article from microsoft describes a workaroind for a bug
in hte beta version of VISUAL PYTHON DOT NET

http://msdn.microsoft.com/library/de...ui04032001.asp
When did microsoft put python into the visual studio beta? How did
this not make big news in developmnt circles?


Erm, ActiveState makes Visual Python.NET.

http://www.activestate.com/Products/Visual_Python/?_x=1

Microsoft often places data about how its software interacts with 3rd
party software in their MSDN knowledgebase.

If you search for Python alone on MSDN you get lots of information on
using Python in ASP using ActivePython.

- --
:: Jon-Pierre Gentil
:: PGP Key ID 0xA21BC30E
:: Jabber: jg*****@jabber.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iEYEARECAAYFAkBsrDsACgkQOrVFmaIbww4q9QCeLAJlVn8EVs CvltjCz1+QbEjg
xuAAnRx2PYY3gWNoEqinptQoHRcPrMlR
=PwgS
-----END PGP SIGNATURE-----
Jul 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

31
by: CYBER | last post by:
Hello Is there any other way under python to create blocks ?? instead of def sth(x): return x
1
by: Erwin S. Andreasen | last post by:
I have a Python application server that manages several different data sets, permits various reports to be run on them and the data to be downloaded as tab-delimetered files, all via a web...
182
by: Jim Hubbard | last post by:
http://www.eweek.com/article2/0,1759,1774642,00.asp
90
by: Ben Finney | last post by:
Howdy all, How can a (user-defined) class ensure that its instances are immutable, like an int or a tuple, without inheriting from those types? What caveats should be observed in making...
25
by: Nainto | last post by:
I came across this link today. http://tinyurl.com/9c7ta It seems Microsoft is getting involved with Python. What do you think of it? Is it any good? Anything to worry about? -- Zach
17
by: ToddLMorgan | last post by:
I'm just starting out with python, after having a long history with Java. I was wondering if there were any resources or tips from anyone out there in Python-land that can help me make the...
28
by: sturlamolden | last post by:
On Monday Microsoft announced a new runtime for dynamic languages, which they call "DLR". It sits on top of the conventional .NET runtime (CLR) and provides services for dynamically typed...
0
by: hide1713 | last post by:
Hi everyone We are making a disk less workstation environment which support python.We use PXE DHCP TFTP to boot up disk less system.There are three choices as i know to set up a python environment...
11
by: Rafe | last post by:
Hi, I'm working within an application (making a lot of wrappers), but the application is not case sensitive. For example, Typing obj.name, obj.Name, or even object.naMe is all fine (as far as...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.