[issue35076] FAIL: test_min_max_version (test.test_ssl.ContextTests) with libressl-2.8.2

2018-10-26 Thread jean-michel
New submission from jean-michel : Hi. Python-3.7.1 with LibreSSL-2.8.2 and patches from https://github.com/python/cpython/pull/8055 and https://github.com/python/cpython/pull/8050 Compilation failed because of test_ssl failed. A detailed list of all the patches that I use for my python

[issue32131] Missing encoding parameter in urllib/parse.py

2017-11-25 Thread Jean-Michel
Jean-Michel added the comment: Sorry, the description was missing. parse.py crashes if provided with unicode data like "voilà" : [wsgi:error] [pid 20335] [client 127.0.0.1:44658] UnicodeEncodeError: 'ascii' codec can't encode character '\\xe0' in position

[issue32131] Missing encoding parameter in urllib/parse.py

2017-11-25 Thread Jean-Michel
New submission from Jean-Michel : Here is the patch, working for me in Python 3.4.2 610,611c703 < #~ value = _coerce_result(value) < value = _coerce_result(value,encoding=encoding) --- > value = _coerce_result(value) -- messages: 306953 n

[issue14176] Fix unicode literals

2012-03-03 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: 2012/3/3 Terry J. Reedy > > Terry J. Reedy added the comment: > > > That would mean in Python 3, '...' works and u'...' will not work. > > You misunderstand the PEP: in 3.3, '...' and u'...&#x

[issue14176] Fix unicode literals

2012-03-02 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: You do not get it or I do not explain it correctly. I do not care if Py 3.3 accepts '...' ou u'...'. I'm only affraid, Py 3.3 is suffering from the same non working behaviour Python 2 is suffering. I have seen so many things...

[issue14176] Fix unicode literals (for PEP 414)

2012-03-02 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: Sorry, I neglected the most important information. Python 3.2 is working perfectly. It is simply impossible to create non valid strings (type/class 'str') from a keyboard. (non programmatically created). Like the limited characters set I used wh

[issue14176] Fix unicode literals (for PEP 414)

2012-03-02 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: I deliberately hid the information about the used interactive interpreter; just to show you the "experience" of new Python user. (This is what I'm showing to potential Python devs who are interested in this tool; I know Python and use it sinc

[issue14176] Fix unicode literals (for PEP 414)

2012-03-02 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : Now, that the PEP 414 has been accepted, I can only strongly recommend to fix the problem of unicode literals as a partial workaround. >>> print u'abcœé€' abcé >>> If these six characters are not rendered correctly, you shou

[issue13610] On Python parsing numbers.

2011-12-17 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: > Ezio Melotti Good catch. I'm not complaining. I just find funny to see the number of editors not "colorizing" this kind of Python valid expressions. (IDLE included) For me, subject close. --

[issue13610] On Python parsing numbers.

2011-12-17 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: I have done a little bit hd/files archeology and found some of my comments. Pointing on number litterals is probably wrong. The fact is that, this happens with practically any expression. And strangely, not all keywords (constructs?) are affected

[issue13610] On Python parsing numbers.

2011-12-15 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : Can this be fixed? As far as I can remember (ver. 1.5.6), it has always existed. Python does not crash, I find it inelegant. Should it not be a SyntaxError? Side effect. Searching for keywords, (eg. with re, "\b") may practically always implies

[issue12736] Request for python casemapping functions to use full not simple casemaps per Unicode's recommendation

2011-08-29 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: Œ, œ or even & are historically ligatures or "ligatured forms". In the French typography, they are "single plain letters" and they belong the group of the 42 letters used in the French typography. Typographically speaking, usin

[issue10920] cp65001, PowerShell, Python crash.

2011-01-16 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : Just relying a discussion open on comp.lang.python, http://groups.google.com/group/comp.lang.python/browse_thread/thread/771aa9081ad6584c# 1) Windows 7, open PowerShell 2) Change code page to cp65001 3) Launch Python3.1.2 or Python3.2.rc1 -> crash

[issue8895] newline vs. newlines in io module

2010-06-04 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: 2010/6/4 Éric Araujo > > Éric Araujo added the comment: > > Could you think of a way to improve the docs on that point? > > -- > > Quick and dirty answer. I have ~10 years experience with Python and it seems to me the

[issue8895] newline vs. newlines in io module

2010-06-04 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: 2010/6/4 R. David Murray > > R. David Murray added the comment: > > This is as documented: > > http://docs.python.org/dev/3.0/library/io.html#io.TextIOBase.newlines > > The keyword argument is named 'newline', the att

[issue8895] newline arg/attribute in the module io

2010-06-04 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : I was confused about the newline argument/attribute in the misc. classes of the io module until I realize there is a spelling issue between the docs and the real implementation. (Py 2.6.5, Py2.7b2). Py 3.x not tested. >>> sys.version 2.7b2 (r2

[issue8185] re.findall()

2010-03-20 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : >>> sys.version 2.6.5 (r265:79096, Mar 19 2010, 21:48:26) [MSC v.1500 32 bit (Intel)] >>> import re >>> re.match("[-+]?[0-9]+[.]?[0-9]*([eE][-+]?[0-9]+)?", "1.23e-4").group() 1.23e-4 >>> re.search(&qu

[issue8137] Missing iso-8859-16 codec in the docs

2010-03-14 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : The "codecs — Codec registry and base classes" part of the documentions (Python 2.6.4, 2.7.a?, 3.1.1) does not mention the existence of the iso-8859-16 codec. -- assignee: georg.brandl components: Documentation messages: 101047 nosy: ge

[issue8121] Typo in cStringIO

2010-03-12 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: Wow! I never been aware of this (documentation, dir(), __doc__) Indeed: >>> cStringIO.StringIO() >>> cStringIO.StringIO('abc') Sorry for the noise. -- ___ Python tracker <h

[issue8121] Typo in cStringIO

2010-03-12 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : There is a malformed string in the module cStringIO. StringI <--> StringIO >>> sys.version 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] >>> StringIO.StringIO('123') >>> cStringIO.

[issue7660] Two float('nan') are not equal

2010-01-08 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : I did not find any report about this. Windows 7, Python 2.6.4 >>> float('inf') == float('inf') True >>> float('-inf') == float('-inf') True >>> float('-inf') == float('

[issue7426] StringIO and with statement

2009-12-03 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : When toying with the "with" statement, I fell on this: Python 2.6.4 >>> with open('abc.txt', 'r') as f: for line in f: print line.rstrip() abc def >>> >>&g

[issue1457] Cannot write an array in a file opened in r+b mode.

2009-09-07 Thread Ravon Jean-Michel
Ravon Jean-Michel added the comment: It works in python 2.5. Why not in jython? -- nosy: +jmravon title: IDLE - configDialog - new layout for key config -> Cannot write an array in a file opened in r+b mode. ___ Python tracker &l

[issue4015] [patch] make installed scripts executable on windows

2009-04-01 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: It is true, that on Windows the "mime types", .py, .pyw point to a specific version of Python. Having Python 2.4, 2.5, 2.6, 3.0, 3.1 installed on my hd and applications using these (different) versions, I am *very glad* on that system, al

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-03-30 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: Quick feedback from a Windows user. I made a few more tests with the freshly installed Pyton 3.1a1. The compile() function is running very well. As a side effect, it now possible to write an "execfile()" without any problem. Tests with execfile(

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-03-25 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: > Victor Yes, I could, but I think this is not an IDLE issue, I'm just using IDLE to illustrate the problem. I got the same when I'm working from within an editor or with my interactive interpreter I wrote for the fun. Code in the editor:

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-03-25 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: When I was preparing some test examples to be submitted here. I noticed the module codeop.py used by the InteractiveInterpreter, does not like byte strings very much. IDLE, Python 3.0.1, winxp sp2 >>> source = b'print(999)' >>&g

[issue5556] interactive interpreter, source encoding

2009-03-24 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth : A few hours ago I sent a comment to the issue #4626. I didn't notice the issue was closed. So I repeat it here. I'm interested in comments because I have the feeling it is still a pending annoying isssue. --- I'm glad to have discovere

[issue4626] compile() doesn't ignore the source encoding when a string is passed in

2009-03-24 Thread Jean-Michel Fauth
Jean-Michel Fauth added the comment: I'm glad to have discovered this topic. I bumped into something similar when I toyed with an interactive interpreter. from code import InteractiveInterpreter ii = InteractiveInterpreter() source = ... ii.runsource(source) What should be the encodin

[issue4337] Iteration over a map object with list()

2008-11-17 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: 2008/11/17 Raymond Hettinger <[EMAIL PROTECTED]> > > Raymond Hettinger <[EMAIL PROTECTED]> added the comment: > > Feature :-) > > You will get the expected result if you skip the step where you ran

[issue4337] Iteration over a map object with list()

2008-11-17 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth <[EMAIL PROTECTED]>: win XP sp2, Py3.0c2 I had to face an annoying problem when iterating over a map object. With a range class, this works >>> r = range(5) >>> list(r) [0, 1, 2, 3, 4] With dict_keys/values/items objects, the fol

[issue3995] iso-xxx/cp1252 inconsistencies in Python 2.* not in 3.*

2008-09-29 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth <[EMAIL PROTECTED]>: XP SP2 fr_CH cp1252 I have always found, there are some inconsistencies in the Python <=2.5 serie regarding the char endodings, especially the iso-8859-1, cp1252, iso-8859-15 encodings. I do not know if this must be considered

[issue3943] IDLE won't start in 3.0rc1 "Subprocess didn't make connection...."

2008-09-23 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: I think the problem is fixed. See issue 3905. -- nosy: +jmfauth ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue3905] subprocess failing in GUI applications on Windows

2008-09-21 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: > Georg Brandl Thanks, patch applied on w2k+sp4 box, swiss french, Python 3.0rc1. IDLE is working fine. ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.py

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-09-21 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: Python 3.0rc1 If the lines are now displayed correctly, I think there is still a numbering issue, a +1 offset. Python 2.5.2 # -*- coding: cp1252 -*- <<<< line 1, first line s = 'abc' import dummy

[issue3922] 3.0rc1 missing tk lib in sys.path?

2008-09-21 Thread Jean-Michel Fauth
New submission from Jean-Michel Fauth <[EMAIL PROTECTED]>: 3.0rc1: When toying and attempting to import the scrolledtext module, I noticed the tkinter library path is no more by default included in the sys.path. Unfortunate omission or new Python 3.0 design? C:\Python30>python Pyth

[issue3905] subprocess failing in GUI applications on Windows

2008-09-20 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: Just for information and from an end user perspective. I have tried to replace the socketserver.py from the original 3.0rc1 distribution by the socketserver.py as proposed by Benjamin Peterson (r66520). Script difference (li

[issue3905] subprocess failing in GUI applications on Windows

2008-09-19 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\>cd python30 C:\Python30>python Lib/idlelib/idle.py Traceback (most recent call last): File "", line 1, in File "C:\

[issue3905] subprocess failing in GUI applications on Windows

2008-09-19 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: I do not really know if this is related to this, but I suspect yes. On my w2k+sp4 box, swiss french, Python 3.0rc1, IDLE does not start or more precisely it starts by opening the following message box: Subprocess Startup

[issue2384] [Py3k] line number is wrong after encoding declaration

2008-08-18 Thread Jean-Michel Fauth
Jean-Michel Fauth <[EMAIL PROTECTED]> added the comment: Py3.0b2. This bug seems to be quite annoying. Especially when one works with a main module importing modules which are importing modules and so on, all modules having an encoding declaration. The Traceback (and the user) is (are) a

[issue1761] Bug in re.sub()

2008-01-08 Thread Ravon Jean-Michel
New submission from Ravon Jean-Michel: Here is my source: def truc (): line = ' hi \n' line1 = re.sub('$', 'hello', line) line2 = re.sub('$', 'you', line1) print line2 Here is what I get: >>> trace.truc() hi hel