• Log inStart now

Python agent v1.2.1.265

April 25, 2012


The end-of-life date for this agent version is July 29, 2019. To update to the latest agent version, see Update the agent. For more information, see End-of-life policy.

Bug fixes:

  • Fix assertion violations when greenlets were used explicitly in the context of a normal thread based request handler.
  • Installation of package using Python 2.5 was giving warnings when trying to byte code compile installed .py files due to missing import for 'with_statement' from __future__ module in some modules.
  • The newrelic-admin script is now installed correctly when installing the package as an egg under buildout.
  • The newrelic.agent.stop_recording() function was causing errors when using any WSGI hosting mechanism other than Apache/mod_wsgi and wasn't working as intended even under mod_wsgi.
  • Disable CPU sampling when os.times() is not available, such as when using Jython.
  • Derivation of name when instrumenting the __init__() method of a class could fail if the class had a __len__() method which accessed methods/attributes which were only setup during the constructor.
  • Move importing of multiprocessing module to global scope to avoid logging module bug in Python versions up to 2.6.
Copyright © 2022 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.