New submission from Serhiy Storchaka:
Proposed patch refactors code which converts the result of Tcl call to Python
dict. Added new private function _splitdict() which does this in more robust
manner.
Also this patch fixes a bug in Treeview.heading(). The heading subcommand of
ttk::treeview
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22208
___
___
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email
nosy: +barry, r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22216
___
Mark Grandi added the comment:
I still don't see why TarFile.add() can't be changed to accept a file like
object so users don't have to fumble around with a TarInfo object when they
just want add a file like object, and don't care about the permission bits and
whatnot. It also says un the
Serhiy Storchaka added the comment:
Sorry, it was wrong link. Correct one is:
http://buildbot.python.org/all/builders/x86%20XP-4%203.4/builds/411/steps/test/logs/stdio
Build #411 failed, build #412 successful, and build #413 failed again. May be
this is test order depending failure.
Serhiy Storchaka added the comment:
BDFL have approved the idea
(http://permalink.gmane.org/gmane.comp.python.devel/149000). Could anyone
please make the review of concrete patch?
--
___
Python tracker rep...@bugs.python.org
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22215
___
___
Mark Dickinson added the comment:
The decimal.py part LGTM. (The rest looks good, too, but I haven't tested it.)
This seems like one of those bugs that probably isn't worth backporting to
3.4, but given the projected longevity of 2.7 it might be worth applying there.
--
STINNER Victor added the comment:
I don't understand how keeping a strong refrence would fix anything. You
only provided one example (async-gc-bug.py) which uses Queue objects but
keep weak references to them. Keeping strong references to tasks is not the
right fix. You must keep strong
New submission from Serhiy Storchaka:
TarFile iteration can be simplified by using a generator instead of iterator
class. Attached patch get rid of the TarIter class and decrease sources size by
16 lines.
--
components: Library (Lib)
files: tarfile_tariter.diff
keywords: patch
Marco Paolini added the comment:
I don't understand how keeping a strong refrence would fix anything. You
only provided one example (async-gc-bug.py) which uses Queue objects but
keep weak references to them. Keeping strong references to tasks is not the
right fix. You must keep strong
New submission from Lele Gaifax:
Bash implements an handy extension to the history/readline library called
operate-and-get-next bound by default to Ctrl-O that lets you repeat an
arbitrary sequence of input lines possibly editing some of them.
This patch adapts the extension to the Python
Lars Gustäbel added the comment:
tarfile needs to know the size of a file object beforehand because the tar
header is written first followed by the file object's data. If the file object
is not based on a real file descriptor, tarfile cannot simply use os.fstat()
but the user has to pass the
Serhiy Storchaka added the comment:
For now zip -T doesn't complain.
--
assignee: - serhiy.storchaka
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1742205
___
Serhiy Storchaka added the comment:
The TarFile.extract() method has the set_attrs parameter which controls similar
behavior but is less flexible. It would be good to unify zipfile and tarfile
abilities. set_attrs also controls setting file owner and time. When we restore
unsafe
Keith Hughitt added the comment:
Any progress on this issue? Still persists in Python 3.4.1.
--
nosy: +khughitt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15125
___
Serhiy Storchaka added the comment:
Original issue was fixed in cc3255a707c7. Issue reported in msg73317 was fixed
in issue14315. Is there something left about this issue?
--
nosy: +serhiy.storchaka
status: open - pending
___
Python tracker
eryksun added the comment:
The problem is skip_whitespace mistakenly calls isspace instead of iswspace.
http://hg.python.org/cpython/file/c0e311e010fc/PC/launcher.c#l48
isspace has undefined behavior when the argument is not EOF or in the range of
0 through 0xFF:
Serhiy Storchaka added the comment:
I think zipfile should add an entry for directories as zip tool does. Here is a
patch. In additional it fixes zipfile -c for some corner cases (when arguments
end with /, . or .. component).
--
stage: needs patch - patch review
Nick Coghlan added the comment:
Yes, I agree we should follow the Python level semantics, and only capture the
excess positional arguments. For the record, the four builtins I flagged as
needing this in order to add introspection information:
__build_class__
- 2 positional only args,
Roundup Robot added the comment:
New changeset 4aba144b752d by Serhiy Storchaka in branch '2.7':
Issue #15696: Add a __sizeof__ implementation for mmap objects on Windows.
http://hg.python.org/cpython/rev/4aba144b752d
New changeset ca4a22256bf8 by Serhiy Storchaka in branch '3.4':
Issue #15696:
Serhiy Storchaka added the comment:
Required patch is already committed. Here is updated patch.
--
stage: - patch review
versions: +Python 3.4, Python 3.5 -Python 2.7, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file36415/pickle_sizeof-3.4.patch
New submission from Alex Gaynor:
Based on a reading of the code:
https://github.com/python/cpython/blob/master/Lib/wsgiref/simple_server.py#L88-L90
is where REMOTE_HOST is set.
However, `address_string` always returns `self.client_address[0]`
Changes by Serhiy Storchaka storch...@gmail.com:
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18595
___
___
New submission from Ryan Wilson:
Running command:
$ mkdir foo; python -mzipfile -c foo.zip foo; python -mzipfile -e foo.zip dest
ls: cannot access dest: No such file or directory
This is because 'foo.zip' is empty since running 'python -mzipfile -c foo.zip
foo' does not zip empty directories.
Serhiy Storchaka added the comment:
This is a duplicate of issue22219.
--
nosy: +serhiy.storchaka
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - python -mzipfile fails to add empty folders to created zip
___
Python
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +BreamoreBoy, Rosuav
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
resolution: - fixed
stage: patch review - resolved
status: open - closed
versions: +Python 3.5 -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15696
Changes by Geoffrey Spear geoffsp...@gmail.com:
--
nosy: +geoffreyspear
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19884
___
___
Mark Grandi added the comment:
I was just thinking that if os.stat fails, then you try getting the size by
just calling len() on it, as stuff like io.BytesIO and io.StringIO will respond
to that.
But if we are not changing the behavior of the API, at the very least there
needs to be
Benjamin Peterson added the comment:
That seems reasonable. Can you please write tests for the new behavior, though,
and also fix test_defaultdict?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21389
Antoine Pitrou added the comment:
The example given by Lars shows that it's not that easy to come up with the
right code. Why not make it easier?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22208
Jonathan Dowland added the comment:
Hi David, whilst writing my patch I've tried to keep an open mind as to users
of the methods, but I do have my own purpose in the back of my mind, and that's
an archive mail tool which I would like to delete mail folders if, after
performing an archive
Benjamin Peterson added the comment:
Why can't we just reuse the -l option?
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19628
___
Claudiu Popa added the comment:
Backward compatibility reasons, I guess. compileall -l completely deactivates
the recursion, so using -l for controlling the number of levels seems to
overwrite its original meaning.
--
___
Python tracker
Terry J. Reedy added the comment:
As it is now, show_hit should have a comment something like this:
# On Windows, selection highight is visible while the dialog is open.
# A 'hit' tag is used while the dialog is open (see #22179).
# The 'hit' tag should be deleted when this dialog is closed.
#
Roundup Robot added the comment:
New changeset a62368778d6c by Benjamin Peterson in branch 'default':
allow recursion depth to be specified (closes #19628)
http://hg.python.org/cpython/rev/a62368778d6c
--
nosy: +python-dev
resolution: - fixed
stage: commit review - resolved
status:
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +christian.heimes
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22211
___
___
R. David Murray added the comment:
Well, if you can delete subfolders, then you aren't deleting the main folder,
either (unless it is empty?). So isn't this really a 'delete_messages' method?
In which case, how does it differ from the 'clear' method? Only in that it
deletes the folder if
Ned Deily added the comment:
Closing, since this problem apparently no longer occurs
--
resolution: - out of date
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7283
Changes by Alex Willmer a...@moreati.org.uk:
Added file: http://bugs.python.org/file36417/12006_3.5_complete.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12006
___
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12006
___
___
Alex Gaynor added the comment:
New patch additionally backports the Tools/ssl/ directory from Python3, which
has two utilities for generating some of the code used. Thanks to Benjamin for
catching this.
--
Added file: http://bugs.python.org/file36418/ssl-backport.diff
Alex Gaynor added the comment:
Last version had some stray stuff due to the fact that I don't know how to use
version control. New version should resolve that.
--
Added file: http://bugs.python.org/file36419/ssl-backport.diff
___
Python tracker
Roundup Robot added the comment:
New changeset c1edc4e43eb1 by Senthil Kumaran in branch '2.7':
Fix Issue #8797: Raise HTTPError on failed Basic Authentication immediately.
Initial patch by Sam Bull.
http://hg.python.org/cpython/rev/c1edc4e43eb1
New changeset 30e8a8f22a2a by Senthil Kumaran in
Benjamin Peterson added the comment:
Running test_ssl gives this:
% ./python Lib/test/regrtest.py test_ssl
test_ssl
Exception in thread Thread-104:
Traceback (most recent call last):
File /home/benjamin/dev/python/2.7/Lib/threading.py, line 810, in
__bootstrap_inner
self.run()
File
Alex Gaynor added the comment:
On what platform?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21308
___
___
Python-bugs-list mailing list
Benjamin Peterson added the comment:
Gentoo Linux. Openssl 1.0.1i
On Tue, Aug 19, 2014, at 19:29, Alex Gaynor wrote:
Alex Gaynor added the comment:
On what platform?
--
___
Python tracker rep...@bugs.python.org
New submission from Bob Chen:
Try to run these two script below, and you will understand what I'm talking
about.
If you specified an url and it happened to be an unicode string(which is quite
common in python because python processes string as unicode and you could
possibly get it from
Benjamin Peterson added the comment:
In load_cert_chain, you may find it convenient to not Py_DECREF and Py_CLEAR
keyfile_bytes and certfile_bytes, which aren't PyObject *.
--
___
Python tracker rep...@bugs.python.org
50 matches
Mail list logo