paul j3 added the comment:
This assertion has triggered several bug issues, either due to an empty group
like this, or certain characters in the metavars.
http://bugs.python.org/issue17890
'argparse: mutually exclusive groups full of suppressed args can cause
AssertionErrors'
Chris Rose added the comment:
What's the word on this change?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20752
___
___
Python-bugs-list
Ralph Broenink added the comment:
Here's a minimal example of the issue, assuming you have obtained a CRL in PEM
format, e.g. from https://www.emulab.net/genicrl.bundle:
import ssl
context = ssl.create_default_context()
path = 'path/to/crl.crl'
# Working:
Changes by Zacrath mrdoom...@gmail.com:
--
nosy: +Zacrath
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11874
___
___
Python-bugs-list mailing
Zacrath added the comment:
I've confirmed that this is a duplicate of issue 17890.
In case anyone needs it, a workaround is to move the mutually exclusive group
to the end of the arguments.
--
___
Python tracker rep...@bugs.python.org
Frank Thommen added the comment:
It might be an issue of strict ACL mapping
(http://wiki.linux-nfs.org/wiki/index.php/ACLs) is implemented. On our ZFS
based NFS v4 server this is the case, on CentOS based NFS v4 servers this
doesn't seem to be implemented/enforced.
It becomes then still a
Luca Falavigna added the comment:
There is indeed little benefit in freeing up resources left open by a unused
thread, but it could be worth closing it for specific needs (e.g. thread
processes sensible information) or in embedded systems with very low resources.
--
Matej Cepl added the comment:
The patch for Python 3.5, however, looks great.
So, could we get some resolution here, please? Before this bug celebrates a
first birthday, could somebody decide what to do? Whom should I pester? Who has
the responsibility to make a decision?
--
Changes by Philippe Devalkeneer phil.le.bienheur...@gmail.com:
--
nosy: +flupke
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1525806
___
___
Michael Foord added the comment:
I'd agree that a test run that actually runs zero tests almost always indicates
an error, and it would be better if this was made clear.
I have this problem a great deal with Go, where the test tools are awful, and
it's very easy to think you have a
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22359
___
Michael R. Bernstein added the comment:
The lack of a left-append option for site.addsitedir(path), or an
site.insertsitedir(index, path) (which is what I would consider a better
solution), causes quite a few contortions on some hosted platforms, notably
Google App Engine, for vendored
R. David Murray added the comment:
Thanks for tackling this. It's been bugging me almost daily this past week,
but as usual when this bug is in my face I had no time to actually work on a
fix.
I applied this patch to default, put an invalid import in test_os, and this is
the result:
Kushal Das added the comment:
Forgot to attach the patch. Includes NEWS entry. Overriden methods count() and
index().
--
keywords: +patch
Added file: http://bugs.python.org/file36581/issue21270.patch
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Yes, the idea of this issue is to enhance the re module (and the regex module
if Matthew will) be picking the best error messages (or writing a new one).
--
assignee: - serhiy.storchaka
___
Python tracker
Serhiy Storchaka added the comment:
Besides my nitpick on Rietveld the patch LGTM.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22338
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21951
___
___
Serhiy Storchaka added the comment:
As Victor noted on IRC, ckalloc() panics and doesn't returns NULL in case of
error. We should use attemptckalloc() instead.
--
stage: needs patch - patch review
Added file: http://bugs.python.org/file36582/tkinter_ckallock.patch
Matthew Barnett added the comment:
For comparison:
Python 3.1.3:
[(b'',)]
Python 3.2.5:
[(None,)]
Python 3.3.5:
[(b'',)]
Python 3.4.1:
sqlite3.OperationalError: trigger cannot use variables
--
nosy: +mrabarnett
___
Python tracker
Serhiy Storchaka added the comment:
Thanks Berker.
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4972
___
___
Matthew Barnett added the comment:
re:Cannot process flags argument with a compiled pattern
regex: can't process flags argument with a compiled pattern
Error messages usually start with a lowercase letter, and I think that all the
other ones in the re module do.
By the way, which is
Serhiy Storchaka added the comment:
I think that's all with this issue.
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4972
New submission from Serhiy Storchaka:
Both terms are used in the documentation. Currently context manager wins
(with score 225:19 in rst files). We should unify terminology across the
documentation.
--
assignee: docs@python
components: Documentation
messages: 226643
nosy: docs@python,
New submission from Antony Lee:
Currently, pathlib contains the following check for the OS in the import
section:
try:
import nt
except ImportError:
nt = None
else:
if sys.getwindowsversion()[:2] = (6, 0):
from nt import _getfinalpathname
Jonas Wagner added the comment:
No response for a while, and problem solved... closing.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21122
___
Jonas Wagner added the comment:
I've checked the `dlopen` issue. This was due to a problem with
UndefinedBehaviorSanitizer, and was solved by upgrading to Clang 3.5. It has
little to do with this patch.
Using this patch and http://bugs.python.org/issue22359 , I now get reliable
parallel
R. David Murray added the comment:
I think context management protocol is the better English phrasing.
(grepping just for the full phrase I make it 38 vs 22, but I of course I may
have missed some that are broken across lines).
--
nosy: +r.david.murray
Serhiy Storchaka added the comment:
Here is revised patch. There is yet one way to create Statement instance
(Connection.__call__) and this patch covers it too.
--
stage: needs patch - patch review
Added file: http://bugs.python.org/file36583/sqlite_null_2.patch
Roundup Robot added the comment:
New changeset 2b3dbbd2bd92 by Stefan Krah in branch '3.4':
Issue #22284: Update decimal.__all__
http://hg.python.org/cpython/rev/2b3dbbd2bd92
New changeset 5bc23c111de1 by Stefan Krah in branch 'default':
Issue #22284: Merge 3.4
New submission from Matthias Klose:
there are some tests failing when http_proxy and https_proxy is set and the
network resource is enabled. I didn't analyze things, but I assume there needs
some more fine-grained control about the network resource.
the log of such a run is attached. the
Stefan Krah added the comment:
I didn't add __all__ to _decimal because of this thread here:
https://mail.python.org/pipermail/python-dev/2001-February/012591.html
--
components: +Library (Lib)
dependencies: -Speed up _decimal import
resolution: - fixed
stage: - resolved
status:
Matthias Klose added the comment:
forgot: some tests fail as well with -uall,-network and configured proxies.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22371
___
Serhiy Storchaka added the comment:
You are right, I missed that the context manager is separate term.
Here is a patch.
--
keywords: +patch
stage: - patch review
Added file:
http://bugs.python.org/file36585/doc_context_management_protocol.patch
New submission from Riccardo:
Hi,
I found this strange behaviour of PyArray_FromAny that manifest only inside a
parallel region of openmp.
I am using python 2.7.4 and numpy 1.8.0
*** Reference count error detected
an attempt was made to deallocate 12 (d) ***
and this is due to the
R. David Murray added the comment:
Patch looks fine to me. I don't know that the HISTORY/NEWS changes are really
needed, but I suppose they don't hurt.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22369
Terry J. Reedy added the comment:
Current status: Tim is currently not actively involved in Python development
and no one who is active is enthusiastic about the proposal.
Your proposal is to add dependency injection to the initializer for the 4 diff
classes by adding 6 new parameters. I will
Robert Collins added the comment:
You may need to apply the patch from http://bugs.python.org/issue19746 first as
well - I was testing with both applied.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7559
Rose Ames added the comment:
Changing the imports only is straightforward, but I'm having trouble detecting
and changing future uses of the variables, without also clobbering user-defined
variables with the same names.
I notice some of the current fixers have similar problems, for example the
Rose Ames added the comment:
...
d) how to format code :\
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13272
___
___
Python-bugs-list mailing
New submission from Terry J. Reedy:
https://docs.python.org/3/library/contextlib.html#contextlib.contextmanager
The current html contextmanager example is 'not recommended' for actual use,
because there are better ways to accomplish the same goal. To me, is also
unsatifactory in that the
New submission from Alan Evangelista:
Examples in Python command line:
Try 1
-
import urllib2
urllib2.urlopen('ftp://user:password@server/packages/repodata').read().splitlines()
Output:
list of files
Try 2
-
import urllib2
Changes by Alan Evangelista ala...@br.ibm.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22375
___
___
R. David Murray added the comment:
OK, with both patches applied the output looks good. With a bit of luck I'll
have some time to actually review the patches in a couple of hours.
--
___
Python tracker rep...@bugs.python.org
New submission from Alan Evangelista:
Examples in Python command line:
Try 1
-
import urllib2
urllib2.urlopen('ftp://user:password@server/packages/repodata').read().splitlines()
Output:
list of files
Try 2
-
import urllib2
R. David Murray added the comment:
I think this was already fixed in issue 15002.
--
nosy: +orsenthil, r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22375
___
Robert Collins added the comment:
This is what I see in my tree:
E
==
ERROR: test_os (unittest.loader.ModuleImportFailure)
--
Traceback (most recent call
Robert Collins added the comment:
Raced with your comment. Great - and thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7559
___
___
New submission from Ram Rachum:
The documentation for %Z (
https://docs.python.org/3/library/datetime.html#strftime-strptime-behavior )
says it matches `EST` among others, but in practice it doesn't:
Python 3.4.0 (v3.4.0:04f714765c13, Mar 16 2014, 19:25:23) [MSC v.1600 64
bit (AMD64)]
Josh Rosenberg added the comment:
This sounds like a bug in Numpy. You should probably post it to their tracker:
https://github.com/numpy/numpy/issues
--
nosy: +josh.rosenberg
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
Looking at the code, the only timezone strings it recognizes are utc, gmt, and
whatever is in time.tzname (EST and EDT, in my case).
This seems...barely useful, although clearly not useless :)
And does not seem to be documented.
--
nosy:
Changes by R. David Murray rdmur...@bitdance.com:
Added file: http://bugs.python.org/file36587/issue19746-rebased.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19746
___
R. David Murray added the comment:
Your patch isn't diffed against a revision from the cpython repo, and
apparently didn't apply cleanly to tip, so no review link was generated. I
uploaded a rebased patch to review, but don't actually have any line by line
comments.
You are right about the
Senthil Kumaran added the comment:
With the final review comment addressed, this could go in. Since you have
commit rights, please feel free to commit it. (else, please assign this to me
and I will commit and follow up with the buildbots)
--
___
New submission from jpv:
Please add support for SO_MARK in socket module.
From man 7 socket:
SO_MARK (since Linux 2.6.25): Set the mark for each packet sent through this
socket (similar to the netfilter MARK target but socket-based). Changing
the mark can be used for mark-based routing
Changes by Senthil Kumaran sent...@uthcode.com:
--
assignee: - alex
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22366
___
___
Python-bugs-list
Robert Collins added the comment:
Thanks; I'm still learning how to get the system here to jump appropriately :).
I thought I'd told hg to reset me to trunk...
You are right about the docs. Reading that, I thought it was saying that
errors would have a list of the errors that show up in the
New submission from Yongzhi Pan:
In the 2.7 branch, the exception message of str.join is missing when the
argument is non-sequence:
' '.join(None)
Traceback (most recent call last):
File stdin, line 1, in module
TypeError
I fix this with a patch. After this:
' '.join(None)
Traceback
Alex Gaynor added the comment:
Replied to the review; let me know if you agree with my comment.
--
assignee: alex - orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22366
___
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - third party
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22373
___
Stefan Behnel added the comment:
Agreed that it's not a bug in CPython, but my guess is that it's not a bug in
NumPy either. The C function you call (which IIRC creates a new NumPy array)
almost certainly needs the GIL to protect it against race conditions, and since
you mentioned OpenMP, you
New submission from Elizabeth Myers:
As seen at
https://docs.python.org/3/faq/general.html#is-python-y2k-year-2000-compliant;
this is 2014 - Y2K compliance hasn't been a relevant topic for, well, 14 years,
and I doubt this is a frequently asked question nowadays. The As of August
2003
Martin Panter added the comment:
Stream reader interfaces suffer the same problem. Test cases:
codecs.getreader(unicode-escape)(BytesIO(br\u2013)).read(1)
codecs.getreader(hex-codec)(BytesIO(b33)).read(1)
codecs.getreader(base64-codec)(BytesIO(bAA==)).read(1)
TestCase().assertEqual(b=,
Martin Panter added the comment:
The corresponding stream reader has a related issue which I mentioned in Issue
20132
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13881
___
Martin Panter added the comment:
Even if all these issues aren’t worth fixing, I think the documentation should
at least say which codecs work fully (e.g. most text encodings), which ones
work suboptimally (e.g. UTF-7), and which ones only work for single-shot
encoding and decoding.
Martin Panter added the comment:
I wrote some code that does something like this for a hacky custom readline
completer. See the import_list() method at
https://github.com/vadmium/etc/blob/6ac333f/python/pythonstartup.py#L222. It
looks like I’m using a combination of “sys.builtin_module_names”
65 matches
Mail list logo