Microsoft making Python.NET

Discussion in 'Python' started by Greg, Apr 1, 2004.

  1. Greg

    Greg Guest

    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/default.asp?url=/library/en-us/dnaskdr/html/askgui04032001.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
     
    Greg, Apr 1, 2004
    #1
    1. Advertising

  2. "April Fools! But This One Is Real ..."
    Don't you think you're faked?


    ----- Original Message -----
    From: "Greg" <>
    Newsgroups: comp.lang.python
    To: <>
    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/default.asp?url=/library/en-us/dnaskdr/html/askgui04032001.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
     
    Eugeni Doljenko, Apr 1, 2004
    #2
    1. Advertising

  3. -----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/default.asp?url=/library/en-us/dnaskdr/html/askgui04032001.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:
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (GNU/Linux)
    Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

    iEYEARECAAYFAkBsrDsACgkQOrVFmaIbww4q9QCeLAJlVn8EVsCvltjCz1+QbEjg
    xuAAnRx2PYY3gWNoEqinptQoHRcPrMlR
    =PwgS
    -----END PGP SIGNATURE-----
     
    Jon-Pierre Gentil, Apr 2, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Charles A. Lackman
    Replies:
    1
    Views:
    1,402
    smith
    Dec 8, 2004
  2. SpamProof
    Replies:
    0
    Views:
    603
    SpamProof
    Oct 21, 2003
  3. =?Utf-8?B?ZGF2aWQ=?=

    Microsoft TreeView: Microsoft.Web.UI.WebControls.dll

    =?Utf-8?B?ZGF2aWQ=?=, Apr 11, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    3,628
    Patrick Olurotimi Ige
    Apr 11, 2005
  4. Replies:
    5
    Views:
    1,894
    Andrew Thompson
    Jan 12, 2005
  5. Replies:
    1
    Views:
    404
    Jerry Stuckle
    May 17, 2006
Loading...

Share This Page