Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15955
___
___
Python-bugs-list
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16043
___
___
Python-bugs-list
Changes by py.user bugzilla-mail-...@yandex.ru:
Added file: http://bugs.python.org/file30616/issue18220.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18220
___
Changes by py.user bugzilla-mail-...@yandex.ru:
Removed file: http://bugs.python.org/file30599/issue18220.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18220
___
py.user added the comment:
range and slice are normal in python3.4
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18220
___
___
Python-bugs-list
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17005
___
___
Python-bugs-list
New submission from py.user:
print(itertools.__doc__)
Functional tools for creating and using iterators.
Infinite iterators:
count([n]) -- n, n+1, n+2, ...
...
--
assignee: docs@python
components: Documentation, Library (Lib)
files: issue.patch
keywords: patch
messages: 191317
nosy:
Xavier de Gaye added the comment:
I think you mean:
self.producer_fifo.extendleft([data, first])
Instead of:
self.producer_fifo.extendleft([first, data])
No?
No, I do mean:
self.producer_fifo.extendleft([first, data])
See the documentation.
Also:
from collections
Xavier de Gaye added the comment:
After applying the last patch cpython.asyncore_3.patch (while
cpython.asyncore_2.patch does not fail):
==
FAIL: test_simple_producer (test.test_asynchat.TestAsynchat)
Changes by Berker Peksag berker.pek...@gmail.com:
--
versions: -Python 3.1, Python 3.2, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18237
___
tahnoon pasha added the comment:
Hi David
Adding the following post and response from the davmail author/ maintainers
site. He seems to have fixed it in davmail and suggests the following fix in
imaplib.py if there is a desire to amend it to allow stray spaces
Le 15/06/2013 08:19, tahnoon a
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18238
___
___
Python-bugs-list mailing
New submission from Jonas Borgström:
Problem:
In hmac.py there's a type check that verifies that the msg parameter is of type
bytes().
if not isinstance(msg, bytes):
raise TypeError(expected bytes, but got %r % type(msg).__name__)
That is incorrect. The hmac module should also work with
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +christian.heimes, gregory.p.smith
stage: - needs patch
type: behavior - enhancement
versions: +Python 3.4 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18240
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +benjamin.peterson, ezio.melotti, lemburg, loewis, serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18234
___
Changes by Antoine Pitrou pit...@free.fr:
--
dependencies: +SSL: diagnostic functions to list loaded CA certs
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18233
___
Antoine Pitrou added the comment:
I'm not sure we should care much about this, but feel free to improve the tests
of course :-)
--
components: +Tests -Extension Modules
priority: normal - low
type: - behavior
___
Python tracker
Serhiy Storchaka added the comment:
Thank you Terry for review. Here is updated patch addressed Terry's comments.
Now random datas for tests generated once per class (generating them once per
module will be more cumbersome and will save less time). Arguments for
zipfile.open() now generated
Christian Heimes added the comment:
Good idea!
We can also lift the restriction for ``key`` a bit. It can also take a
bytearray as argument. bytearray has translate() and supports bytes + bytearay.
--
assignee: - christian.heimes
___
Python
Serhiy Storchaka added the comment:
When applying first Terry's suggestion I found a bug. self.list_gen was a
generator and when self.list_gen used second time it was exhausted. As result,
some tests were skipped and a bug with concatenating bytes and '\n' was not
exposed.
This bug should be
Jakub Wilk added the comment:
The documentations says Minor deficiency: mktime_tz() interprets the first 8
elements of tuple as a local time and then compensates for the timezone
difference. This may yield a slight error around changes in daylight savings
time, though not worth worrying about
STINNER Victor added the comment:
test_signal.py wait_helper hangs on AIX.
Why does the test hang? I prefer to only skip a test if I understood the issue
(when it is not fixable in Python, like a bug in the kernel).
--
___
Python tracker
Vinay Sajip added the comment:
With the attached patch,
python -m test_idle test_logging
passes (though test_idle still alters locale and environment).
Running python -m idelib.idle, and using IDLE itself for inspection, the
warnings.formatwarning is set to the implementation in idlelib.run.
Roundup Robot added the comment:
New changeset 4b2188b13dd2 by Serhiy Storchaka in branch '3.3':
Issue #18223: Refactor test_tarfile.
http://hg.python.org/cpython/rev/4b2188b13dd2
New changeset 5c0816e64aac by Serhiy Storchaka in branch 'default':
Issue #18223: Refactor test_tarfile.
Serhiy Storchaka added the comment:
Thanks Ezio and Zachary for review. I have included Zachary's patch for
issue17689. In addition catching the FileNotFoundError exception used now in
test_non_existent_targz_file instead of IOError/OSError + checking errno.
--
resolution: - fixed
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18223
___
___
Roundup Robot added the comment:
New changeset c484ca129288 by Christian Heimes in branch 'default':
Issue #18207: Fix test_ssl for some versions of OpenSSL that ignore seconds
http://hg.python.org/cpython/rev/c484ca129288
--
nosy: +python-dev
___
Roundup Robot added the comment:
New changeset 63058453a4cc by Serhiy Storchaka in branch '2.7':
Issue #18167: cgi.FieldStorage no more fails to handle multipart/form-data
http://hg.python.org/cpython/rev/63058453a4cc
New changeset a48f65bac986 by Serhiy Storchaka in branch '3.3':
Issue #18167:
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18167
Christian Heimes added the comment:
Additional versions of OpenSSL may be affected by the issue. We can add these
versions whenever we run into the issue again.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python
Roundup Robot added the comment:
New changeset 38e759e4c9e6 by Christian Heimes in branch 'default':
Issue #18147: Add diagnostic functions to ssl.SSLContext().
http://hg.python.org/cpython/rev/38e759e4c9e6
--
nosy: +python-dev
___
Python tracker
Changes by Christian Heimes li...@cheimes.de:
--
resolution: - fixed
stage: patch review - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18147
___
Changes by Christian Heimes li...@cheimes.de:
--
stage: commit review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18147
___
Serhiy Storchaka added the comment:
I've attached a new version of the patch that does this check, and also adds
a test.
You are right. Your patch LGTM.
(OTOH, looking at the ncurses 5.9 source code, set_panel_userptr() only
returns an error if the panel object is NULL, which should
R. David Murray added the comment:
I don't understand why his keepalive requires the extra spaces...and I'm not
100% sure that accepting them will fix the problem, though in theory it should.
I still lean toward making the spaces fix in imaplib, based on the postel
principle. I'd prefer to
R. David Murray added the comment:
Since this issue has been closed, it would be great if you'd open a new issue
just for the doc change.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14653
R. David Murray added the comment:
Note that it is a known issue that tk (not python's bindings, tk itself) alters
the locale.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18081
___
David Edelsohn added the comment:
I understand that this is a work-around and the intention is to investigate
each error in the testsuite on AIX. But currently this bug eventually leads to
a timeout in the testsuite and half of the tests are not run.
I am trying to get the AIX buildbot
Amaury Forgeot d'Arc added the comment:
You can also use _pack_ = 1 to override the default alignment rules:
http://docs.python.org/3/library/ctypes.html#ctypes.Structure._pack_
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
New submission from Antoine Pitrou:
In one application, I would like to use a heap as an allocation pool. I also
want to check that a given value isn't released twice, therefore that the heap
contains unique values. My use case would be solved nicely if heappush() took
an optional
Brett Cannon added the comment:
Another odd thing about this failure is that
http://hg.python.org/cpython/rev/59a11c81dd3c should have fixed it as it should
be setting warnings.showwarning() back to it's original value before the test
began executing. So I checked PyShell again and found out
Brett Cannon added the comment:
And Lib/idlelib/run.py also does the substitution. I'll file a separate bug for
all of this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18081
___
New submission from Brett Cannon:
Both idlelib.run and idlelib.PyShell replace warning.formatwarning which is a
no-no. Only warning.showwarning is design to be replaced in any way. The proper
solution is to replace warnings.showwarning with code that calls whatever
formatting function you
Changes by Brett Cannon br...@python.org:
--
dependencies: +IDLE should not be replacing warnings.formatwarning
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18081
___
Peter Santoro added the comment:
As requested, I've attached a small test script called shadow.py. Steps to
reproduce:
1) pyvenv.py bugtest
2) copy the attached shadow.py script to bugtest and bugtest\scripts
3) cd bugtest
4) run shadow.py (first entry in sys.path is refers to bugtest
Jakub Wilk added the comment:
Fair enough, filed as issue #18243.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14653
___
___
Python-bugs-list
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email
nosy: +barry, r.david.murray
versions: +Python 3.3, Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18243
___
New submission from Jakub Wilk:
email.utils.mktime_tz documentations says:
Minor deficiency: mktime_tz() interprets the first 8 elements of tuple as a
local time and then compensates for the timezone difference. This may yield a
slight error around changes in daylight savings time, though not
Vinay Sajip added the comment:
the fact that Python initializes sys.path[0] to contain the directory of the
executing script
Of course, silly me. Sorry.
I would prefer to remove the pydoc script altogether. The other alternative
would be to rename it to pydoc-script.py and have a pydoc.exe
Vinay Sajip added the comment:
Rethinking, renaming seems more reasonable. I've posted about it to python-dev:
http://mail.python.org/pipermail/python-dev/2013-June/126904.html
--
___
Python tracker rep...@bugs.python.org
Changes by Berker Peksag berker.pek...@gmail.com:
--
keywords: +patch
nosy: +berker.peksag
stage: needs patch - patch review
Added file: http://bugs.python.org/file30621/issue18206.diff
___
Python tracker rep...@bugs.python.org
New submission from Edward Catmur:
Suppose we have a class C with MRO (C, B, A, object). C virtual-inherits an
ABC V, while B virtual-inherits an unrelated ABC W:
object
/ | \
A W |
| .` /
B` V
| .`
C`
Recalling that per PEP 443
Edward Catmur added the comment:
Apologies, the linked repository is for the 2.x backport of singledispatch.
I'll replace it with a proper Python repo.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18244
Changes by R. Jayakrishnan raaj...@gmail.com:
--
nosy: +JayKrish
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18103
___
___
Python-bugs-list
Christian Heimes added the comment:
As expected it is much harder to get the full certification chain from OpenSSL
than I initially expected. SSL_get_peer_cert_chain() doesn't return the root
CA's certificate. The new patch introduces a validation mode and uses
Changes by R. Jayakrishnan raaj...@gmail.com:
--
nosy: +JayKrish
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18104
___
___
Python-bugs-list
Alexander Belopolsky added the comment:
MvL Are you sure that the permission to use KHMER VOWEL INHERENT AQ
MvL in an identifier is worth mentioning?
No, but it is worth mentioning that there are no more substantial changes. I
don't think the change from 6.1.0 to 6.2.0 has any effect on
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12197
___
___
Python-bugs-list
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15071
___
___
Python-bugs-list
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10852
___
___
Python-bugs-list
Changes by Edward Catmur e...@catmur.co.uk:
--
keywords: +patch
Added file: http://bugs.python.org/file30623/singledispatch-mro-18244.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18244
Changes by Edward Catmur e...@catmur.co.uk:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18244
___
___
Python-bugs-list
New submission from py.user:
http://en.wiktionary.org/wiki/data
data (uncountable) or plural noun
--
assignee: docs@python
components: Documentation
files: issue.diff
keywords: patch
messages: 191354
nosy: docs@python, py.user
priority: normal
severity: normal
status: open
title: In
Edward Catmur added the comment:
See attachment for patch and test. Note that reproducing the issue without
access to singledispatch internals depends on iteration order of a dict of
types and is thus intermittent/environment dependent.
--
___
Ned Batchelder added the comment:
Please don't make this change. Data is used as a singular collective noun,
especially in software contexts. Data as a plural noun sounds archaic, or at
best, scientific.
--
nosy: +nedbat
___
Python tracker
Changes by Berker Peksag berker.pek...@gmail.com:
--
components: +Library (Lib) -Extension Modules
nosy: +lukasz.langa
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18244
___
Roundup Robot added the comment:
New changeset 00824f9e29f3 by Victor Stinner in branch 'default':
Issue #18228: Fix locale test of test.regrtest.saved_test_environment
http://hg.python.org/cpython/rev/00824f9e29f3
--
nosy: +python-dev
___
Python
Changes by Łukasz Langa luk...@langa.pl:
--
assignee: - lukasz.langa
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18244
___
dnozay added the comment:
affects PyPy, here are the downstream issues:
- https://bugs.pypy.org/issue662
- https://bugs.pypy.org/issue674
- https://bugs.pypy.org/issue1057
--
nosy: +dnozay
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
Yes, the way it is now is normal written english, regardless of what any older
official stylebooks may say :)
--
nosy: +r.david.murray
resolution: - invalid
stage: - committed/rejected
status: open - closed
type: - behavior
David Edelsohn added the comment:
$ ./python -m test --timeout=60 -v test_signal
== CPython 3.4.0a0 (default:00824f9e29f3+, Jun 17 2013, 16:44:41) [GCC 4.8.1]
== AIX-1-00F84C0C4C00-powerpc-32bit big-endian
== /home/dje/src/cpython/build/test_python_5832942
Testing with flags:
Éric Araujo added the comment:
SSH upload is an acceptable new feature for Python 3.4, if it can be done
without breaking compat or changing too many internals.
(The distutils feature freeze was effectively lifted at PyCon; Nick Coghlan
also has a PEP in the plans to discuss how to update
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18242
___
Aaron Oakley added the comment:
So sorry, I just found the emails from the bug tracker in my spam folder.
Anyhow, I've now signed the CLA.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17902
Jeremy Kloth added the comment:
Indeed, after debugging, it is a stack overflow caused by the introduction of
the different temporary variables in the Py_XINCREF, Py_XDECREF, and Py_DECREF
macros.
I've attached an updated patch that reuses the _py_tmp variable for those
temporary assignments
Mark Dickinson added the comment:
In any case, the patch only gives half of the correction. The corrected test
would have to be if *those* data are needed later rather than if that data
are needed later.
--
nosy: +mark.dickinson
___
Python tracker
Mark Dickinson added the comment:
Bah. s/test/text.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18245
___
___
Python-bugs-list mailing list
David Edelsohn added the comment:
By the way, if I manually override _has_poll to False, the same test fails
similarly in _communicate_with_select, so the failure is not limited to the
implementation of poll().
--
___
Python tracker
R. Jayakrishnan added the comment:
The from test.resource import requires give me errors saying no module named
resource in test (Am I missing anything?)
For the moment I use from test.support import requires as in
test_delegator1.patch
.
from test.support import requires
requires('gui')
Roundup Robot added the comment:
New changeset 6cbd992d3411 by Victor Stinner in branch 'default':
Issue #18228: Use locale.setlocale(name, None) instead of
http://hg.python.org/cpython/rev/6cbd992d3411
--
___
Python tracker rep...@bugs.python.org
Changes by R. Jayakrishnan raaj...@gmail.com:
Removed file: http://bugs.python.org/file30626/test_delegator1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18189
___
Changes by R. Jayakrishnan raaj...@gmail.com:
Added file: http://bugs.python.org/file30627/test_delegator1.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18189
___
Roundup Robot added the comment:
New changeset a0e234e10da6 by Victor Stinner in branch '3.3':
Issue #18238: Skip test_signal.test_sigwaitinfo_interrupted() on AIX
http://hg.python.org/cpython/rev/a0e234e10da6
New changeset 8e277e6bd11b by Victor Stinner in branch 'default':
(Merge 3.3) Issue
Serhiy Storchaka added the comment:
No, it's impossible without additional structure. And with a set it is trivial.
def uniqueheappush(heap, inheap, item):
if id(item) in inheap:
return False
heappush(heap, item)
inheap.add(id(item))
return True
def uniqueheappop(heap,
New submission from Friedrich Spee von Langenfeld:
Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:06:53) [MSC v.1600 64 bit
(AMD64)] on win32
Type copyright, credits or license() for more information.
from tkinter import*
root = Tk()
text = Text()
text.pack()
text.insert(1.0, Hello)
Antoine Pitrou added the comment:
No, it's impossible without additional structure. And with a set it is
trivial.
Yeah, I wanted to avoid the memory overhead of a set.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18241
Changes by Jonas Borgström jo...@borgstrom.se:
--
keywords: +patch
Added file: http://bugs.python.org/file30628/hmac.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18240
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +kbk, roger.serwy, terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18242
___
Terry J. Reedy added the comment:
Yes, 'support', not 'resource'. However, re-read my message for properly using
requires to avoid the traceback.
def setUpModule():
requires('gui')
may also work, but I am assuming that there might be non-gui test cases added
later.
--
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18239
___
___
Python-bugs-list
Christian Heimes added the comment:
Thanks for your patch! Please add tests for the new feature. The documentation
needs versionchanged tags, too.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18240
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17238
___
___
Terry J. Reedy added the comment:
As I discovered by experiment, unittest.SkipTest and subclasses are only
handled properly inside of functions recognized and called by unittest. This
could be better documented.
--
___
Python tracker
Terry J. Reedy added the comment:
Windows 3.3 build still failed today. So I updated back to time it worked, and
them skipped forward every so ofter to current, compiling each time, and it
worked each time except for one problem that was fixed in the next commit. No
problems with 3.4
Ezio Melotti added the comment:
FYI hg bisect makes this kind of tests a lot easier.
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18014
___
Roundup Robot added the comment:
New changeset e2ccfb096e6a by Brett Cannon in branch 'default':
Issue #17222: fix a mix-up in some exception messages.
http://hg.python.org/cpython/rev/e2ccfb096e6a
--
___
Python tracker rep...@bugs.python.org
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17222
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
stage: - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17222
___
Changes by Trent Nelson tr...@snakebite.org:
--
nosy: +trent
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13483
___
___
Python-bugs-list mailing
Changes by STINNER Victor victor.stin...@gmail.com:
Removed file: http://bugs.python.org/file30564/py_setallocators-4.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3329
___
1 - 100 of 116 matches
Mail list logo