Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #72433

Re: Strange Behavior

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Strange Behavior
Date 2014-06-02 18:53 +0100
References <CANYcpZy3qZHRORFPTnvPcSV+uU2MHHPPcKuDXXuRvjNJBnKJKg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.10567.1401731584.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 02/06/2014 17:35, robertw89@googlemail.com wrote:
> Hello folks,
>
> I am not sure if it is only on my system the case that the code in
> http://pastebin.com/WETvqMJN misbehaves in the stated way.
> Can anybody reproduce it?
>
> I thought it could be that the tabs/spaces do influence it, but it
> doesn't care.
>
> Thank you very much for your time.
>
> Robert
>
>

Why couldn't you put your code inline, the same as you showed it here 
http://bugs.python.org/issue21631 ?

Here's the output I get.

Traceback (most recent call last):
   File "C:\Users\Mark\MyPython\mytest.py", line 30, in <module>
     print(_getStringOfElements(None))
   File "C:\Users\Mark\MyPython\mytest.py", line 18, in _getStringOfElements
     if iterationElement["type"] == EnumSectionContentType.LABEL:
AttributeError: type object 'EnumSectionContentType' has no attribute 
'LABEL'

As R. David Murray has already said on the bug tracker mailing list, I 
think you need to be more careful with your testing.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

---
This email is free from viruses and malware because avast! Antivirus protection is active.
http://www.avast.com

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Strange Behavior Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-06-02 18:53 +0100

csiph-web