Microsoft making Python.NET

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Greg

    Microsoft making Python.NET

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



    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_US ER\Software\Mic rosoft\VisualSt udio\8.0\P++\Re cursionLimit.
    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


  • Eugeni Doljenko

    #2
    Re: Microsoft making Python.NET

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


    ----- Original Message -----
    From: "Greg" <antiego@nospam .rocketmail.com >
    Newsgroups: comp.lang.pytho n
    To: <python-list@python.org >
    Sent: Thursday, April 01, 2004 6:56 PM
    Subject: Microsoft making Python.NET

    [color=blue]
    > The following article from microsoft describes a workaroind for a bug
    > in hte beta version of VISUAL PYTHON DOT NET
    >
    >[/color]
    http://msdn.microsoft.com/library/de...ui04032001.asp[color=blue]
    >
    > 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_US ER\Software\Mic rosoft\VisualSt udio\8.0\P++\Re cursionLimit.
    > 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[/color]



    Comment

    • Jon-Pierre Gentil

      #3
      Re: Microsoft making Python.NET

      -----BEGIN PGP SIGNED MESSAGE-----
      Hash: SHA1

      Greg wrote:[color=blue]
      > The following article from microsoft describes a workaroind for a bug
      > in hte beta version of VISUAL PYTHON DOT NET
      >
      >[/color]
      http://msdn.microsoft.com/library/de...ui04032001.asp[color=blue]
      >
      > When did microsoft put python into the visual studio beta? How did
      > this not make big news in developmnt circles?[/color]

      Erm, ActiveState makes Visual Python.NET.



      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: jgentil@jabber. org
      -----BEGIN PGP SIGNATURE-----
      Version: GnuPG v1.2.4 (GNU/Linux)
      Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

      iEYEARECAAYFAkB srDsACgkQOrVFma Ibww4q9QCeLAJlV n8EVsCvltjCz1+Q bEjg
      xuAAnRx2PYY3gWN oEqinptQoHRcPrM lR
      =PwgS
      -----END PGP SIGNATURE-----

      Comment

      Working...