Ned Deily added the comment:
LGTM. The patch does prevent the crash in IDLE which is certainly an
improvement until such time as someone investigates having Tk/tkinter fully
support non-BMP characters.
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
0 and None must be different.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17200
___
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/issue5308
___
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/issue13555
Eric Snow added the comment:
Are there any objections to this unittest cleanup patch? I'd like to commit it
separately prior to anything that will go in for the C OrderedDict.
--
Added file: http://bugs.python.org/file29077/cleanup-test-collections.diff
New submission from Antoine Pitrou:
People are generally not aware of the properties of daemon threads.
I suggest to add a note such as the following:
« Daemon threads are abruptly stopped at shutdown. Their resources (such as
open files, database transactions, etc.) may not be released
Eric Snow added the comment:
Incidently, I'm just about done with the OrdereDict patch. I'm attaching the
current one. At present it passes the unit tests, but I have two
memory-related issues and a number of open questions (that I don't think are
critical).
The patch has the unittest
Changes by Eric Snow ericsnowcurren...@gmail.com:
Removed file: http://bugs.python.org/file28839/cleanup-test-collections.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16991
___
Changes by Eric Snow ericsnowcurren...@gmail.com:
Removed file: http://bugs.python.org/file28956/odict.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16991
___
Tim Golden added the comment:
+1 This is essentially the answer to the naive user's question:
Why would anyone *not* use daemon threads given that they're less
hassle to manage?
--
nosy: +tim.golden
___
Python tracker rep...@bugs.python.org
Michele Orrù added the comment:
Isn't this issue fixed and tested on Lib/test/test_urllib2.py:1304?
--
nosy: +maker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue979407
___
New submission from raymontag:
If I've initialized a window in curses, try to get a single character with
get_wch() and press Ctrl+C, the program crashes even if I handle
KeyboardInterrupt. Here's a code example.
import curses
scr = curses.initscr()
try:
char = scr.get_wch()
except
Changes by raymontag kkoe...@posteo.de:
--
type: - crash
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17209
___
___
Python-bugs-list mailing
Christian Heimes added the comment:
+1 for a keyword argument
I also have to add a limit to GzipDecodedResponse().
Python 2.6 and 3.1 are not affected by the issue. The problematic code was
added in 2.7 and 3.2.
--
___
Python tracker
Ramchandra Apte added the comment:
LGTM.
--
nosy: +Ramchandra.Apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17201
___
___
Python-bugs-list
New submission from Stefan Behnel:
The current documentation says:
PyObject* PyUnicode_Format(PyObject *format, PyObject *args)
Return value: New reference.
Return a new string object from format and args; this is analogous to
format % args. The args argument must be a tuple.
Ramchandra Apte added the comment:
@Ned Deily
Tk, at least on my system, doesn't render Unicode characters, even within BMP
correctly but the characters are kept (cut-and-paste works correctly)
What you mean by support.
--
nosy: +Ramchandra.Apte
___
Ramchandra Apte added the comment:
@Daniel Urban
Me too.
--
nosy: +Ramchandra.Apte
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17179
___
___
Changes by Ramchandra Apte maniandra...@gmail.com:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17179
___
___
New submission from Ramchandra Apte:
Will attach a patch soon.
--
components: Library (Lib)
messages: 182143
nosy: Ramchandra.Apte
priority: normal
severity: normal
status: open
title: pkgutil.iter_modules and walk_packages should return a namedtuple
type: enhancement
versions: Python
Changes by R. David Murray rdmur...@bitdance.com:
--
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17211
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +brett.cannon, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17211
___
___
Antoine Pitrou added the comment:
Indeed, I would suggest won't fix.
--
resolution: - wont fix
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7145
___
Benjamin Peterson added the comment:
Why did you copy test_collections.py instead of just creating a new file?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16991
___
R. David Murray added the comment:
The issue 1605192 fix was applied to 2.7.
--
nosy: +r.david.murray
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - Make Imap Error more helpful
___
Python
Changes by R. David Murray rdmur...@bitdance.com:
Removed file: http://bugs.python.org/file14520/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6497
___
Eric Snow added the comment:
Why did you copy test_collections.py instead of just creating
a new file?
To preserve the history of changes to the bulk of the code in
test_ordereddict.py.
--
___
Python tracker rep...@bugs.python.org
New submission from Roundup Robot:
New changeset 9b3c5085b4a4 by Ezio Melotti in branch '3.3':
#17163: test_file now works with unittest test discovery. Patch by Zachary
Ware.
http://hg.python.org/cpython/rev/9b3c5085b4a4
New changeset f289e40b3d70 by Ezio Melotti in branch 'default':
#17163:
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: - ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17163
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +ezio.melotti
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17167
___
Harvey Ormston added the comment:
I see that this issue applies to Python 3.4. Nevertheless, I am now using the
submitted patch (http://bugs.python.org/file28122/wave_float_issue16525.patch)
with Python 2.7.
I find that the patched module fails when calling getwavformat(), becuase the
Éric Araujo added the comment:
If someone wants to write the patch for this, feel free to ask (here or on the
core-mentorship friendly mailing list) if you need help finding the right C
file or anything else.
--
components: +Interpreter Core -Documentation
keywords: +easy
nosy:
Éric Araujo added the comment:
I’ve always perceived imp as an implementation detail of the import system that
people were sometimes forced to use to get to some things. Now that we have
importlib, deprecating (with a nice long compatibility-with-warnings period)
sounds good.
Would checking
Éric Araujo added the comment:
Agreed with Ned, this sounds like a job for the release script to me.
I think we avoid manual edition of dates in the HTML docs thanks to Sphinx; we
could generate the man page with Sphinx too (if there were enough advantages
than just this issue).
--
Senthil Kumaran added the comment:
let me check that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue979407
___
___
Python-bugs-list mailing
Brett Cannon added the comment:
Checking with the other VMs wouldn't benefit anyone. They still have to
implement whatever is necessary from _imp in order for importlib to work.
Otherwise it's just another stdlib module.
--
___
Python tracker
Changes by Florent Xicluna florent.xicl...@gmail.com:
--
nosy: +flox
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6784
___
___
Python-bugs-list
Ankur Ankan added the comment:
I am a beginner and want to write the patch for this issue, so please help me
find the right C file.
Thanks.
--
nosy: +Ankur.Ankan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17178
Ankur Ankan added the comment:
I guess I have found it. It's bltinmodule.c .
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17178
___
___
Roundup Robot added the comment:
New changeset 3f8b5fcbf07e by Ezio Melotti in branch '3.3':
#17143: fix a missing import in the trace module. Initial patch by Berker
Peksag.
http://hg.python.org/cpython/rev/3f8b5fcbf07e
New changeset 46e9f668aea9 by Ezio Melotti in branch 'default':
#17143:
Ezio Melotti added the comment:
Fixed, thanks for the report and the patch!
I changed a couple of things:
1) test_deprecated_usage was printing the usage on stderr while running the
tests -- I changed it to use a StringIO and added a minimal test to check that
the usage is actually written;
Ezio Melotti added the comment:
I left a comment in rietveld.
I hope the File menu is the right place for this.
I think that's the best place where to put it.
I had to move the code in Lib/turtledemo.py after if __name__ ==... into
main().
Why?
Should this be added to
Ezio Melotti added the comment:
The windows buildbots are failing with the following error:
ERROR: test_deprecated_find_strings (test.test_trace.TestDeprecatedMethods)
--
Traceback (most recent call last):
File
Roundup Robot added the comment:
New changeset f306777e0b6d by Ezio Melotti in branch 'default':
#17175: remove outdated paragraph about issue #8040 from PEP 430. Patch by
Tshepang Lekhonkhobe.
http://hg.python.org/peps/rev/f306777e0b6d
--
nosy: +python-dev
Roundup Robot added the comment:
New changeset f306777e0b6d by Ezio Melotti in branch 'default':
#17175: remove outdated paragraph about issue #8040 from PEP 430. Patch by
Tshepang Lekhonkhobe.
http://hg.python.org/peps/rev/f306777e0b6d
--
___
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: docs@python - ezio.melotti
nosy: +ezio.melotti
resolution: - fixed
stage: - committed/rejected
status: open - closed
type: - enhancement
___
Python tracker
Ezio Melotti added the comment:
Basically I need to figure out what imp's role is supposed to be in the face
of importlib.
If it's not even clear for you, even if you eventually figure that out, having
two import-related modules is likely to be confusing for users.
OTOH deprecating/removing
Terry J. Reedy added the comment:
The characters tk can render depends on the font you tell it to use. On my
Windows IDLE, I have Options Font Face set to Lucida Sans Unicode, though I am
not sure what has the widest coverage. This page
Roundup Robot added the comment:
New changeset e63c4bc81d9f by Antoine Pitrou in branch '2.7':
Issue #17208: add a note about the termination behaviour of daemon threads.
http://hg.python.org/cpython/rev/e63c4bc81d9f
--
nosy: +python-dev
___
Python
Brett Cannon added the comment:
I would probably document the deprecation but otherwise leave it alone at the
module level. Considering I only documented imp.find_module() and
.load_module() as documented thanks to their funky interfaces making nearly
impossible to do a direct translation I
Roundup Robot added the comment:
New changeset 8753a3be4a3c by Antoine Pitrou in branch '3.2':
Issue #17208: add a note about the termination behaviour of daemon threads.
http://hg.python.org/cpython/rev/8753a3be4a3c
New changeset 917ae89e59ce by Antoine Pitrou in branch '3.3':
Issue #17208:
Antoine Pitrou added the comment:
Committed.
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17208
___
Terry J. Reedy added the comment:
Titles should fit in the box if possible, and this can ;-).
--
nosy: +terry.reedy
title: In all.__doc__ and any.__doc__ need to clarify the behaviour with an
empty iterable like in documentation - Clarify empty iterable result in
any/all.__doc__, as
Ezio Melotti added the comment:
The font used shouldn't affect the errors. Usually if a glyph is missing in
the current font, either a placeholder (usually a box) is showed instead or the
missing glyph is taken from another font (if possible).
If you still want to do some tests, you can take
Ezio Melotti added the comment:
If you move them to importlib and just leave an alias in imp, you should still
add a DeprecationWarning IMHO, even if you plan to remove them in Python 4.
--
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +ezio.melotti
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17176
___
Changes by Ankur Ankan ankuran...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file29080/patch.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17178
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - re.VERBOSE whitespace behavior not completely documented
versions: +Python 3.2, Python 3.3, Python 3.4
___
Ezio Melotti added the comment:
See also #17184.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15606
___
___
Python-bugs-list mailing list
Changes by Ankur Ankan ankuran...@gmail.com:
Removed file: http://bugs.python.org/file29080/patch.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17178
___
Terry J. Reedy added the comment:
As far as I know, currently, the only valid 'keyword' argument for a class
statement is 'metaclass' and that is so advanced that it is not mentioned in
*8.7. Class definitions* but only in the linked section *3.3.3. Customizing
class creation*. The
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +benjamin.peterson, ezio.melotti
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17188
___
Changes by Ankur Ankan ankuran...@gmail.com:
Added file: http://bugs.python.org/file29081/patch.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17178
___
Ezio Melotti added the comment:
+1
I left some comments on Rietveld.
The SI standard says that there should be a space between the value and the
unit, and I agree that while a no-break space would be better, a regular space
is still better than no space at all.
Applying this on 3.3 and
Roundup Robot added the comment:
New changeset 0f7eec78569c by Ezio Melotti in branch '2.7':
#17178: update any()/all() docstrings to document their behavior with empty
iterables. Patch by Ankur Ankan.
http://hg.python.org/cpython/rev/0f7eec78569c
New changeset 1d4849f9e37d by Ezio Melotti in
Ezio Melotti added the comment:
Fixed, thanks for the patch!
--
assignee: docs@python - ezio.melotti
components: +Documentation -Interpreter Core
nosy: +ezio.melotti
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
Ezio Melotti added the comment:
We should add some benchmarks to see if there is any difference between the two
forms.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17183
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +djc, ezio.melotti, loewis
stage: - patch review
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17202
___
Changes by Ned Deily n...@acm.org:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17209
___
___
Python-bugs-list mailing list
Ned Deily added the comment:
Also, there are differences in behavior among the various flavors of Tk. I
know of at least four main flavors in use by current Python builds: Unix
X11-based Tk 8.5, Windows Tk 8.5, OS X Cocoa Tk 8.5, OS X Carbon Tk 8.4. Some
third-party distributors are
Changes by Dirkjan Ochtman dirk...@ochtman.nl:
--
nosy: +georg.brandl, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17202
___
___
Serhiy Storchaka added the comment:
Tkinter is not compatible with Tcl/Tk 8.6 yet (issue16809).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13153
___
Ezio Melotti added the comment:
**.bat used to be there, but it was removed in 1762d79eab65.
I have a very faint memory of some discussion about bat files and EOLs, but the
best I could find was:
http://mail.python.org/pipermail/python-dev/2012-May/119220.html
Terry J. Reedy added the comment:
'Enhancement' issues are for visible behavior additions (or occasionally,
changes). This is intended to be an invisible small speedup, hence it is a
'performance' issue, and gets a different title.
As explained in #17170, the change will not be a speedup if
Ned Deily added the comment:
Serhiy, I'm aware of that; regardless, Tk 8.6 is starting to be used out in the
field with tkinter.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue13153
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17187
___
___
Python-bugs-list
Ezio Melotti added the comment:
I would still do a benchmark, for these reasons:
1) IIRC rawdata might be the whole document (or at least everything that has
not been parsed yet);
2) the '' is very likely to be found;
This situation is fairly different from the one presented in #17170, where
Terry J. Reedy added the comment:
I agree that we should contribute to ending the confusion. Searching KiB, MiB,
GiB (with Google) gives a Wikipedia article as first or second hit, so the
meanings of the abbreviations and terms are easily discoverable.
--
nosy: +terry.reedy
Zachary Ware added the comment:
This seems to suggest that CRLF shouldn't be necessary.
It's not necessary on .bat files without labels, but those with labels are
subject to the (Windows) bug described in my first message and link.
Adding an entry specifically for Doc/make.bat and any other
New submission from G. Poore:
os.path.isfile() sometimes incorrectly reports that a file does not exist under
Python 3.3 (only tested under Windows). This may be encoding related. The
issue only appears under a very particular set of circumstances; see comments
in the attached script. The
Christian Heimes added the comment:
RFC 1939 says:
Responses in the POP3 consist of a status indicator and a keyword
possibly followed by additional information. All responses are
terminated by a CRLF pair. Responses may be up to 512 characters
long, including the terminating
Christian Heimes added the comment:
RFC 3977 specifies:
Command lines MUST NOT exceed 512 octets, which includes
the terminating CRLF pair.
However NNTP also have multi-line data blocks. The RFC says nothing about the
maximum length of a data line. We may need two limits here, one for
Lars Buitinck added the comment:
I'm sorry, I really don't understand this refcounts.dat file and I'm not going
to hack it further. Does the patch as it currently stands solve the issue with
CallMethod and CallFunction, or not? (It has the changes to the docs.)
--
Terry J. Reedy added the comment:
Since switching from a simple custom cache to the generalized lru cache made a
major slowdown, I think the change should be reverted. A dict + either
occasional clearing or a circular queue and a first-in, first-out discipline is
quite sufficient. There is no
Christian Heimes added the comment:
RFC 3501 and 2060 (IMAP 4rev1) don't specify a line length
RFC 2683 says:
A client should limit the length of the command lines it
generates to approximately 1000 octets.
For its part, a server should allow for a command line of at
least 8000
Christian Heimes added the comment:
CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16037
___
Christian Heimes added the comment:
CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16038
___
Christian Heimes added the comment:
CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16039
___
Christian Heimes added the comment:
CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16040
___
Christian Heimes added the comment:
CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16041
___
Ezio Melotti added the comment:
For 3.4 #14373 might solve the issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16389
___
___
Christian Heimes added the comment:
RFC 2821 says:
command line
The maximum total length of a command line including the command
word and the CRLF is 512 characters. SMTP extensions may be
used to increase this limit.
reply line
The maximum total length of a
Christian Heimes added the comment:
CVE-2013-1752 Unbound readline() DoS vulnerabilities in Python stdlib
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16042
___
Christian Heimes added the comment:
Oh, next time I should read my own patch and responses first ... ;)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16042
___
Christian Heimes added the comment:
CVE-2013-1753 gzip bomb and unbound read DoS vulnerabilities in Python's xmlrpc
library
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16043
___
Christian Heimes added the comment:
CVE-2013-1754 Man-in-the-middle vulnerability in package upload feature of
Python's distutils
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12226
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14373
___
___
Python-bugs-list mailing list
Arfrever Frehtes Taifersar Arahesis added the comment:
However internal copy of expat was updated in 2.7 and 3.2 branches about 2
weeks ago (issue #14340).
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17192
Changes by Jesús Cea Avión j...@jcea.es:
--
nosy: +jcea
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17206
___
___
Python-bugs-list mailing list
Senthil Kumaran added the comment:
Serhiy Storchaka added the comment:
+ append = res.append
And then use 'append'?
This speed up unquote_to_bytes by 15%.
Thanks for the response. In fact, writing the whole _hextobyte
verbatim would further increase the speed, but that would be huge
1 - 100 of 113 matches
Mail list logo