Changes by Case Van Horsen cas...@gmail.com:
--
nosy: +casevh
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21922
___
___
Python-bugs-list mailing
Serhiy Storchaka added the comment:
Let's try. As I understand, issue10044 was rejected because it complicates the
code too much. May be new attempt will be more successful.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
I can't reproduce the bug on 2.7.8+, but on 2.7.3 I sometimes got messages like
Exception in thread Thread-26 (most likely raised during interpreter
shutdown): or:
File /usr/lib/python2.7/lib-tk/Tkinter.py, line 2204, in create_line
File
Mark Dickinson added the comment:
... and if there's one person who's *very* well placed to comment on the ease
or difficulty of keeping up with GMP/MPIR (especially on Windows), it's Case
Van Horsen, who I notice has recently added himself to the nosy. @casevh: any
comments?
--
Landry Breuil added the comment:
Seems something in between fixed it, because it works with 3.4.1. Can test 3.3
if needed.
mikey:/usr/obj/tmpfs/ports/Python-3.4.1/Python-3.4.1/ $LD_LIBRARY_PATH=.
./Modules/_testembed
--- Pass 0 ---
interp 0xac003e00, thread state 0xb4380f80: id(modules) =
Serhiy Storchaka added the comment:
Failed on 32-bit:
==
ERROR: test_large_read (test.test_os.FileTests)
--
Traceback (most recent call last):
File
STINNER Victor added the comment:
I'm not interested to work on this issue right now. If anyone is
interested, please go ahead!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21955
___
STINNER Victor added the comment:
Serhiy Storchaka added the comment:
Let's try. As I understand, issue10044 was rejected because it complicates
the code too much. May be new attempt will be more successful.
I read that Mark rejected the issue #10044 because it introduces an
undefined
Roundup Robot added the comment:
New changeset 880e2cdac8b1 by Victor Stinner in branch 'default':
Issue #21932: Skip test_os.test_large_read() on 32-bit system
http://hg.python.org/cpython/rev/880e2cdac8b1
--
___
Python tracker
STINNER Victor added the comment:
Re-add the @unittest.skipUnless(INT_MAX PY_SSIZE_T_MAX, needs INT_MAX
PY_SSIZE_T_MAX) decorator (between cpython_only and bigmemtest).
Oh, I removed it because I thought that it was useless. I didn't understand the
purpose of the test. I added a comment.
New submission from Geert Jansen:
The attached patch adds a _MemoryBIO type to _ssl, and a _wrap_bio() method to
_SSLContext. The patch also includes tests.
For now I kept _wrap_bio() and _MemoryBIO semi-private. The reason is that it
returns an _SSLSocket instead of an SSLSocket and this
Serhiy Storchaka added the comment:
Yes, this is very similar to issue13153. Both these issues can have same
solution or can have different solutions. This issue relates to more realistic
situation and therefore is more important.
Here is simple and almost working solution for this issue.
Serhiy Storchaka added the comment:
Isn't IDLE-specific What's New file was merged in general What's New file few
years ago?
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21961
Serhiy Storchaka added the comment:
Thank you for fixing os.read().
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21932
___
___
Changes by Serhiy Storchaka storch...@gmail.com:
--
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21951
___
___
Serhiy Storchaka added the comment:
Is it crashes when comment out check((), '')? Is it crashes when comment out
two previous checks (for inf and -inf)?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21951
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16494
___
Mark Lawrence added the comment:
@Eric do you wish to take this any further? I'm only asking as Brett's
questions in msg185283 are currently unanswered.
--
nosy: +BreamoreBoy
status: pending - open
versions: +Python 3.5 -Python 3.4
___
Python
Mark Lawrence added the comment:
As the resolution is already set to out of date I believe this can be closed.
--
nosy: +BreamoreBoy
status: pending - open
versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2
___
Python tracker
Mark Lawrence added the comment:
Accidentally set to pending?
--
nosy: +BreamoreBoy
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19919
___
Mark Lawrence added the comment:
I think this was meant to be closed rather than moved to pending see msg210788.
--
nosy: +BreamoreBoy
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19954
Mark Lawrence added the comment:
Accidentally set to pending?
--
nosy: +BreamoreBoy
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20026
___
Mark Lawrence added the comment:
Presumably this can be closed as fixed.
--
nosy: +BreamoreBoy
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18228
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: -berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2008
___
___
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: -berker.peksag
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9325
___
___
Roundup Robot added the comment:
New changeset afa9c0e24a71 by Berker Peksag in branch '3.4':
Issue #19076: Don't pass the redundant 'file' argument to self.error().
http://hg.python.org/cpython/rev/afa9c0e24a71
New changeset d891ad8aeb80 by Berker Peksag in branch 'default':
Issue #19076:
Berker Peksag added the comment:
Thanks for the report, Michael.
--
assignee: - berker.peksag
components: -Extension Modules
nosy: +r.david.murray
resolution: - fixed
stage: needs patch - resolved
status: open - closed
type: - behavior
versions: +Python 3.5 -Python 3.3
STINNER Victor added the comment:
Serhiy Storchaka added the comment:
Thank you for fixing os.read().
You're welcome, thanks for your help with the test. I hope that it would
help you to implement FileIO in Python.
FYI I saw EINVAL errors on test_large_read() on some buildbots, Mac OS X
Lita Cho added the comment:
Make some changes to patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21914
___
___
Python-bugs-list mailing
STINNER Victor added the comment:
The patch has been commited, the issue can be closed. Yes pending was a
mistake.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20026
___
Lita Cho added the comment:
Trying to attach a file again. I seem to be having trouble attaching it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21914
___
Changes by Lita Cho lita@gmail.com:
Added file: http://bugs.python.org/file35930/test_turtle_guionly_v2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21914
___
New submission from Alexander Belopolsky:
When invoked with -q option, python3 prints no banner:
$ python3 -q
However, code.InteractiveConsole does not implement this feature:
$ python3 -mcode -q
Python 3.4.1 (default, May 19 2014, 13:10:29)
[GCC 4.2.1 Compatible Apple LLVM 5.1
Case Van Horsen added the comment:
Disclaimer: as Mark alluded to, I maintain gmpy2.
Some comments on MPIR/GMP:
For all practical purposes, building GMP on Windows requires some version of
the mingw compiler toolchain. None of the performance gains of custom assembly
code is available if GMP
New submission from Anselm Kruis:
If you store a reference to a frame from a dead thread and then access
frame.f_restricted python eventually crashed.
I didn't investigate this bug in depth. Here is my preliminary explanation.
The access of frame.f_restricted causes a call of
Ezio Melotti added the comment:
Do you want to propose a patch?
--
components: +Windows
nosy: +ezio.melotti, loewis, steve.dower, tim.golden, zach.ware
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21931
Mark Lawrence added the comment:
ntpath.join() was fixed in issue19456 so I think all we need here is a commit
review of the attached documentation patch.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21965
___
Mark Lawrence added the comment:
I've asked for a commit review on issue 15414 so can we close this?
--
nosy: +BreamoreBoy
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1669539
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15414
___
___
Python-bugs-list
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1669539
___
___
Python-bugs-list
Alexander Belopolsky added the comment:
I added documentation to the components list because this in the main purpose
of this module - to serve as a template for extension module writers.
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15849
___
Ezio Melotti added the comment:
The docstring is correct, as this is how wraps is implemented (see
Lib/functools.py#l73).
partial(update_wrapper, wrapped=wrapped, assigned=assigned, updated=updated)
will return a partial version of update_wrapper() where only the wrapper
argument is missing.
Ezio Melotti added the comment:
If it's not needed in other places, I think the proposed patch might be OK
(assuming it works fine on other platforms).
--
nosy: +ezio.melotti
stage: - patch review
versions: +Python 3.4, Python 3.5
___
Python
Ezio Melotti added the comment:
While TPen doesn't seem to be documented, it's not prefixed by a '_', so there
might people using it and relying on these methods.
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21946
___
___
Python-bugs-list
Stefan Krah added the comment:
I think we should perhaps leave the xxmodule as an example for
static types and create another pep-384 version that mentions
*potential* performance traps.
Of course many modules won't suffer from this, but first-time
extension writers tend to paste from the
Alexander Belopolsky added the comment:
create another pep-384 version
+1 - and with a more descriptive name than xxmodule.c
Suggestions:
* pep384module.c
* pep384demo.c
* pep384.c
* abidemo.c
--
___
Python tracker rep...@bugs.python.org
Anton Barkovsky added the comment:
Here's a patch.
--
keywords: +patch
nosy: +anton.barkovsky
Added file: http://bugs.python.org/file35932/code.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21966
Alexander Belopolsky added the comment:
That was quick! (Well - I knew it would not be hard.)
I have two questions:
1. How should python3 -q -mcode behave?
2. If we add this patch, should we also attempt to emulate other command line
options (-V, -h, etc.)?
--
assignee: - belopolsky
Changes by Alexander Belopolsky alexander.belopol...@gmail.com:
--
components: +Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21966
___
R. David Murray added the comment:
Unless I'm misremembering, it is exactly __lt__ (or __gt__, if __lt__ returns
NotImplemented) that sorting depends on. Since I'm sure there is code out
there that depends on this fact, I wonder if it should be part of the language
definition.
Also, the
Changes by Ned Deily n...@acm.org:
--
stage: test needed - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7979
___
R. David Murray added the comment:
Whether or not other options are emulated, unimplemented ones should probably
be rejected.
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21966
Anton Barkovsky added the comment:
1. How should python3 -q -mcode behave?
I've only now found out about sys.flags. I think we should check for -q both
before -m and after, because why not?
2. If we add this patch, should we also attempt to emulate other command line
options (-V, -h,
Alexander Belopolsky added the comment:
In order to implement reasonable rejection behavior, we probably need to add
some support for -h.
$ python3 -z
Unknown option: -z
usage: python3 [option] ... [-c cmd | -m mod | file | -] [arg] ...
Try `python -h' for more information.
I don't think we
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7976
___
Anton Barkovsky added the comment:
Here's a patch that checks both sys.flags and sys.argv and uses argparse.
--
Added file: http://bugs.python.org/file35933/code_flags_argparse.patch
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky added the comment:
I think we should check for -q both before -m and after, because why not?
If we check for sys.flags.quiet, wouldn't it be surprising to have
$ python3 -mcode -q
import sys; sys.flags.quiet
0
--
___
Python
Anton Barkovsky added the comment:
That's not a very likely scenario and I think the distinction between arguments
that are passed to the script and interpreter flags is fairly obvious.
--
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky added the comment:
A nitpick: banner=banner in
+ interact(banner=banner)
is redundant.
+ interact(banner)
would work and is just as clear.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21966
Anton Barkovsky added the comment:
Yeah, my love for keyword arguments is a bit too big sometimes.
--
Added file: http://bugs.python.org/file35934/code_flags_argparse_v2.patch
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
The patch is against test_file2k.py which I can't find in my default cpython
setup. If this was removed from (say) Python 3.0 how do I check for that?
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
Mark Lawrence added the comment:
I agree with the sentiment expressed in msg218513 and would close this as out
of date.
--
nosy: +BreamoreBoy
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6895
Ezio Melotti added the comment:
I tried to grep on 3.x for this test but it looks like it's been removed there,
so this issue only affects 2.7.
--
versions: -Python 3.4, Python 3.5
___
Python tracker rep...@bugs.python.org
Terry J. Reedy added the comment:
The Python x.y docs describe the Python x.y language and stdlib, minus Idle
(and turtledemo). The Python x.(y+1) What's New describes the delta between
Python x.y and x.(y+1) in a user friendly and relevant way.
The Idle model of What's New type changes in
Mark Lawrence added the comment:
msg81942 states structmember.h lacks a 'T_SIZET' define in order to properly
support struct fields of type 'size_t' within PyMemberDef. As we have
managed without this feature for the last five years do we really need it now?
What do we gain by implementing
Ezio Melotti added the comment:
There seem to be two issues here:
list comprehension with yield(-from) would return a generator.
This is somewhat surprising, and I'm not sure it's expected/documented.
The example you provided seems to behave reasonably, so I don't think we should
change the
New submission from Apple Grew:
I am sometimes getting the following error from imaplib.
Traceback (most recent call last):
File client.py, line 105, in get_new_mail_uids
result, data = retryableCall(lambda : mail.uid('search', None, UNSEEN),
retries, delay) # search and return uids
Roundup Robot added the comment:
New changeset 7f8843ec34ee by Alexander Belopolsky in branch 'default':
Issue #21966: Respect -q command-line option when code module is ran.
http://hg.python.org/cpython/rev/7f8843ec34ee
--
nosy: +python-dev
___
Ezio Melotti added the comment:
Do you assign anything to self.abort in your code?
Without further information we can't determine if this is a bug with impalib, I
checked the code and I don't see anything that might change self.abort.
--
nosy: +ezio.melotti
type: crash - behavior
Alexander Belopolsky added the comment:
Committed. Thanks, Anton.
--
resolution: - fixed
stage: commit review - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21966
Jeffrey Armstrong added the comment:
Attached a patch. The dangers of using goto...
--
keywords: +patch
Added file: http://bugs.python.org/file35935/_msi.3.4.0.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21931
Apple Grew added the comment:
That is the problem. I don't assign anything to that. I in fact grepped my
code for the word abort but could find none, except in the following code
block.
def retryableCall(f, retries, delay):
while True:
try:
return f()
except
Ezio Melotti added the comment:
In imaplib, abort is either raised or caught (in addition to be the defined
once), so the error doesn't seem to be there.
I suggest you to try and print self.abort (and possibly its repr()/id() or
similar informations) and try to determine if/when it gets
Apple Grew added the comment:
Yes, I actually doing - print '', self.abort, from _init_, and other methods
I am invoking. However, that seems to print nothing! I don't know why. My codes
which is using impalib is able to print stuffs.
--
___
Python
Mark Lawrence added the comment:
I believe this is still valid in which case could we have the stage and
resolution fields set appropriately please. You might also like to take a look
at issue 13238 which is referred to by issue 7839.
--
nosy: +BreamoreBoy
versions: +Python 3.4,
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8972
___
___
Python-bugs-list
Mark Lawrence added the comment:
I can confirm that this works fine with 3.4.1 and 3.5.0a0. I don't run 2.7 any
more so I don't know if this is fixed in later versions.
--
nosy: +BreamoreBoy
versions: -Python 2.6, Python 3.1
___
Python tracker
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +steve.dower, zach.ware
versions: +Python 2.7, Python 3.4, Python 3.5 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8075
Mark Lawrence added the comment:
Is this still relevant or has it been overtaken by other work from Zach or
Steve?
--
nosy: +BreamoreBoy, steve.dower
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8075
___
___
Python-bugs-list
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10837
___
___
Python-bugs-list
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16895
___
___
Python-bugs-list
paul j3 added the comment:
This is a straight forward patch, modifying '_registry_get' to return 'default'
if it gets this 'TypeError'. 'test_argparse.py' has a testcase based on
jnothman's example. Temporarily it includes a skipped test that would pass the
original code.
The alternative
Mark Lawrence added the comment:
@Pekka sorry about the delay in getting back to you.
I can confirm that this is still in issue in 3.4.1 and 3.5.0a0.
--
components: +Library (Lib)
nosy: +BreamoreBoy
type: - behavior
versions: +Python 2.7, Python 3.4, Python 3.5
Mark Lawrence added the comment:
@Jason I'm very sorry about the delay in getting back to you.
Can our Windows gurus shed any light on this one?
--
nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware
type: - behavior
versions: +Python 3.4, Python 3.5
Mark Lawrence added the comment:
@Robert can we have a response to Victor's question please.
--
nosy: +BreamoreBoy
versions: +Python 3.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue18544
Mark Lawrence added the comment:
@Glenn can you provide a formal patch so we can take this forward?
--
nosy: +BreamoreBoy
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10482
Ned Deily added the comment:
The Python x.y docs describe the Python x.y language and stdlib, minus Idle
(and turtledemo). The Python x.(y+1) What's New describes the delta between
Python x.y and x.(y+1) in a user friendly and relevant way.
I don't understand minus IDLE (and turtledemo).
Mark Lawrence added the comment:
Can our Windows gurus advise on this please.
--
nosy: +BreamoreBoy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20117
___
David Edelsohn added the comment:
If I comment out all three tests, it runs.
--- a/Lib/test/test_tcl.py Thu Jul 10 01:17:11 2014 -0400
+++ b/Lib/test/test_tcl.py Sat Jul 12 16:59:33 2014 -0700
@@ -455,9 +455,9 @@
check(float('inf'), 'Inf', eq=float_eq)
Changes by Brian Curtin br...@python.org:
--
nosy: -brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20117
___
___
Python-bugs-list
Nick Coghlan added the comment:
It's a side effect of the hidden closure that provides the new scope for the
iteration variable - that's an ordinary function object, so using yield or
yield from turns it into a generator expression instead. Generator expressions
are already generators, so
New submission from Antony Lee:
PureWindowsPath(foo*) returns a path object, even though it is an invalid one
(e.g., open(foo*) on Windows throws an OSError for invalid argument rather
than a FileNotFoundError). Given the amount of checking that is done in (e.g.)
with_name and with_suffix,
Changes by Martin Panter vadmium...@gmail.com:
--
nosy: +vadmium
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6631
___
___
Python-bugs-list
Martijn Pieters added the comment:
The *redirect* should be corrected here too!
http://www.python.org/peps/pep-0263.html is still going to be in use for some
time to come, a simple redirect *on Python.org* to the correct location would
be helpful.
--
nosy: +mjpieters
New submission from Martin Panter:
This isn’t a particularly important problem for me but when reading the code I
noticed some bit rot in this function, where a host name in a “file:” URL would
be handled differently than intended.
* The url[:2] == '//' check is probably wrong because it is
Ned Deily added the comment:
Martijn, please report problems with the python.org web site to its issue
tracker: https://github.com/python/pythondotorg/issues. Thanks!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21789
1 - 100 of 115 matches
Mail list logo