[issue25940] SSL tests failed due to expired svn.python.org SSL certificate

2016-01-08 Thread Vincent Legoll

Vincent Legoll added the comment:

Maybe if the server change is not approved you can still push the part of the 
patch that un-hardwire that server name everywhere...

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25940>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue24525] [doc] missing word

2015-06-29 Thread Vincent Legoll

New submission from Vincent Legoll:

Here is a patch to fix a missing word in the urllib doc

--
assignee: docs@python
components: Documentation
files: python-doc-fix.hgpatch
messages: 245927
nosy: docs@python, vincent-legoll
priority: normal
severity: normal
status: open
title: [doc] missing word
type: enhancement
versions: Python 2.7
Added file: http://bugs.python.org/file39828/python-doc-fix.hgpatch

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



[issue12432] remove a bunch of unused imports in Lib

2011-06-28 Thread Vincent Legoll

New submission from Vincent Legoll vincent.leg...@gmail.com:

Using pylint I found some unused imports in Lib.

I filtered the most obvious ones by hand to produce the attached patch.

Should I submit individual patches, one for each file, so as to ease review ?

--
components: Library (Lib)
files: unused-imports-2.patch
keywords: patch
messages: 139362
nosy: vincele
priority: normal
severity: normal
status: open
title: remove a bunch of unused imports in Lib
versions: Python 3.4
Added file: http://bugs.python.org/file22508/unused-imports-2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12432
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12432] remove a bunch of unused imports in Lib

2011-06-28 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

Looking through http://hg.python.org/cpython/rev/8c17e898e0e8
I see that the glob.py hunk has been applied reversed.

The changeset 68349:55bea11d892e removing it is 3 monthes old...

Looks like I missed a svn-hg migration on my side, sorry for the screwup...

--
resolution: fixed - 
status: closed - open

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12432
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue12432] remove a bunch of unused imports in Lib

2011-06-28 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

This one reverts glob.py to the previous state

--
Added file: http://bugs.python.org/file22510/reremove-sys-import-from-glob.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12432
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

OK I'll look at it and respin with the comments in mind

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11302
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

Here we are, I left the exact messages for raised exceptions as comments so 
they can easily be checked in case of test failure...

Does that look OK ?

--
Added file: http://bugs.python.org/file22495/add-more-tests-for-ast_py-2.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11302
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

I was testing exact matches on the strings because I think pypy wants to be as 
compliant as possible with cpython, and IMHO that include exception msgs as far 
as possible. I don't see any reason to be different just for the sake of it.

As a user I'd find strange not to get same exc msgs from different 
implementations, and it'll make me loose some time digging why those difference 
exist...

Back to the patch:

The multiline (and also differing offsets) are there for testing .lineno  
.col_offset AST node's attributes. (there was a bug in pypy's implementation of 
those back then...)

Do you want that explained in the comment ?

Do you want me to add self.assertIn(foobar, str(e)) in the tests, remove 
the comments or let them as in the patch #2 ?

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11302
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11302] Add more tests to test_ast.py

2011-06-27 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

* removed the comments for exc msgs
* added explanation to multiline statements
* added 2 tests to test_AST_objects()

Regarding Éric's comment, I'm starting to wonder if those Exception tests 
should be added to cpython's testsuite. Maybe that would only be beneficial for 
pypy...

--
Added file: http://bugs.python.org/file22496/add-more-tests-for-ast_py-3.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11302
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11302] Add more tests to test_ast.py

2011-02-23 Thread Vincent Legoll

New submission from Vincent Legoll vincent.leg...@gmail.com:

While working to improve pypy's compliance with cpython2.7
I added more tests to the ast module test suite.

They may be of interest here too...

--
components: Tests
files: add-more-tests-for-ast_py.patch
keywords: patch
messages: 129225
nosy: vincele
priority: normal
severity: normal
status: open
title: Add more tests to test_ast.py
versions: Python 2.7
Added file: http://bugs.python.org/file20869/add-more-tests-for-ast_py.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11302
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6875] add os.close() suggestion to mkstemp documentation

2009-09-12 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

The real question I had is why mkstemp return an os-level opened file
descriptor instead of a python file object...

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6875
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6875] add os.close() suggestion to mkstemp documentation

2009-09-10 Thread Vincent Legoll

New submission from Vincent Legoll vincent.leg...@gmail.com:

As per the blog entry
http://www.logilab.org/blogentry/17873

I think the tempfile.mkstemp() documentation could be more helpful by
suggesting the use of os.close() appropriately.

If some native english speaker could give a review of the language I
used in the additional text, I'd be grateful.

--
assignee: georg.brandl
components: Documentation
files: python-doc-mkstemp.patch
keywords: patch
messages: 92477
nosy: georg.brandl, vincele
severity: normal
status: open
title: add os.close() suggestion to mkstemp documentation
type: feature request
versions: Python 3.2
Added file: http://bugs.python.org/file14870/python-doc-mkstemp.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6875
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6875] add os.close() suggestion to mkstemp documentation

2009-09-10 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

Or a review of the markup I used

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6875
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6620] Variable may be used before first being assigned to in Lib/locale.py

2009-08-04 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

Yes it does

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6620
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6622] [RFC] wrong variable used in Lib/poplib.py

2009-08-04 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

Could someone ensure the attached unittest does the job, I blindly
copied from above...

I don't know how to launch an unittest with the svn 'Lib', it takes the
system one and just messing with PYTHONPATH won't work either.

--
Added file: 
http://bugs.python.org/file14649/py3k-poplib.py-use-wrong-variable-unittest.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6622
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6623] Lib/ftplib.py netrc class parsing problem

2009-08-04 Thread Vincent Legoll

Vincent Legoll vincent.leg...@gmail.com added the comment:

If the macro_lines is not emptied upon end of parsing a macro
definition, if there's another macro definiton it will 'inherit' the
lines from the previous one, which could very well be uncool.

The use before definition should also be fixed.

Please advise if a better fix would be to completely remove the Netrc
class from ftplib, or replace it with a compatibility wrapper that use
the netrc module.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6623
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6619] Remove duplicated function in Lib/inspect.py

2009-08-01 Thread Vincent Legoll

New submission from Vincent Legoll vincent.leg...@gmail.com:

The isgenerator() function looks duplicated, remove the one with the
shortest docstring

--
components: Library (Lib)
files: py3k-inspect.py-remove-duplicated-func.patch
keywords: patch
messages: 91172
nosy: vincele
severity: normal
status: open
title: Remove duplicated function in Lib/inspect.py
versions: Python 3.2
Added file: 
http://bugs.python.org/file14621/py3k-inspect.py-remove-duplicated-func.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6619
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6620] Variable may be used before first being assigned to in Lib/locale.py

2009-08-01 Thread Vincent Legoll

New submission from Vincent Legoll vincent.leg...@gmail.com:

The last_interval variable could potentially be used before being first
assigned a value.

--
components: Library (Lib)
files: py3k-locale.py-use-before-assignment.patch
keywords: patch
messages: 91173
nosy: vincele
severity: normal
status: open
title: Variable may be used before first being assigned to in Lib/locale.py
versions: Python 3.2
Added file: 
http://bugs.python.org/file14622/py3k-locale.py-use-before-assignment.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6620
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6621] [RFC] Remove leftover use of Carbon module from Lib/binhex.py

2009-08-01 Thread Vincent Legoll

New submission from Vincent Legoll vincent.leg...@gmail.com:

The binhex module still has uses of the deprecated and now now removed
Carbon module.

The attached patch 'fix' this by removing the code, something else may
be required, but I don't know what.

So this is only a RFC to start discussion

--
components: Library (Lib)
files: py3k-binhex.py-remove-carbon-module-use.patch
keywords: patch
messages: 91174
nosy: vincele
severity: normal
status: open
title: [RFC] Remove leftover use of Carbon module from Lib/binhex.py
versions: Python 3.2
Added file: 
http://bugs.python.org/file14623/py3k-binhex.py-remove-carbon-module-use.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6621
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6622] [RFC] wrong variable used in Lib/poplib.py

2009-08-01 Thread Vincent Legoll

New submission from Vincent Legoll vincent.leg...@gmail.com:

The poplib modules use the 'secret' variable during its creation, this
may be a mistake. Perhaps the intention was to use the 'password' instead...

--
components: Library (Lib)
files: py3k-poplib.py-use-wrong-variable.patch
keywords: patch
messages: 91175
nosy: vincele
severity: normal
status: open
title: [RFC] wrong variable used in Lib/poplib.py
versions: Python 3.2
Added file: 
http://bugs.python.org/file14624/py3k-poplib.py-use-wrong-variable.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6622
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6623] Lib/ftplib.py

2009-08-01 Thread Vincent Legoll

Changes by Vincent Legoll vincent.leg...@gmail.com:


--
components: Library (Lib)
nosy: vincele
severity: normal
status: open
title: Lib/ftplib.py
versions: Python 3.2

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6623
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6623] Lib/ftplib.py netrc class parsing problem

2009-08-01 Thread Vincent Legoll

New submission from Vincent Legoll vincent.leg...@gmail.com:

The 'macro_lines' list should probably be emptied upon leaving macro
parsing mode.

Simplify code by using the 'macro_name' variable as the boolean for
macro parsing mode.

Deprecated code probably should be fixed until completely removed

--
keywords: +patch
title: Lib/ftplib.py - Lib/ftplib.py netrc class parsing problem
Added file: 
http://bugs.python.org/file14625/py3k-ftplib.py-use-before-assignment.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6623
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3548] subprocess.pipe function

2008-09-01 Thread Vincent Legoll

Vincent Legoll [EMAIL PROTECTED] added the comment:

- Added shut pylint up comment for ** keyword expansion
- Added Copyright  license header

Added file: http://bugs.python.org/file11330/pipeline.py

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3548
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3548] subprocess.pipe function

2008-08-26 Thread Vincent Legoll

Vincent Legoll [EMAIL PROTECTED] added the comment:

Hello,

I was searching for a bug in subprocess
module when I saw your patch.

I was implementing the exact same functionality
and mixed some of your ideas in what I use now,
which is attached...

Feel free to use it

--
nosy: +vincent.legoll
Added file: http://bugs.python.org/file11262/toto.py

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3548
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3548] subprocess.pipe function

2008-08-26 Thread Vincent Legoll

Vincent Legoll [EMAIL PROTECTED] added the comment:

Here's a clean version with doc  test

enjoy !

Added file: http://bugs.python.org/file11263/pipeline.py

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3548
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3687] Popen() object stdout attribute reassignment behaviour

2008-08-26 Thread Vincent Legoll

New submission from Vincent Legoll [EMAIL PROTECTED]:

The subprocess.Popen() object documentation should indicate
that the stdout attribute should not be modified after
object construction. Because that won't work.

Or the attribute may be rendered read-only

 from subprocess import Popen, PIPE
 import sys, os
 p1 = Popen([echo, 1], stdout = PIPE)
 p2 = Popen([cat], stdin = p1.stdout, stderr = PIPE, stdout = PIPE)
 p2.stdout = sys.stdout
 print p2.communicate()

This blocks forever

--
assignee: georg.brandl
components: Documentation
messages: 71983
nosy: georg.brandl, vincent.legoll
severity: normal
status: open
title: Popen() object stdout attribute reassignment behaviour
type: behavior
versions: Python 2.5

___
Python tracker [EMAIL PROTECTED]
http://bugs.python.org/issue3687
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com