Vajrasky Kok added the comment:
So msg.as_string() =
cte - base64
message - 0JDQkdCS # base64 encoded string
What about msg.as_bytes()? Should it be:
cte - 8bit
message - \\u0410\\u0411\\u0412 (raw-unicode-escape) or
\xd0\x90\xd0\x91\xd0\x92 (utf-8)?
or message - 0JDQkdCS (base64)
Eric Snow added the comment:
I'm fine with not fixing this for 3.3. Does this need to wait on PEP 451
acceptance?
--
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19413
Martin v. Löwis added the comment:
It's certainly possible to update SQLite without rebuilding Python. Just
replace sqlite3.dll with a newer version.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19450
Berker Peksag added the comment:
+ .. method:: get_map()
+
+ Return a mapping of file objects to selector keys.
I kind of feel like a walking linter though I think this needs a versionadded
tag :)
--
keywords: -needs review
nosy: +berker.peksag
Roundup Robot added the comment:
New changeset 0848c90a5dd1 by Tim Golden in branch 'default':
Issue #19418 Fix some warnings on Win64
http://hg.python.org/cpython/rev/0848c90a5dd1
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
New submission from Caolán McNamara:
LANG=ka_GE.georgianps /usr/bin/python3
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: unknown encoding: GEORGIAN-PS
Aborted (core dumped)
but with python-2.7.5 no crash...
LANG=ka_GE.georgianps /usr/bin/python2
Python 2.7.5
Charles-François Natali added the comment:
Berker Peksag added the comment:
+ .. method:: get_map()
+
+ Return a mapping of file objects to selector keys.
I kind of feel like a walking linter though I think this needs a versionadded
tag :)
Well, selectors have been added to 3.4
STINNER Victor added the comment:
This bug was initially reported in LibreOffice:
https://bugs.freedesktop.org/show_bug.cgi?id=68850
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19459
STINNER Victor added the comment:
I found three georgian encodings:
https://sourceware.org/git/?p=glibc.git;a=blob;f=localedata/charmaps/GEORGIAN-PS;h=64615ff4344d74ea0c70cfd7a6c6c8019afb884e;hb=HEAD
Changes by STINNER Victor victor.stin...@gmail.com:
--
title: Fatal Python error: Py_Initialize: Unable to get the locale encoding:
GEORGIAN-PS - Python does not support the GEORGIAN-PS charset
versions: +Python 3.4
___
Python tracker
Serhiy Storchaka added the comment:
This issue is not release blocker because it affects only testing.
Here is a patch which should fix tests.
--
components: +Tests
keywords: +patch
priority: release blocker - normal
stage: - patch review
type: - behavior
Added file:
STINNER Victor added the comment:
+if u'\ud83d\udc9d' != u'\U0001f49d':
If would prefer a test on sys.maxunicode, something like:
if sys.maxunicode == 0x:
Oh, I didn't remember that Python supports surrogate pairs, but not always.
Support of non-BMP characters in Python 2 is
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +lemburg, loewis, serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19459
___
Nick Coghlan added the comment:
Failing test case showing that Python 3.3 can't reload a module that is
converted to a package behind importlib's back (I like this better than the
purely introspection based tests, since it shows a real, albeit obscure,
regression due to this behavioural
Changes by Nick Coghlan ncogh...@gmail.com:
--
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4331
___
___
Changes by Matt Joiner anacro...@gmail.com:
--
nosy: -anacrolix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4331
___
___
Python-bugs-list
Nick Coghlan added the comment:
Added most of the nosy list from the tracking issue 19347.
Updated draft docs. I believe this version of the module docs should be
complete (since the installation guide updates are covered by issue 19407).
While Donald's attached patch is incomplete, the
Donald Stufft added the comment:
For what it's worth I can get --root ready to go shortly, I have a patch
against pip for it (https://github.com/pypa/pip/pull/1272) I just need to write
some tests to ensure it keeps working. Let me go off and do that right now.
--
Donald Stufft added the comment:
I also need to update the bundled Wheel to one that was created with Python 3.4
instead of 2.7 (which matters until the fix for
https://github.com/pypa/pip/issues/1067 which is
https://github.com/pypa/pip/pull/1251 lands). That fixes the issue where the
wheel
Roundup Robot added the comment:
New changeset d191d22a9d23 by Victor Stinner in branch 'default':
Issue #19437: Fix _pickle, don't call _Unpickler_SkipConsumed() with an
http://hg.python.org/cpython/rev/d191d22a9d23
--
___
Python tracker
Eli Bendersky added the comment:
Thanks for the report, Peter. This is indeed a documentation fix for Python
3.3; note that in 3.4 (default branch), the restriction was lifted and
iterparse now accepts any iterable sequence. The documentation also reflects
that (saying that 'events' is a
Changes by Eli Bendersky eli...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19452
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset e6941225e014 by Eli Bendersky in branch '3.3':
Issue #19452: Clarify the documentation of iterparse w.r.t. events argument.
http://hg.python.org/cpython/rev/e6941225e014
New changeset 2a996cecf762 by Eli Bendersky in branch 'default':
Null merge
Changes by Eli Bendersky eli...@gmail.com:
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19452
___
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: -eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16425
___
___
Python-bugs-list
Eli Bendersky added the comment:
Thanks for the report, Martin. I'll take a look once I get some time
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19176
___
Serhiy Storchaka added the comment:
+if u'\ud83d\udc9d' != u'\U0001f49d':
If would prefer a test on sys.maxunicode, something like:
if sys.maxunicode == 0x:
No. 1. The check is true only on wide build. 2. It depends on how test module
was loaded, true if it loaded from
STINNER Victor added the comment:
2. It depends on how test module was loaded, true if it loaded from .py-file
and false if it loaded from .py[co]-file.
I tested with Python compiled in narrow or wide build: len(u'\ud83d\udc9d')
value changes depending if the file is compiled to PYC in
Donald Stufft added the comment:
Ok, merged in the --root fix to pip and created a Wheel using Python 3.4 (which
I installed the Wheel distribution using an ensurepip installed pip ;) ).
Updated on github and a patch added, all outstanding issues that affect this
patch exist on the pip side
Nick Coghlan added the comment:
Updated patch based on Alon's last patch.
The major functional change is to ensure __self__ is set appropriately on any
bound methods returned by the descriptor.
I also updated the docs and docstring, and added a What's New entry (as well as
rewording the
Brett Cannon added the comment:
No, the fix can go into Python 3.4 right now.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19413
___
___
Nick Coghlan added the comment:
Patch looks reasonable to me - if nobody beats me to it, I'll commit this
before beta 1 :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19282
___
Nick Coghlan added the comment:
Patch looks good to me, I'll apply it when I apply issue 19282.
--
assignee: - ncoghlan
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19385
Marc Schlaich added the comment:
Ah that's great. The issue is resolved with SQLite 3.8.1.
However, would be great if a newer SQLite version comes already bundled with
Python.
--
___
Python tracker rep...@bugs.python.org
Changes by Eric Hanchrow eric.hanch...@gmail.com:
--
nosy: -Eric.Hanchrow
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19063
___
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17016
___
___
Python-bugs-list
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17405
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 8d5df9602a72 by Serhiy Storchaka in branch '2.7':
Issue #19457: Fixed xmlcharrefreplace tests on wide build when tests are
http://hg.python.org/cpython/rev/8d5df9602a72
--
nosy: +python-dev
___
Python
Tom Hines added the comment:
The trace module ignores the --ignore-dir option for both the --listfuncs and
--trackcalls modes. I have attached a patch.
--
keywords: +patch
nosy: +tomhines
Added file: http://bugs.python.org/file32437/trace.diff
___
Serhiy Storchaka added the comment:
Additional checks can slowdown the code. It doesn't matter in some operations,
but not on __len__, __contains__, etc. EAFP approach is to catch AttributeError
and raise appropriate dbm.dumb.error exception.
--
nosy: +serhiy.storchaka
Antoine Pitrou added the comment:
I think I still don't understand the use case within Python. Why would you want
to clear the internal state of a hash object?
If you can read the computer's memory, you probably have access to sensitive
data already?
--
Serhiy Storchaka added the comment:
Yet one nitpick. I think that closing check should be after argument type check
and key encoding.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19385
Serhiy Storchaka added the comment:
Thank you Arfrever for your report. And please describe a problem in the body
of the issue, not in its title.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python
New submission from Vajrasky Kok:
Apparently there is no test for MIMENonMultipart.
[sky@localhost cpython]$ grep -R MIMENonMultipart Lib/test/*
[sky@localhost cpython]$
Attached the patch to add test for MIMENonMultipart.
--
components: Tests
files: add_test_non_multipart.patch
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6157
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6159
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6160
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4350
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6181
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6225
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6167
___
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18684
___
___
Python-bugs-list
Roundup Robot added the comment:
New changeset 9b37fbda9043 by Victor Stinner in branch 'default':
Issue #19437: Fix get_filter() from _warnings, don't call PyObject_IsSubclass()
http://hg.python.org/cpython/rev/9b37fbda9043
New changeset e035b4656088 by Victor Stinner in branch 'default':
New submission from Nacsa Kristóf:
http://hg.python.org/cpython/file/8d5df9602a72/Lib/ConfigParser.py#l529
RawConfigParser has a special case of replacing '' with '' in reader.
However the writer does not do the same.
This may cause problems, for example if you merge multiple ini files into
R. David Murray added the comment:
as_bytes should be producing the raw utf8 bytes with cte 8bit.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19063
___
Nacsa Kristóf added the comment:
typo:
`key=` instead of `key=value`
was meant as
`key=` instead of `key=`
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19461
___
Changes by R. David Murray rdmur...@bitdance.com:
--
components: +email
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19460
___
___
New submission from Artem Ustinov:
In order to migrate from optparse to argparse we need to have an ability to
substitute anguments, e.g. remove and then create.
In our framework we use the command line utility base class and then inherit
the particular tools from it. The parser in base class
Roundup Robot added the comment:
New changeset 54bf7b5ec3b6 by Tim Golden in branch '3.3':
Issue #19418 Fix some warnings on Win64
http://hg.python.org/cpython/rev/54bf7b5ec3b6
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
A configurable option is probably the only way forward, due to backward
compatibility reasons, but Łukasz will know for sure. If so, it can only go in
the *next* version of Python, and while we haven't hit beta yet on 3.4 it may
be too late for anyone to
Tim Golden added the comment:
Fixed in 3.3 / 3.4
--
resolution: - fixed
stage: commit review - committed/rejected
status: open - closed
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19418
R. David Murray added the comment:
Does conflict_handler='resolve' address your use case? It sounds like it
should.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19462
Derek Wilson added the comment:
this would still be nice to have fixed ... any progress?
--
nosy: +underrun
versions: +Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5715
Artem Ustinov added the comment:
We need argparse to raise an error for conflicting options and that's why
we need to implicitly substitute an option when we need it
On 31 Oct 2013 19:54, R. David Murray rep...@bugs.python.org wrote:
R. David Murray added the comment:
Does
Artem Ustinov added the comment:
Explicitly substitute, excuse me
On 31 Oct 2013 20:11, Artem Ustinov rep...@bugs.python.org wrote:
Artem Ustinov added the comment:
We need argparse to raise an error for conflicting options and that's why
we need to implicitly substitute an option when we
Roundup Robot added the comment:
New changeset 731bdec35fdd by Vinay Sajip in branch '3.3':
Issue #19349: Corrected error message.
http://hg.python.org/cpython/rev/731bdec35fdd
New changeset e97d9926da83 by Vinay Sajip in branch 'default':
Closes #19349: Merged fix from 3.3.
New submission from Christian Heimes:
I'm seeing some unrelated test failures on PPC Linux (big endian) in my PEP-456
branch.
http://buildbot.python.org/all/builders/PPC64%20PowerLinux%20custom/builds/17/steps/test/logs/stdio
Changes by Serhiy Storchaka storch...@gmail.com:
--
dependencies: +Add tkinter basic options tests
versions: -Python 2.7, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6157
___
Adam Polkosnik added the comment:
Just tested my patch on mac, and it appears that it didn't work on OSX (and
likely on other unix platforms too).
Conclusion... os.path.basename() will not do anything to windows paths when
running on unix.
I'm thinking that instead of bailing at 'File name
Serhiy Storchaka added the comment:
Issue19085 adds test file in which test for this issue should be placed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6157
___
Changes by Barry A. Warsaw ba...@python.org:
--
nosy: +barry
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19462
___
___
Python-bugs-list mailing
Changes by Jeff Hardy jdha...@gmail.com:
--
nosy: +jeff.hardy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19453
___
___
Python-bugs-list mailing
New submission from Zachary Ware:
Here's a patch to remove the compiler warning raised during the clean step on
the Windows buildbots. The warning is about the fact that ssl.vcxproj doesn't
have an NMakeCleanCommandLine command; the patch adds such a command that
simply echos OpenSSL must be
Vinay Sajip added the comment:
Closing, as no activity following Mark's comment.
--
resolution: - wont fix
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19141
___
R. David Murray added the comment:
This was changed to %r by Benjamin Peterson in 27e470952085.
--
resolution: - out of date
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Christian Heimes li...@cheimes.de:
Added file: http://bugs.python.org/file32440/fb2f9c0bbca9.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19183
___
Milton Mobley added the comment:
I now believe the problem of slow execution is caused by performance of the
Windows 7 page file, and not by a Python bug. Others reported that similar
tests worked on Windows 8.1 and various Linux systems. So I request to close or
withdraw the Python bug.
Changes by Zachary Ware zachary.w...@gmail.com:
Removed file: http://bugs.python.org/file30080/2.7_rt.bat_tcltk_fix.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17883
___
Changes by Zachary Ware zachary.w...@gmail.com:
Removed file: http://bugs.python.org/file30156/issue17883.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17883
___
Changes by Zachary Ware zachary.w...@gmail.com:
Removed file: http://bugs.python.org/file30196/issue17883-tmp-test.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17883
___
Changes by Benjamin Peterson benja...@python.org:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19443
___
Changes by Tim Golden m...@timgolden.me.uk:
--
assignee: - tim.golden
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19464
___
___
Zachary Ware added the comment:
Buildbots are still hanging on test_ttk_guionly and failing test_tcl and both
patches still apply cleanly.
Is there anything I can do to help move this forward again?
--
___
Python tracker rep...@bugs.python.org
Christian Heimes added the comment:
I had to add the conversion from LE to host endianess. The missing conversion
was affecting and degrading hash value dispersion.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19183
Serhiy Storchaka added the comment:
Updated patch addresses Ezio's comments.
--
Added file: http://bugs.python.org/file32441/tkinter_options_tests_3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19085
R. David Murray added the comment:
Here's my suggestion.
--
Added file: http://bugs.python.org/file32442/fcntl-doc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18985
___
STINNER Victor added the comment:
this would still be nice to have fixed ... any progress?
Python 3.4 behaves a little bit better: all files and sockets are
non-inheritable by default. It does not fix the issue if you fork without exec.
To fix this issue, we need a patch. Nobody proposed
STINNER Victor added the comment:
Some comments:
- I don't have small files which just contain one function. Do you expect that
we may add other security-related functions? You may add a pysecurity.c file.
(It's maybe a stupid idea.)
- Why only a few hash functions (sha1, sha3)? We must use
STINNER Victor added the comment:
Robert, want to submit a patch?
If someone wants to work on a patch, here is the code of Python 3.4 to
duplicate a file descriptor and make it non-inheritable.
http://hg.python.org/cpython/file/e97d9926da83/Python/fileutils.c#l978
and
New submission from STINNER Victor:
multiprocess, telnetlib (and subprocess in a near future, see #18923) use the
following code to select the best selector:
# poll/select have the advantage of not requiring any extra file descriptor,
# contrarily to epoll/kqueue (also, they require a single
Guido van Rossum added the comment:
What's the use case for not wanting to use an extra FD?
Nevertheless I'm fine with using a function to pick the default selector (but
it requires some changes to asyncio too, which currently uses DefaultSelector).
Something I would find useful would be a
STINNER Victor added the comment:
What's the use case for not wanting to use an extra FD?
A selector may be used a few millisecond just to check if a socket is ready,
and then destroyed. For such use case, select() is maybe enough (1 syscall).
Epoll requires more system calls: create the
Guido van Rossum added the comment:
Hm... I'm trying to understand how you're using the selector in
telnetlib.py (currently the only example outside asyncio). It seems you're
always using it with a single file/object, which is always 'self' (which
wraps a socket), except one place where you're
New submission from STINNER Victor:
Each Python thread holds references to objects, in its current frame for
example. At Python shutdown, clearing threads state happens very late: the
import machinery is already dead, types are finalized, etc. If a thread has an
object with a destructor, bad
STINNER Victor added the comment:
warn_shutdown.py does not emit warnings because the thread states are destroyed
too late, when the modules have been destroyed.
I opened a new issue #19466 Clear state of threads earlier in Python shutdown
which would permit to emit properly warnings, at
Roundup Robot added the comment:
New changeset 13a05ed33cf7 by Victor Stinner in branch 'default':
Close #19442: warn_explicit() does nothing when called late during Python
shutdown
http://hg.python.org/cpython/rev/13a05ed33cf7
--
resolution: - fixed
stage: - committed/rejected
STINNER Victor added the comment:
It still seems to me that this is pretty atypical use of selectors
I already implemented something similar to subprocess.Popen.communicate() when
I was working on old Python versions without the timeout parameter of
communicate().
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19466
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19435
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19462
___
1 - 100 of 123 matches
Mail list logo