Mauro Matteo Cascella added the comment:
Hello,
CVE-2020-26116 has been requested/assigned for this flaw via MITRE form:
https://cveform.mitre.org/
I suggest mentioning it in the related vulnerability page:
https://python-security.readthedocs.io/vuln/http-header-injection-method.html
Also
Mauro S. M. Rodrigues added the comment:
So per Serhiy comment can I assume the patch is not necessary? If so I believe
the issue should be closed as well.
--
___
Python tracker
<https://bugs.python.org/issue25
Mauro S. M. Rodrigues added the comment:
Hi Anthony,
Thanks for asking, yeah I'm interested in push a new version. I'll do it later
today and I'll post a link to the pr here.
--
___
Python tracker
<https://bugs.python.org/issue25
seems to me really similar to https://github.com/zopefoundation/ZEO/pull/96
try to upgrade to ZEO 5.1.2
mauro.
Il Ven 8 Giu 2018, 03:29 Etienne Robillard ha scritto:
> Yo people I'm doing a nightly hacking sprint for django-hotsauce on pypy
> and got some cool bugs I would like to
Change by Mauro Fontana <fontana.ma...@gmail.com>:
--
stage: -> resolved
status: open -> closed
___
Python tracker <rep...@bugs.python.org>
<https://bugs.
Mauro Fontana <fontana.ma...@gmail.com> added the comment:
Hi Christian
Great! Thanks for the information.
I apologize if this was trivial, just wanted to make sure.
Cheers,
--
___
Python tracker <rep...@bugs.python.org>
<https://
New submission from Mauro <fontana.ma...@gmail.com>:
Hello and sorry to bother. This is my first message to the list.
I'm trying to build python 3.4.7 downloaded from python.org (released in August
this year) and while following the exact same steps detailed in
https://bugs.pyth
Mauro S. M. Rodrigues added the comment:
New version.
--
Added file: http://bugs.python.org/file41052/issue23883_fileinput.v2.patch
___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/i
Mauro S. M. Rodrigues added the comment:
Hi Barry, I was testing this and it seems to work, am I doing something wrong
in order to reproduce it? I've used the same parameters from the unit tests
Python 3.5.0+ (3.5:1e99ba6b7c98, Oct 8 2015, 17:12:06)
[GCC 4.8.4] on linux
Type "
Mauro S. M. Rodrigues added the comment:
Hi everybody!
This is my second patch on the community, although the first one is not merged,
so any feedback is appreciated.
I've added tests to cover this new situation and docs to let people know about
the possibility of keeping their temporary
Changes by Mauro S. M. Rodrigues maurosmrodrig...@gmail.com:
Removed file: http://bugs.python.org/file39140/issue23883_fileinput.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23883
Changes by Mauro S. M. Rodrigues maurosmrodrig...@gmail.com:
Added file: http://bugs.python.org/file39718/issue23883_fileinput.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23883
Mauro Rodrigues added the comment:
Hi guys!
Here is a patch for the fileinput module, with some names beyond
fileinput.fileno: fileinput.hook_compressed, fileinput.hook_encoded as
mentioned in the docs https://docs.python.org/3/library/fileinput.html
This is my first patch as well, so
Hav you considered the option of a SCADA solution? There are many
commercials solutions but also a few open source options such us:
http://openscada.org/
http://pvbrowser.de/pvbrowser/index.php
You may also ask the vacuum system provider, they should be aware of
SCADA solutions supporting their
Dictionaries and sets share a few properties:
- Dictionaries keys are unique as well as sets items
- Dictionaries and sets are both unordered
- Dictionaries and sets are both accessed by key
- Dictionaries and sets are both mutables
So I wonder why operations such us intersection, union,
{'A': 1} | {'A': 2}
I would propose at least four:
{'A': 1} # choose the LHS
{'A': 2} # choose the RHS
{'A': (1,2)} # a resulting pair of both
set(['A']) # you did set-ops, so you get a set
The implementation should define if LHS or RHS and user should change the
order
Il Tue, 25 Feb 2014 22:02:01 +, mauro ha scritto:
{'A': 1} | {'A': 2}
I would propose at least four:
{'A': 1} # choose the LHS {'A': 2} # choose the RHS {'A': (1,2)}
# a resulting pair of both set(['A']) # you did set-ops, so you get a
set
The implementation should
{1, 2} {2, 3} == {2}
In my mind the intersection is evaluated on keys, so the resulting dict
should be the empty one
but
{1:a, 2:b, 3:c} {2:b, 3:e, 4:f} == ???
my output will be
{2:b, 3:e}
or
{2:b, 3:c}
depending on the implementation choice.
The most obvious result is
Mauro Cicognini added the comment:
The removal of the dead code causes imaplib under py3k to lose the quoting
functionality that is described in documentation (except for passwords, that do
get always quoted as stated).
I submit that we give at least a temporary warning in the docs
Mauro Cicognini added the comment:
David, that is exactly what I meant: functionality for Python 3 is less than
the functionality available for Python 2, and behavior is completely out of
sync with the documentation.
Bug or not, and independent of the root cause (I don't know if anyone
On 6 Ott, 09:05, Tim Roberts t...@probo.com wrote:
Mauro Zaccariotto mzaccario...@h-umus.it wrote:
Hi! does anyone know what's happening herehttp://code.google.com/p/httplib2/
? I get this:
403. That s an error.
Your client does not have permission to get URL /p/httplib2/ from this
server
Hi! does anyone know what's happening here http://code.google.com/p/httplib2/
? I get this:
403. That’s an error.
Your client does not have permission to get URL /p/httplib2/ from this
server. That’s all we know.
It seems like the httplib2 googlecode project is preventing from
accessing the
Cesare Di Mauro cesare.di.ma...@gmail.com added the comment:
Unfortunately this test isn't skip on normal setup (using VisualStudio 2008
Express). I've updated the clone just a few minutes ago, rebuilt Python (in
Debug mode), and that's what happened:
D:\CPythonPCbuild\python_d.exe Lib\test
New submission from Cesare Di Mauro cesare.di.ma...@gmail.com:
This test fails on Windows because it tries to change the working folder to an
empty string.
Anyway, even changing:
os.chdir(basepath)
with:
os.chdir(basepath or '.')
it fails because the subprocess tries to execute an ELF
New submission from Cesare Di Mauro cesare.di.ma...@gmail.com:
Executing test_future5 fails:
D:\CPythonPCbuild\python_d.exe Lib\test\test_future5.py
Traceback (most recent call last):
File Lib\test\test_future5.py, line 6, in module
from . import support
ValueError: Attempted relative
:
if filename.endswith(extensions) :
print filename
--
Mauro Cáceres
--
http://mail.python.org/mailman/listinfo/python-list
documentation also recommends to use super()
http://docs.python.org/library/functions.html#super
--
Mauro Cáceres
--
http://mail.python.org/mailman/listinfo/python-list
has more than one group.
Empty matches are included in the result.
re.findall('e','fredbarneybettywilma')
['e', 'e', 'e']
--
Mauro Cáceres
--
http://mail.python.org/mailman/listinfo/python-list
the
dictionary will have only one pair.
result = pattern.search(line)
if result:
for key,val in result.groupdict().iteritems():
actions[key](val)
--
Mauro Cáceres
--
http://mail.python.org/mailman/listinfo/python-list
I am also interested to find where I can get Python modules from and how...
similar tools and sites with cpan and ppm for Perl.
You should look at http://pypi.python.org/pypi, for modules.
pip (http://pip.openplans.org/) is a tool used to install python modules.
enjoy
--
Mauro Cáceres
Mauro Navarro Baraldi mauro.bara...@gmail.com added the comment:
Reviewing this thread and talking with another friends, I thought that the
pythonic way to solve it should be use the tempfile module.
And here is a suggestion using the logging module with tempfile.
import logging
import
Mauro Navarro Baraldi mauro.bara...@gmail.com added the comment:
Replace to most use of /tmp/tempfile for just tempfile, as sugested before.
--
keywords: +patch
nosy: +maurobaraldi
Added file: http://bugs.python.org/file19698/py3k-docs.patch
Hi, this is my question:
I want to know if several switch (about 50) in a big lan are up and then
know their MAC addresses to do a list that contains host name, ip and mac.
I know only the range of their IP addresses (the host name it's simply
to know using socket.gethostn.
The first idea it's
.win32.zip and all this is quite annoying...
Did I miss some option in the setup? Is it possible to run a system
command (copy) after each extension is compiled and linked and the
corresponding .py file is generated?
Thanks in advance!
Mauro
--
http://mail.python.org/mailman/listinfo/python-list
On 10 Ott, 15:01, Konstantinos Pachopoulos [EMAIL PROTECTED]
wrote:
Hi,
i have the following files:
current_dir/level1/Called.py
current_dir/Caller.py
Called.py:
---
class Called:
def exec1(self):
print Hello
Caller.py:
--
from level1.Called import *
the PyObject_CallObject, as you suggest.
Mauro
--
http://mail.python.org/mailman/listinfo/python-list
):
mymodule.main(myfunc) # This will work
mymodule.main(self.mymethod) # This will not work (Segmentation
fault)
x = MyClass()
x.runme()
##
Thanks in advance.
Mauro
--
http://mail.python.org/mailman/listinfo/python-list
be cool :)
If you don't mind using spawnl instead of system, this should work
even with spaces:
os.spawnl(os.P_NOWAITO, command)
I hope it helps.
Mauro
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
I am trying to wrap some C code using SWIG (win32, mingw). I am new to
SWIG and to the Python/C API so what I am doing is looking at the
examples and trying to fit them to my needs, but I cannot find any
complete demo example of a C function taking as an argument a Python
function defined
to see scarce resources wasted.
Mauro
--
http://mail.python.org/mailman/listinfo/python-list
40 matches
Mail list logo