Change by Vincent Michel :
--
pull_requests: +9528
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue35065>
___
___
Python-bugs-list mai
New submission from Vincent Michel:
The Bytearray type is a mutable object that support the read-write buffer
interface. The fcntl.ioctl() function is supposed to handle mutable object
(such as array.array) for the system calls in order to pass object that are
more than 1024 bytes long.
The
New submission from Vincent Pelletier :
When storing a ctype function pointer in a ctype structure field, a reference
remains even when that field is overwritten with some values:
- None
- None cast into a function pointer
But the reference is somehow removed when overwriting the field with a
Vincent Pelletier added the comment:
Trying to generate a graph on several python and several uncommented lines, I
see that my test case is incomplete. Time to review my copy.
--
resolution: -> invalid
status: open -> closed
___
Python t
New submission from Vincent Pelletier :
SafeTransport class supports a 2-tuple as uri, in order to pass x509 parameters
to httplib.HTTPSConnection .
xmlrpclib.ServerProxy.__init__ fails when given such tuple, because it calls:
urllib.splittype(uri)
without checking uri type first.
Minimal
Vincent Pelletier added the comment:
Then I guess SafeTransport should be cleaned to remove its dead code (tuple
host handling), and the class you link to should be included (in spirit if not
verbatim) in xmlrpclib.
Also, sorry, I realized after posting that this bug is a dupe of #1581. But
New submission from Vincent Besanceney:
In:
https://docs.python.org/2.7/reference/datamodel.html#customizing-attribute-access
Regarding the description of __setattr__ method: "For new-style classes, rather
than accessing the instance dictionary, it should call the base class method
wit
Vincent Besanceney added the comment:
If I understand it right, in a simple case like this:
class Foo(object):
def __setattr__(self, name, value):
# some logic, then...
super(Foo, self).__setattr__(name, value)
calling super is equivalent to calling object.__setattr__, but
New submission from Vincent Legoll :
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
New submission from Vincent Legoll :
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
New submission from Vincent Legoll :
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
--
New submission from Vincent Legoll :
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
keyw
Changes by Vincent Legoll :
--
components: Library (Lib)
nosy: vincele
severity: normal
status: open
title: Lib/ftplib.py
versions: Python 3.2
___
Python tracker
<http://bugs.python.org/issue6
New submission from Vincent Legoll :
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
Vincent Legoll added the comment:
Yes it does
--
___
Python tracker
<http://bugs.python.org/issue6620>
___
___
Python-bugs-list mailing list
Unsubscribe:
Vincent Legoll 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.
Vincent Legoll 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.
Ple
New submission from Vincent Legoll :
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
Vincent Legoll added the comment:
Or a review of the markup I used
--
___
Python tracker
<http://bugs.python.org/issue6875>
___
___
Python-bugs-list mailin
Vincent Legoll 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
<http://bugs.python.org/issue6
Legoll Vincent added the comment:
On Thu, Jun 17, 2010 at 2:34 AM, Terry J. Reedy wrote:
> While it could be argued that it is 'obvious'
What is obvious for someone maybe is not for others, if I tried to modify it,
that was on the (false) assumption that it will do what I wan
New submission from Vincent Driessen :
**NOTE**: This is a re-post of
http://code.google.com/p/argparse/issues/detail?id=47
What steps will reproduce the problem?
parser = argparse.ArgumentParser()
sub = parser.add_subparsers()
sub.add_parser("info")
parser.add_argum
Vincent Driessen added the comment:
Changed the title, so it shows that the feature request is for argparse.
--
title: optional subparsers -> argparse: optional subparsers
___
Python tracker
<http://bugs.python.org/iss
Vincent Driessen added the comment:
Actually, this is a rather common concept. Broadly used tools like for example
Git use this kind of subcommand handling.
This command shows all remotes:
git remote(i.e. is like git remote list)
Showing/removing remotes is done using
New submission from Vincent Pelletier:
Quoting a github gist[1] (not mine, I found it while googling for this error)
clearly illustrating the issue:
# Python 2
>>> b = bytearray(8)
>>> v = memoryview(b)
>>> v[0] = 42
Traceback (most recent call last):
File &quo
Vincent Pelletier added the comment:
My original point of view was that:
- python3 is right to only accept integers, consistently with "str != bytes"
- python2 is rather right to accept str, consistently with "str == bytes"
- maybe the bug is that python2 should not reject
Vincent Davis added the comment:
Rather than dealing with the time delta how about getting the time twice and
checking that we are between and at least once we have the same day.
i.e.
ts1 = time()
today = self.theclass.today()
ts2 = time()
todayagain1 = self.theclass.fromtimestamp(ts1
Vincent Davis added the comment:
Looks like this is ready to be applied and closed or just closed.
--
nosy: +Vincentdavis
___
Python tracker
<http://bugs.python.org/issue20
Vincent Davis added the comment:
Anything else need to be done on this patch?
--
nosy: +Vincentdavis
___
Python tracker
<http://bugs.python.org/issue18
Changes by Vincent Davis :
--
nosy: +Vincentdavis
___
Python tracker
<http://bugs.python.org/issue21360>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
New submission from Vincent Caloone:
For "large" POST request (> 25 ko), cgi.FieldStorage() doesn't contains all
field in the html form. When we trace the root of the issue, it is located in
file server.py :
if self.command.lower() == "post" and nbytes > 0:
Vincent Michel added the comment:
While I was working on the documentation update, I realized that what we called
`run_coroutine_threadsafe` is actually a thread-safe version of
`ensure_future`. What about renaming it to `ensure_future_threadsafe`? It might
be a bit late since
Vincent Michel added the comment:
I attached the first version of the documentation for
`run_coroutine_threadsafe`. The `Concurrency and multithreading` section also
needs to be updated but I could already use some feedback.
Also, I think we should add a `try-except` in the callback function
Vincent Michel added the comment:
> The docs look good.
Should I add a note to explain why the loop argument has to be explicitly
passed? (there is a note at the beginning of the `task functions` section
stating "In the functions below, the optional loop argument ...")
> Wha
Vincent Michel added the comment:
I attached a patch that should sum up all the points we discussed.
I replaced the `call_soon_threadsafe` example with:
loop.call_soon_threadsafe(callback, *args)
cause I couldn't find a simple specific usage. Let me know if you think of a
better ex
New submission from Vincent Davis:
>From the documentation pages for python 2.7 and 3.4, 3.5, 3.6 it is possible
>to select another python version in the breadcrumb at the top left of the
>page. This is not available for python 2.6, 3.2 and 3.3.
See related issue which is clos
Changes by Vincent Legoll :
--
nosy: +vincent-legoll
___
Python tracker
<http://bugs.python.org/issue25940>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
<http://bugs.python.org/issue25
Vincent Michel added the comment:
I agree with Yury's ideas about the implementation of this feature. However, it
is a bit confusing to have `asyncio.get_event_loop` defined as:
def get_event_loop():
policy = get_event_loop_policy()
return policy.get_running_loop
Vincent Alquier added the comment:
Another issue should be addressed by patch...
When trying to guess the content-length, here is the code you find...
try:
thelen = str(len(body))
except TypeError as te:
[...]
The call to `len` will raise a `TypeError
Vincent Alquier added the comment:
Martin: You're right, it's the same issue, and only related to python2's old
style classes. Sorry for the useless noise.
Demian: My problem is `len(obj)` raises an Using AttributeError in python2
(with obj being old style class instance).
New submission from Vincent Vanlaer:
Example:
X-Report-Abuse:
=?us-ascii?q?=3Chttps=3A=2F=2Fwww=2Emailitapp=2Ecom=2Freport=5Fabuse=2Ephp=3Fmid=3Dxxx-xxx-?=
=?us-ascii?q?=3D=3D-xxx-xx-xx=3E?=
When this header is parsed and reencoded as bytes using policy.default, the
New submission from Vincent Vande Vyvre :
Hi,
Trying this code:
--
# -*- coding: utf-8 -*-
import os
import sys
import platform
print('\nPython version: ', sys.version.split()[0])
print(platform.platform())
paths = ['/home/vincent/image.jpg
New submission from Jean-Philippe VINCENT :
Hello,
I just tried the new attribute underscore_numbers with pprint, it doesn't work
for me. I'm working on Windows.
[cid:8779885d-01bf-4162-9427-a44de152f7ac]
Best regards,
Jean-Philippe
--
files: image.png
messages: 4
Change by Jean-Philippe VINCENT :
--
title: Issue 42914 -> pprint -> underscore_numbers argument not working
___
Python tracker
<https://bugs.python.org/i
New submission from Vincent LE GARREC :
In Gentoo, I compile my system with -O0
When I compile Apache Serf, python 3.7.8 crashes. When I compile python 3.7
with -O2, python don't crash when compiling Serf.
It's the first time that -O0 causes program crash.
I run test suite, I don&
Louis-Vincent Boudreault added the comment:
Path.__new__ should not call _from_parts because it breaks the specialization
by directly using object.__new__.
This is why `_from_parts` has to be duplicated in each subclass's `__new__`.
My suggestion (first draft) is to do the parsi
Louis-Vincent Boudreault added the comment:
This is not true, because the classmethod use the library shortcuts the
class mro order, to prevent infinite loop inthe __new__. However, it was
using __init__ before hand, we would
Not have this issue
Le jeu. 13 août 2020 à 15:27, Jeffrey Kintscher
Louis-Vincent Boudreault added the comment:
This is not true, because the classmethod used the library shortcuts the
class mro order, this is to prevent infinite loop inthe __new__. However,
If it was using __init__ before hand, we would
Not have this issue
Le jeu. 13 août 2020 à 15:31, Louis
LE GARREC Vincent added the comment:
I still have the problem with python 3.7.9 but not with python 3.8.6.
Since I migrated my system to python 3.8, it's not a problem anymore. I still
have python 3.7 installed so if you want, I still can do some tests.
--
nosy: +ban
101 - 151 of 151 matches
Mail list logo