[New-bugs-announce] [issue25474] Weird behavior when setting f_trace in a context manager

Fred Gansevles report at bugs.python.org
Sun Oct 25 08:04:58 EDT 2015


New submission from Fred Gansevles:

I'm playing with the idea of making a DSL based on anonynous code blocks

I discovered that the behaviour of the context manager is different in some cases if there are line-continuations in the 'with' command

I've attached a script that reproduces this behaviour.

With both Python 2.7.6 and Python 3.4.3 I get the same results.


Fred.

----------
files: as_context.py
messages: 253426
nosy: Fred Gansevles
priority: normal
severity: normal
status: open
title: Weird behavior when setting f_trace in a context manager
type: behavior
Added file: http://bugs.python.org/file40858/as_context.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25474>
_______________________________________


More information about the New-bugs-announce mailing list