[issue26430] quote marks problem on loaded file

2016-02-24 Thread quetzal

quetzal added the comment:

solution found.
as Silentghost was saying, the problem was in the encoding of the quotemarks... 
and somes other /ecute and web encoding... unseeabble directly in my navigator, 
and not directly in free-access by a simple xxx.replace(a,b)... 
the translation was not complete, and i omit to verify it before to come 
here... sorry... but it was really weird

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26430] quote marks problem on loaded file

2016-02-24 Thread quetzal

quetzal added the comment:

thanks silentghost for tested it... i'm gonna try to see what happened be 
there...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26430] quote marks problem on loaded file

2016-02-24 Thread SilentGhost

SilentGhost added the comment:

OK, sorry, but this is just nonsense. What most likely happens in your case is 
that the file doesn't contain a standard ASCII double quote, but one of it's 
fancy siblings.

For the note: I did test and naturally wasn't able to reproduce this.

--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26430] quote marks problem on loaded file

2016-02-24 Thread quetzal

quetzal added the comment:

well, silentghost... a .txt file, or an .html and that's all... if there's some 
text into... just find a pattern with some  - " - 

import the file in python(iddle)

and type :

if '''pattern''' in file:
__ print('ok')
else:
__ print('none')

i don't think that a file is really necessary... you'll do certainly better 
than me in testing...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26430] quote marks problem on loaded file

2016-02-24 Thread SilentGhost

SilentGhost added the comment:

Could you please upload the test file that would allow us to reproduce this 
behaviour.

--
nosy: +SilentGhost

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26430] quote marks problem on loaded file

2016-02-24 Thread quetzal

quetzal added the comment:

the word "string" got an "s" for sure, or it will not match it... but the 
problem is not about typography :D

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26430] quote marks problem on loaded file

2016-02-24 Thread quetzal

New submission from quetzal:

impossible to match a string pattern with a quotation mark in an opened file 
[code]
file = '''it's an opened file made of "strings"'''
if '''"string"''' in file:
print('ok')
else:
print('none')
[/code]
in iddle, it works with no difficulties...
but if the file comes from an file = open(fileadress).read()

the same code return nothing... it do not find the pattern string, and just 
because of double quote marks (i've not tried with some other marks)

for me it's a bug, because it do works well, if their no quotation marks

--
messages: 260826
nosy: quetzal
priority: normal
severity: normal
status: open
title: quote marks problem on loaded file
type: behavior
versions: Python 3.4

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com