Changes by Yury Selivanov yseliva...@gmail.com:
--
nosy: +arigo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24450
___
___
Python-bugs-list
Cyd Haselton added the comment:
Update:
Now that I;ve finished porting a much-needed gdb to my device, I should have
time to tackle patch and testing this weekend. Will post results when I have
them.
--
___
Python tracker rep...@bugs.python.org
Armin Rigo added the comment:
No problem from PyPy.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24450
___
___
Python-bugs-list mailing list
Changes by Yury Selivanov yseliva...@gmail.com:
Added file: http://bugs.python.org/file39722/corotype.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24400
___
Ned Deily added the comment:
Ent, thanks for all your work on this, and thanks to Demian and Martin for
their reviews. In the meantime, the Python 3.5 release cycle has reached
feature code cutoff so, at this point, generally only bug fixes are being
accepted into 3.5, which means this
py.user added the comment:
paul j3 wrote:
What are you trying to accomplish in the examples with a 'dest'?
To append all that constants to one list.
From this:
Namespace(bar=[43], foo=[42])
To this:
Namespace(x=[43, 42])
--
___
Python tracker
Martin Panter added the comment:
Here is a hacky patch that adds #include _math.c so that it is not compiled
as a separate object file. This was suggested by Mark in Issue 7518. It is far
from a perfect solution, but I cannot suggest anything better without knowing
more about Python’s build
paul j3 added the comment:
What are you trying to accomplish in the examples with a 'dest'? For a
positional, 'dest' is derived from the 'foo' name. There is no need to supply
'dest', in fact produces the error you get. It has nothing to with this action
type (as your last example
py.user added the comment:
paul j3 wrote:
The name (and hence the 'dest') must be unique.
The problem is in the dest argument of add_argument(). Why user can't set a
custom name for a positional?
We can use this list not only for positionals but for optionals too.
--
paul j3 added the comment:
None of the `append` actions makes sense with positionals. The name (and hence
the 'dest') must be unique. And positionals can't be repeated.
There are other ways to put a pair of values in the Namespace. For example,
after parsing
args.x = [42, 43]
or
Changes by Yury Selivanov yseliva...@gmail.com:
--
nosy: +fwierzbicki
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24450
___
___
Python-bugs-list
New submission from David Rueter:
In Python 3.4 I would like to serialize a dictionary into a URL-encoded string.
Given a dictionary like this:
thisDict = {'SomeVar1': [b'abc'], 'SomeVar2': [b'def'], 'SomeVar3':
[b'ghi']}
I would like to be able to return this string:
进陆 added the comment:
the patched method should be
[quote]
if os.name=='nt' and res:
res=res.replace('', '')
[/quote]
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24461
___
Gareth Rees added the comment:
If you read the documentation for urllib.parse.urlencode [1], you'll
see that it says:
The value element in itself can be a sequence and in that case, if
the optional parameter doseq is evaluates to True, individual
key=value pairs separated by '' are
Changes by Torsten Bronger bron...@physik.rwth-aachen.de:
--
nosy: +bronger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20362
___
___
New submission from 进陆:
On windows, if a Directory/Filename has SPACE, double quotation mark should be
used. For example, R:\just a test\hello.bat has only one line @echo hello
world, so in the dos prompt
[quote]
R:\just a testhello.bat
hello world
R:\just a testcd ..
R:\set dir1=R:\just a
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
___
New submission from JohnLeitch:
The bytearray.find method suffers from a buffer over-read that can be triggered
by passing a string equal in length to the buffer. The result is a read off the
end of the buffer, which could potentially be exploited to disclose the
contents of adjacent memory.
R. David Murray added the comment:
This is working in pretty much the only way it can work. Python is correctly
retrieving the string from the environment (it includes the quotation marks).
It is correctly passing that string to os.path: os.path takes the exact string
that represents the
David Rueter added the comment:
Ah hah! Indeed, urlencode() does work on dictionaries as expected when
doseq=True. Thank you for clarifying.
FWIW I had read the documentation and the referenced examples multiple times. I
would like to make a few documentation suggestions for clarity.
1 )
R. David Murray added the comment:
That behavior is complex enough that I think it would be worth adding an
example of it to the examples section (and maybe linking directly from the
doseq explanation to that specific example).
--
assignee: - docs@python
components: +Documentation
Yury Selivanov added the comment:
Nick, Stefan, Martin,
Please find an updated patch attached. All issues that you guys found (thanks
a lot for the reviews btw!) should be resolved.
--
Added file: http://bugs.python.org/file39720/corotype.patch
Yury Selivanov added the comment:
I think we need some feedback from PyPy Jython guys on this. I'm not sure
that they can expose 'yieldfrom' slot without some performance penalties.
--
nosy: +yselivanov
___
Python tracker rep...@bugs.python.org
Yury Selivanov added the comment:
Martin, thanks a lot for the feedback and patch! I'll review the patch when
issue24400 lands.
--
assignee: docs@python - yselivanov
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
Changes by Yury Selivanov yseliva...@gmail.com:
--
nosy: +yselivanov
resolution: fixed -
stage: resolved - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23996
___
Mark Dickinson added the comment:
Yes, there are almost certainly better ways to organize the build here.
A hacky solution might be to simply #include _math.c in the two other files
that need it.
--
___
Python tracker rep...@bugs.python.org
Changes by Yury Selivanov yseliva...@gmail.com:
--
assignee: - yselivanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24450
___
___
Ronald Oussoren added the comment:
The patch is not correct.
You're probably building with a new enough version of OSX as the deployment
target. _scproxy.c should recognise this and should only perform the != NULL
test when the variable address might be NULL.
#if
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue24462
___
___
30 matches
Mail list logo