Roundup Robot added the comment:
New changeset 7ca742d808b2 by Ned Deily in branch '2.7':
Issue #15116: Remove references to appscript as it is no longer being
http://hg.python.org/cpython/rev/7ca742d808b2
New changeset 0f0256e4a1ef by Ned Deily in branch '3.2':
Issue #15116: Remove references
Changes by Ned Deily n...@acm.org:
--
resolution: - fixed
stage: - committed/rejected
status: open - closed
versions: +Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15116
___
Terry J. Reedy added the comment:
These are correct as they are:
Lib/tkinter/tix.py:149:Locates a bitmap file of the name name.xpm or
name in one of the
Lib/tkinter/tix.py:160:Locates an image file of the name name.xpm,
name.xbm or name.ppm
Modules/_io/iobase.c:79:Change
Roundup Robot added the comment:
New changeset d3e7aea8a550 by Serhiy Storchaka in branch '2.7':
Issue #11159: SAX parser now supports unicode file names.
http://hg.python.org/cpython/rev/d3e7aea8a550
New changeset d2622ca8493a by Serhiy Storchaka in branch '3.2':
Issue #11159: Add tests for
Serhiy Storchaka added the comment:
Fixed. Thank you for the report.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11159
Serhiy Storchaka added the comment:
That's O(n), with many spurious insertions and deletions.
Any implementation is O(n).
deques already allow rotating.
I agree that the rotation makes some sense for such collections as deque or
OrderedDict (although it is easy implemented in user code).
Changes by Terry J. Reedy tjre...@udel.edu:
--
stage: - patch review
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12568
___
Antoine Pitrou added the comment:
That's O(n), with many spurious insertions and deletions.
Any implementation is O(n).
For rotate() perhaps (but still, it can be more efficient in that it can
just move the list head once instead of repeatedly deleting and
inserting elements). But
Terry J. Reedy added the comment:
In this part of width.py,
w = unicodedata.east_asian_width(c)
if c == 'A':
# ambiguous
raise ValueError(ambiguous character %x % (ord(c)))
I presume that 'c' should be 'w'.
--
nosy: +terry.reedy
Serhiy Storchaka added the comment:
But rotate_at() / rotate_after() can probably be O(1), unless I'm missing
something.
Hmm, perhaps. But only for current implementation. With more effective
deque-like implementation (when linked list items grouped in fixed-size chunks)
it will be O(n).
New submission from gheorghe mosteoru:
I've be trying to compile python in a folder which had '' (ampersand) in the
path and i couldn't.
First configure got some weird output:
configure: creating ./config.status
config.status: creating Makefile.pre
sed: -e expression #1, char 435: unknown
Antoine Pitrou added the comment:
But rotate_at() / rotate_after() can probably be O(1), unless I'm
missing something.
Hmm, perhaps. But only for current implementation. With more effective
deque-like implementation (when linked list items grouped in
fixed-size chunks) it will be O(n).
New submission from zephyr:
There are two cases of this issues:
1)Terminal-importing the Tkinter module and creating a Tk() object runs fine
for the first instance but exiting the interpreter and trying to create a
object for the next instance gives error:'Tk() is not defined'
Terry J. Reedy added the comment:
For this particular East Asian local, the problem is the double spacing between
the double-width characters (the Chinese numbers 1 to 7). This is potentially
easily fixed for this locale. But do all locales have abbreviated weekday names
that fit in 2
Terry J. Reedy added the comment:
On my Win 7 system, with 3.3.0, the first Home sends the cursor to the
beginning of the user entry, after ' '. The second sends it to the beginning
of the display line. And so forth, as intended. See #3851. (It worked the same
with Win xp and 3.1) If are
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: +meador.inge
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17061
___
___
Python-bugs-list
Terry J. Reedy added the comment:
It would also be nice to optimize '{}{}{}'.format('https://', host, uri).
Either seems a bit much to ask from a fairly naive compiler :-).
--
nosy: +terry.reedy
stage: - needs patch
versions: +Python 3.4
___
Python
Roundup Robot added the comment:
New changeset 706218e0facb by Serhiy Storchaka in branch '2.7':
Fix tests for issue #11159.
http://hg.python.org/cpython/rev/706218e0facb
New changeset a7c074d9cbfb by Serhiy Storchaka in branch '3.2':
Fix tests for issue #11159.
Roundup Robot added the comment:
New changeset c3ab8a698d2f by Serhiy Storchaka in branch '2.7':
Fix translating of illegal characters on Windows (issue #6972).
http://hg.python.org/cpython/rev/c3ab8a698d2f
--
___
Python tracker
Georg Brandl added the comment:
The patch introduced a Cyrillic C into the docs, see below. This makes the
LaTeX build fail.
+ ``foo/bar`` on Unix, and ``С:\foo\bar`` becomes ``foo\bar`` on Windows.
^^
--
nosy: +georg.brandl
status: closed -
Serhiy Storchaka added the comment:
Does your deque-like implementation preserve O(1) deletion?
Ah, OrderedDict should provide O(1) deletion for arbitrary key. Then deque-
like implementation should use variable-size chunks and rotate_at() /
rotate_after() are possible with O(1).
--
Serhiy Storchaka added the comment:
There are different test fails on Windows:
http://buildbot.python.org/all/builders/x86%20XP-5%203.3/builds/405/steps/test/logs/stdio
==
ERROR: test_extract_hackers_arcnames
Roundup Robot added the comment:
New changeset b6b707063991 by Serhiy Storchaka in branch '2.7':
Fix a Cyrillic C inroduced into the docs by patch for issue #6972.
http://hg.python.org/cpython/rev/b6b707063991
New changeset ede0f27988f2 by Serhiy Storchaka in branch '3.2':
Fix a Cyrillic C
Serhiy Storchaka added the comment:
The patch introduced a Cyrillic C into the docs, see below.
Thank you. Fixed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6972
___
László Attila Tóth added the comment:
Unfortunatelly the implementation bugous as of now. I wrote additional tests.
self.parser = ErrorRaisingArgumentParser()
self.parser.add_argument('-a', action='store_true')
self.parser.add_argument('-b')
self.parser.add_argument('rem',
Changes by Petre pmierlu...@cmedtechnology.com:
--
nosy: +petre
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1100942
___
___
Python-bugs-list
gheorghe mosteoru added the comment:
I think this might be a bug in autoconf:
http://lists.gnu.org/archive/html/bug-autoconf/2012-08/msg0.html
The latest version of autoconf gives me a message when I try to run configure
(for autoconf code itself) in that directory
checking whether
Serhiy Storchaka added the comment:
Here are patches which possible fixes some of this failures.
--
Added file: http://bugs.python.org/file28932/zipfile_fix_arcname_4-2.7.patch
Added file: http://bugs.python.org/file28933/zipfile_fix_arcname_4-3.x.patch
Radu Ciorba added the comment:
- if the unknown option is given first then both options are treated as
unknown and returned in the list of remaining arguments.
I don't think this case is correct behaviour. There is no way to determine if u
accepts arguments or not. If nargs for -u is ? or
Changes by Andrei Vereha aver...@gmail.com:
--
nosy: +Andrei.Vereha
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16142
___
___
Python-bugs-list
Changes by Radu Ciorba raducio...@gmail.com:
--
nosy: +Radu.Ciorba
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16468
___
___
Python-bugs-list
R. David Murray added the comment:
Please see issue issue 1044. I have no opinion here, I just remembered that
this had been discussed before.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17102
R. David Murray added the comment:
Please provide a complete example of the failures. Your report doesn't
currently provide enough information to reproduce the reported issue.
If the reported error message is accurate, it looks at first glance like the
error message at least could use some
Roumen Petrov added the comment:
Jason Tishler wrote:
Jason Tishler added the comment:
Is this still an issue on 3.3/3.4?
I presume so.
This build is broken since SOABI implementation.
Does the patch still work?
I haven't tried it on 3.3 yet, so I don't know if it will apply cleanly.
Roundup Robot added the comment:
New changeset ebef003a2acd by Serhiy Storchaka in branch '2.7':
Fix the test and remove trailing dots on Windows for issue #6972.
http://hg.python.org/cpython/rev/ebef003a2acd
--
___
Python tracker
Roundup Robot added the comment:
New changeset c73a1f96dd9b by Gregory P. Smith in branch '2.7':
Update the embedded copy of the expat XML parser to 2.1.0. It brings
http://hg.python.org/cpython/rev/c73a1f96dd9b
--
___
Python tracker
Changes by Benjamin Peterson benja...@python.org:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14340
___
___
Roundup Robot added the comment:
New changeset 0a58fa8e9bac by Benjamin Peterson in branch '2.7':
Issue #15881: Fixed atexit hook in multiprocessing.
http://hg.python.org/cpython/rev/0a58fa8e9bac
--
___
Python tracker rep...@bugs.python.org
Georg Brandl added the comment:
Then I guess there is no reason not to put it in 3.2.4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14340
___
Roumen Petrov added the comment:
I agree that current directory in library search path is different issue so I'm
closing as fixed.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by Benjamin Peterson benja...@python.org:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15881
___
___
Changes by Benjamin Peterson benja...@python.org:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15881
___
___
Benjamin Peterson added the comment:
It's not clear to me at all what needs to happen here, so I'm just going to
have to drop it for 2.7.4.
--
priority: release blocker - normal
___
Python tracker rep...@bugs.python.org
Roumen Petrov added the comment:
To update .hgtouch is not enough.
Grammar, AST and importlib should left in source tree as before.
--
nosy: +rpetrov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15819
Changes by Roumen Petrov bugtr...@roumenpetrov.info:
--
type: behavior - compile error
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15483
___
___
Roundup Robot added the comment:
New changeset 5a68052b52ea by Serhiy Storchaka in branch '2.7':
Preserve backslashes in malicious zip files for testing issue #6972.
http://hg.python.org/cpython/rev/5a68052b52ea
--
___
Python tracker
Roundup Robot added the comment:
New changeset 4d120cea3507 by Serhiy Storchaka in branch '2.7':
Issue #17034: Use Py_CLEAR() in stringobject.c.
http://hg.python.org/cpython/rev/4d120cea3507
New changeset 8a747dec89c5 by Serhiy Storchaka in branch '3.2':
Issue #17034: Use Py_CLEAR() in
Roumen Petrov added the comment:
I agree that cross-compilation is now usable.
Issues related to build and test outside source tree more or less are permanent
but out of cross-compilation scope.
Also parts of patches posted in this issue now are in separate defects or
enhancements.
--
Serhiy Storchaka added the comment:
Actually it is a part of issue16445 or issue16447. Now they will be a little
smaller.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
Python tracker
Roumen Petrov added the comment:
Please do not post to this thread.
Follow python bugs list for result of patch-split. I will try to post parts of
this patch to already opened issues or to open new one if necessary.
As basis will be used py3k-20121004-MINGW.patch with following main changes:
-
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17100
___
___
Roundup Robot added the comment:
New changeset ab4b8da79a5f by Serhiy Storchaka in branch '2.7':
Fix test for issue #6972.
http://hg.python.org/cpython/rev/ab4b8da79a5f
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6972
Raymond Hettinger added the comment:
Please don't rush to make patches. It isn't even clear that this is a good
idea.
AFAICT, none of the many extant implementation of ordered dictionaries in any
language currently implement a rotate operation.
FWIW, the iter() and move_to_end() methods are
Ray Donnelly added the comment:
Great Roumen, please split into new issues then make a new overall tracking
issue, then this one can be left for historians and archaeologists.
For Posix installation scheme I've got:
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
Removed message: http://bugs.python.org/msg181184
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17100
___
Roumen Petrov added the comment:
Proposed patch is mostly for cross compilation in general. Now this is
implemented differently and I think that all proposed updates are already
addressed.
Also I can not see relation with gcc( mingw ) builds.
What about to close issue as fixed ?
--
Roumen Petrov added the comment:
Version against current (2013-02-02) source.
--
versions: +Python 3.4
Added file:
http://bugs.python.org/file28935/0002-MINGW-issue6672-add-mingw-recognition-to-pyport.h-to.patch
___
Python tracker
Roundup Robot added the comment:
New changeset 434b50c7bbed by Serhiy Storchaka in branch '3.2':
Fix the test for issue #6972.
http://hg.python.org/cpython/rev/434b50c7bbed
New changeset 8b33f3a4a200 by Serhiy Storchaka in branch '3.3':
Fix the test for issue #6972.
Roundup Robot added the comment:
New changeset f7b01daffe01 by Raymond Hettinger in branch 'default':
Issue 16398: Use memcpy() in deque.rotate().
http://hg.python.org/cpython/rev/f7b01daffe01
--
___
Python tracker rep...@bugs.python.org
New submission from Damian:
Hi. While porting a library of mine (https://stem.torproject.org/) to python 3
I've been reliably encountering a python segmentation fault while running its
integration tests. After many hours of head scratching I've narrowed the repro
to the following script...
Roundup Robot added the comment:
New changeset cb5cde9e5ac5 by Raymond Hettinger in branch '2.7':
Issue 16398: Use memcpy() in deque.rotate().
http://hg.python.org/cpython/rev/cb5cde9e5ac5
--
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
Since there is no one who want to review the patch for this dirty buggy module,
I will test and review it myself yet once and then commit.
--
___
Python tracker rep...@bugs.python.org
Georg Brandl added the comment:
Then I guess there is no reason not to put it in 3.2.4.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14340
___
Simon Law added the comment:
Raymond, looking at your patch, can we assert that deque-leftblock is never
equal to deque-rightblock? If not, you need to use memmove() instead of
memcpy(), which is unsafe for overlapping arrays.
It is not clear to me that this invariant is true. At the very
Stefan Krah added the comment:
Thanks for the report. I cannot reproduce it with the latest 3.2 version.
Perhaps the version shipped with Ubuntu 11.04 has this problem.
--
nosy: +doko, skrah
___
Python tracker rep...@bugs.python.org
Raymond Hettinger added the comment:
Even when leftblock == rightblock, a memcpy() will work fine. When the block
extends off the end, it *always* creates a newblock and never wraps around to
the current block. Data doesn't get overwritten in any scenario.
--
Raymond Hettinger added the comment:
Also note, len=1 and |n| len//2, so even within a single block, memcpy()
doesn't overwrite data.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16398
Serhiy Storchaka added the comment:
It is possible to use only one new block (or even none). It should a little
speed up rotate(). I will open a new issue when prepare a patch.
--
___
Python tracker rep...@bugs.python.org
Stefan Krah added the comment:
IOW, my advice is to get Python 3.3 from hg.python.org and see if
you can reproduce the issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17105
___
Nadeem Vawda added the comment:
You're right; it breaks backspacing over multibyte characters. I should
have tested it more carefully before committing. I'll revert the changes.
--
resolution: fixed -
stage: committed/rejected - needs patch
status: closed - open
Roundup Robot added the comment:
New changeset e6952acd5a55 by Nadeem Vawda in branch '3.2':
Back out fix for issue #13886; it introduced a new bug in interactive readline
use.
http://hg.python.org/cpython/rev/e6952acd5a55
--
___
Python tracker
Damian added the comment:
Thanks. I snagged the 3.3 tarball from 'http://www.python.org/download/' after
your first comment. Compilation just finished and it works there...
atagar@morrigan:~$ ~/Desktop/Python-3.3.0/python --version
Python 3.3.0
atagar@morrigan:~$ ~/Desktop/Python-3.3.0/python
Stefan Krah added the comment:
Thanks for testing. The problem with the Ubuntu Python
Python 3.2 (r32:88445, Oct 20 2012, 14:09:50)
is that it seems to be a patched 3.2.0, while we're already at 3.2.3.
So it might be worth reporting this issue to Ubuntu.
--
resolution: - works
Roundup Robot added the comment:
New changeset efb8d80af320 by Raymond Hettinger in branch 'default':
Issue 16398: Add assertions to show why memcmp is safe.
http://hg.python.org/cpython/rev/efb8d80af320
--
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset 5c7e884b205a by Nadeem Vawda in branch '3.3':
Back out fix for issue #13886; it introduced a new bug in interactive readline
use.
http://hg.python.org/cpython/rev/5c7e884b205a
--
___
Python tracker
Raymond Hettinger added the comment:
Serhiy, it is intentional that a new block is created. Also, note the deque
implementation uses freelisting (block reuse) so getting a new block is very
cheap. Please leave this design unchanged -- it makes it very easy to reason
about the deques work
Roundup Robot added the comment:
New changeset 8b8c6abda7e8 by Nadeem Vawda in branch 'default':
Back out fix for issue #13886; it introduced a new bug in interactive readline
use.
http://hg.python.org/cpython/rev/8b8c6abda7e8
--
___
Python tracker
Roundup Robot added the comment:
New changeset 5bf91dfb1e34 by Nadeem Vawda in branch '2.7':
Back out fix for issue #13886; it introduced a new bug in interactive readline
use.
http://hg.python.org/cpython/rev/5bf91dfb1e34
--
___
Python tracker
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: - rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16398
___
___
Han-Wen Nienhuys added the comment:
yeah, whatever.
(only 7 years to close an issue. Yay for open-source.)
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1597850
___
New submission from R. David Murray:
I came across this by making a mistake, but it shouldn't crash:
rdmurray@hey:~/python/p32touch temp
rdmurray@hey:~/python/p32./python
Python 3.2.3+ (3.2:e6952acd5a55+, Feb 2 2013, 15:04:21)
[GCC 4.6.3] on linux2
Type help, copyright, credits or license
Serhiy Storchaka added the comment:
I see TypeError: 'str' does not support the buffer interface on current 3.2
and default.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17106
R. David Murray added the comment:
It might not crash on a debug build. I haven't tried that.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17106
___
R. David Murray added the comment:
I mean, non-debug build.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17106
___
___
Python-bugs-list
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
Removed message: http://bugs.python.org/msg181206
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16398
___
Roundup Robot added the comment:
New changeset 12ef5a4bba63 by Raymond Hettinger in branch 'default':
Issue 16398: One more assertion for good measure.
http://hg.python.org/cpython/rev/12ef5a4bba63
--
___
Python tracker rep...@bugs.python.org
R. David Murray added the comment:
OK, this happens in debug mode in 3.2.3, so it is not a regression. Still
something to be looked in to, since that assert presumably has a purpose.
--
keywords: -3.2regression
priority: release blocker - normal
type: crash - behavior
versions:
Serhiy Storchaka added the comment:
There is a simpler crasher:
import io
io.TextIOWrapper(io.StringIO()).read(1)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17106
___
Changes by R. David Murray rdmur...@bitdance.com:
--
title: Crash in IO reading text file as binary via email library - assertion
error in IO reading text file as binary
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17106
Antoine Pitrou added the comment:
Well, if a proper type check is made later, then the assert can go.
Also, the PyBytes_Size() result should be checked for error, which incidentally
ensures the argument is a bytes object.
--
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: - patch review
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8765
___
Antoine Pitrou added the comment:
I don't really think they deserve documenting.
pystones can arguably be a cheap and easy way of comparing performance of
different systems *using the exact same Python interpreter*. It's the only
point of running pystones.
As for pybench, it probably had a
Roundup Robot added the comment:
New changeset 8dcf94c2fef5 by Antoine Pitrou in branch '2.7':
Issue #15633: httplib.HTTPResponse is now mark closed when the server sends
less than the advertised Content-Length.
http://hg.python.org/cpython/rev/8dcf94c2fef5
--
nosy: +python-dev
Roundup Robot added the comment:
New changeset 03c536afeb7e by Antoine Pitrou in branch '3.2':
Issue #15633: httplib.HTTPResponse is now mark closed when the server sends
less than the advertised Content-Length.
http://hg.python.org/cpython/rev/03c536afeb7e
New changeset 7d504068bc58 by
Antoine Pitrou added the comment:
I've committed the patch into 2.7 and then ported it to 3.x. Please reopen if
the problem still occurs with the patch.
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
___
New submission from Antoine Pitrou:
Right now test_sni in test_urllib2net is skipped with the message test
disabled - test server needed. But the ssl module now has server-side SNI
support, and therefore we could implement this test with a local server (and
perhaps move it to
Gregory P. Smith added the comment:
given issue 1044, this is not high priority. i still think it'd be useful.
--
priority: high - normal
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17102
Ned Deily added the comment:
The problem is as documented for issue10433:
http://docs.python.org/2/library/os.html#os.getgroups
Here's a patch that skips the failing test when Python is built on OS X with a
deployment target less than 10.6. Currently on releases prior to 3.3.0, the
build
New submission from Shai Berger:
Consider the following directory structure:
a-\
__init__.py
b.py
b-|
__init__.py
Now, in Python (I checked 2.7.3 and 3.2.3, haven't seen the issue mentioned
anywhere so I suspect it is also in later Pythons), if you import a.b, you
always get the
Terry J. Reedy added the comment:
I do not have the knowledge needed to review the code, but I took a brief look.
The three doc patches need a verb to be proper English. Samples truncated in
case of overflow. should be Samples are truncated in case of overflow. in
both places. I think Samples
1 - 100 of 128 matches
Mail list logo