STINNER Victor added the comment:
I'm no more interested to work on this issue, I prefer to close it.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19748
Changes by Ned Deily n...@acm.org:
--
nosy: +bquinlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23697
___
___
Python-bugs-list mailing list
STINNER Victor added the comment:
New changeset 88e1151e8e02 by Serhiy Storchaka in branch 'default':
Issue #2211: Updated the implementation of the http.cookies.Morsel class.
https://hg.python.org/cpython/rev/88e1151e8e02
I don't understand why, but test_pickle started to fail with this
Roundup Robot added the comment:
New changeset ed25e945cdc2 by Victor Stinner in branch 'default':
Issue #23694: Handle EINTR in _Py_open() and _Py_fopen_obj()
https://hg.python.org/cpython/rev/ed25e945cdc2
--
___
Python tracker
STINNER Victor added the comment:
The benefit of any change is unclear. I'm not more interested to work on such
optimization, so I just close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
Vadim Markovtsev added the comment:
I agree that there must be some way to join the threads before exiting, with a
callback or anything else. Currently, my thread pool implementation has to
monkey patch sys.exit and register SIGINT handler to shutdown itself and avoid
the hangup (100+ LoC to
Roundup Robot added the comment:
New changeset d3b420807a86 by Vinay Sajip in branch '3.4':
Issue #23207: Improved kwarg validation.
https://hg.python.org/cpython/rev/d3b420807a86
New changeset 7ff0d7b50b36 by Vinay Sajip in branch 'default':
Issue #23207: merged fix from 3.4.
Roundup Robot added the comment:
New changeset 88e1151e8e02 by Serhiy Storchaka in branch 'default':
Issue #2211: Updated the implementation of the http.cookies.Morsel class.
https://hg.python.org/cpython/rev/88e1151e8e02
--
nosy: +python-dev
___
Evgeny Kapun added the comment:
This patch doesn't fix the issue. The problem is that the list starting with
state-repeat doesn't necessarily contains all repeat contexts that are
allocated. Indeed, here [1] and here [2] repeat contexts are temporarily
removed from the list. If the match
STINNER Victor added the comment:
The consensus looks to be to reject this feature, so I close the issue. I
already commits a compromise: log an error in debug mode.
--
resolution: - rejected
status: open - closed
___
Python tracker
Serhiy Storchaka added the comment:
This looks as generalization of my patch. It produces the same output. I left
comments on Rietveld, but in any case the patch LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23500
Larry Hastings added the comment:
What do you think of this approach? Now a Destination object behaves like an
array of text accumulators. If you ask for one that doesn't exist it's created
for you. When the Destination is dumped, the output from each accumulator is
joined together, like
STINNER Victor added the comment:
I found a way to get a list of functions which can fail with EINTR: search for
TEMP_FAILURE_RETRY in the source code of the glibc. TEMP_FAILURE_RETRY:
https://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html#Interrupted-Primitives
STINNER Victor added the comment:
stat manual page of SCO documentation says that stat() can fail with EINTR, but
I don't see this error in latest Linux manual page. I tested manually, and I
failed to see stat() failing with InterruptedError.
http://uw714doc.sco.com/en/man/html.2/stat.2.html
STINNER Victor added the comment:
@Antoine: exctests.patch looks good to me, can you commit it?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23353
___
STINNER Victor added the comment:
I'm not more interested to work on my astoptimizer project, and nobody looks to
need sys.setasthook(), so I prefer to close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker
Serhiy Storchaka added the comment:
Renamed __copy__ to copy, because copy.copy() doesn't need these changes and
original report was about the copy() method.
Thank you for your contribution and for your responsiveness Demian.
--
resolution: - fixed
stage: commit review - resolved
Martin Sekera added the comment:
But tab characters are rendered by the terminal into spaces. During stdout
processing, when the term encounters a \t (0x09), it inserts (into the term
buffer that is displayed to the user) as many spaces (0x20) as needed to move
the cursor to the nearest
Serhiy Storchaka added the comment:
Thanks Victor.
This patch should fix pickling/unpickling.
Interesting, we should check all other cases when instance attribute was
converted to a property. They are potentially break pickle compatibility.
--
Added file:
STINNER Victor added the comment:
I'm not convinced myself that it's a real issue, and I worked around it in
Trollius, so I close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
Charles-François Natali added the comment:
Note that dup() cannot fail with EINTR, it is non-blocking: dup2() can
fail, because f the target FD is open, it has to close it, but not
dup().
Oh right, I misread the manual page. I will leave _Py_dup() unchanged.
STINNER Victor added the comment:
All functions which can fail with EINTR now retries the function on EINTR. I
close the issue.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23694
STINNER Victor added the comment:
I commited fast_bottom-up.patch to fix the regression of os.walk().
Could you please add a test based on my example (i.e. converting symlinks to
a directory during walking) and may be other (creating new directory and
adding it to the dirs list)?
Sorry,
Roundup Robot added the comment:
New changeset 6f7ed6e95ea8 by Victor Stinner in branch '3.4':
Issue #23456: Add missing @coroutine decorators in asyncio
https://hg.python.org/cpython/rev/6f7ed6e95ea8
--
nosy: +python-dev
___
Python tracker
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23456
___
STINNER Victor added the comment:
Builder x86 XP-4 3.4 is green again. I close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23303
STINNER Victor added the comment:
I didn't see this error recently, so I just close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21735
Changes by Evgeny Kapun abacabadabac...@gmail.com:
--
nosy: +abacabadabacaba
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2636
___
___
STINNER Victor added the comment:
builtin_modules.patch looks complex. It can be simplified by using the
Py_BUILD_CORE define.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23685
___
STINNER Victor added the comment:
This issue was more a reminder for myself (TODO list). I'm no more interested
to work on the issue, so I just close it.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19233
___
STINNER Victor added the comment:
I'm no more really interested to add these identifiers. So I just close the
issue.
--
nosy: +haypo
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
No real activity on this issue. Since the issue is sporadic and I'm not
interested to work on it, I just close the issue as out of date.
--
resolution: - out of date
status: open - closed
___
Python tracker
STINNER Victor added the comment:
test_eintr.py: program to check if a Python function can fail with
InterruptedError. Modify func() to test a function. (The program checks
select.select(), currently it fails with InterruptedError.)
--
Added file:
Changes by Ned Deily n...@acm.org:
--
nosy: +davin, sbt
versions: -Python 3.2, Python 3.3, Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23698
___
Martin Panter added the comment:
I think it would really depend on the particular terminal. Sakura (a Unix
terminal using the VTE library, like Gnome Terminal) copied the tab literally:
$ printf 'tab\ttab|sp sp\n'
tab tab|sp sp == COPIED
$ hexdump -C
tab tab|sp sp == PASTED
STINNER Victor added the comment:
Since nobody looks to care of AIX, I just close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20600
STINNER Victor added the comment:
@Victor would you like to follow up with your patch?
No. So I just close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12500
STINNER Victor added the comment:
signalfd is very useful for event-driven frameworks like Twisted or asyncio.
asyncio doesn't use it, and I didn't see any request to support it yet. asyncio
uses signal.set_wakeup_fd() which looks to be enough, and it is now available
on all platforms
Wolfgang Maier added the comment:
Thanks everyone for the lively discussion !
I like Serhiy's idea of making write work with arbitrary objects supporting the
buffer protocol. In fact, I noticed before that GzipFile.write misbehaves with
array.array input. It pretends to accept that, but
Roundup Robot added the comment:
New changeset 4fb829f8c04d by Victor Stinner in branch 'default':
Issue #23605: Fix os.walk(topdown=True), don't cache entry.is_symlink() because
https://hg.python.org/cpython/rev/4fb829f8c04d
--
___
Python tracker
STINNER Victor added the comment:
The buildbot is broken, it cannot compile anymore. So I just close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22984
STINNER Victor added the comment:
I didn't see this failure recently, so I just close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22971
STINNER Victor added the comment:
I'm no more interested to work on this issue, and it's not clear that
_PyUnicodeWriter is always faster. Switch from a list to _PyUnicodeWriter on a
specific event would make the code much more complex. I prefer to just close
the issue.
--
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19654
___
STINNER Victor added the comment:
This issue has been fixed.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21734
___
Roundup Robot added the comment:
New changeset 1fc32bf069ff by Victor Stinner in branch 'default':
Issue #22181: On Linux, os.urandom() now uses the new getrandom() syscall if
https://hg.python.org/cpython/rev/1fc32bf069ff
--
nosy: +python-dev
___
Eric V. Smith added the comment:
I agree with David: It's unfortunate, but too late to change.
FWIW, since the goal is to replace just str.center, I'd write this as:
def my_center(s, width):
return format(s, '^' + str(width))
As soon as you're mixing in other formatting, then str.center
STINNER Victor added the comment:
See also the issue #19569: Use __attribute__((deprecated)) to warn usage of
deprecated functions and macros.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11410
STINNER Victor added the comment:
I'm no more interested to work on this issue. regrtest.patch is unstable, and I
don't know how to make it more reliable. Antoine's allocation counter is enough
right now.
--
resolution: - out of date
status: open - closed
Davin Potts added the comment:
This is closely related to issue23510. The two issues are reacting to the same
underlying inconsistency though in this issue the problem is more generally
(and clearly) stated whereas issue23510 is more concerned with the consequences
to using these as Context
R. David Murray added the comment:
I would write it:
{:^{width}}.format(title, width=width)
By the way, in case it isn't clear, we acknowledge that in a perfect world
center would work right, but our judgment is that the pain of fixing it
outweighs the benefit. Our collective consensus
STINNER Victor added the comment:
This issue was more a reminder for myself (TODO). I'm no more interesting to
work on it, so I close it.
The Python finalization is very fragile. I prefer to not touch it again :-p
--
resolution: - out of date
status: open - closed
R. David Murray added the comment:
This is a specific case of the more general problem discussed in issue 12458.
--
nosy: +r.david.murray
resolution: - duplicate
stage: - resolved
status: open - closed
superseder: - Tracebacks should contain the first line of continuation lines
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +ers81239
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12458
___
___
Python-bugs-list
Petr Viktorin added the comment:
Here is a patch that uses the macro in all the places it can help.
--
Added file:
http://bugs.python.org/file38542/0002-Use-Py_RICHCOMPARE-in-rich-comparisons.patch
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
I didn't see this sporadic failure recently. The buildbot is now offline. I
close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
Roundup Robot added the comment:
New changeset b44ec269abda by Victor Stinner in branch 'default':
Issue #12155: Fix queue doc example to join threads
https://hg.python.org/cpython/rev/b44ec269abda
--
nosy: +python-dev
___
Python tracker
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
versions: +Python 3.5 -Python 2.7, Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12155
Roundup Robot added the comment:
New changeset 01cb2107cbc3 by Victor Stinner in branch '3.4':
Issue #11726: Fix linecache example in the doc
https://hg.python.org/cpython/rev/01cb2107cbc3
--
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
FreeBSD 6.4 buildbot is broken (hg update fails), FreeBSD 7.2 is offline. I
close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor added the comment:
There is a single test which uses __cleanenv=True: test_hash.
The test pass on Windows and this issue is old. I prefer to simplify close it.
--
resolution: - out of date
status: open - closed
___
Python tracker
Changes by Brett Cannon br...@python.org:
--
nosy: +twouters
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23696
___
___
Python-bugs-list mailing
Changes by Alexei Romanov drednout...@gmail.com:
--
nosy: +alexei.romanov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23689
___
___
STINNER Victor added the comment:
Since no consensus was found on the definition of the function, and this issue
has no activity since 2 years, I close the issue as out of date.
--
resolution: - out of date
status: open - closed
___
Python tracker
STINNER Victor added the comment:
4 years to fix this minor documentation issue, I feel ashamed...
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11726
STINNER Victor added the comment:
This issue has been worked around.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20719
___
STINNER Victor added the comment:
I'm not interested to work on this optimization, so I just close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21644
Roundup Robot added the comment:
New changeset 51341af466e3 by Victor Stinner in branch '3.4':
Issue #11726: clarify linecache doc: linecache is written to cache Python
https://hg.python.org/cpython/rev/51341af466e3
--
nosy: +python-dev
___
Python
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20574
___
New submission from Petr Viktorin:
Rich comparison functions of many builtin types include a block of boilerplate
which can be consolidated in a macro. The macro can be useful for third-party
extensions as well as CPython itself.
See this e-mail for a longer write-up:
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22181
___
STINNER Victor added the comment:
I didn't see this failure recently, I close the issue.
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22333
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20114
___
Roundup Robot added the comment:
New changeset 1e4605542ac4 by Victor Stinner in branch 'default':
Issue #19428: Handle PyMarshal_Read*() errors in run_pyc_file()
https://hg.python.org/cpython/rev/1e4605542ac4
New changeset acb4d43955f6 by Victor Stinner in branch '3.4':
Issue #19428: Document
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19428
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: - out of date
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue20717
___
STINNER Victor added the comment:
What's the status of this issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue21955
___
___
Python-bugs-list
Changes by Serhiy Storchaka storch...@gmail.com:
--
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue19569
___
___
Changes by Tim Graham timogra...@gmail.com:
--
nosy: +Tim.Graham
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22931
___
___
Python-bugs-list
Changes by Nick Coghlan ncogh...@gmail.com:
--
priority: normal - release blocker
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22906
___
___
STINNER Victor added the comment:
Python 3.4 and 3.5 are also affected: I marked issue #22521 as a duplicate of
this issue.
--
nosy: +haypo
title: Python 2.7.9 ctypes module doesn't build on FreeBSD x86 - ctypes module
doesn't build on FreeBSD x86
versions: +Python 3.4, Python 3.5
Changes by STINNER Victor victor.stin...@gmail.com:
--
resolution: out of date - duplicate
superseder: - Python 2.7.9 ctypes module doesn't build on FreeBSD x86
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22521
STINNER Victor added the comment:
It occurs to me that the right way to deal with this is with
__attribute__ ((optimize (no-optimize-sibling-calls)))
on the function where it matters (stack_overflow()).
Can you please write a patch for that with the right #ifdef to only add it to
ICC?
Nick Coghlan added the comment:
Bumped to release blocker so we make sure to look at this at the PyCon sprints,
if not before. (I'm assuming Larry's not taking release blocker literally for
the 3.5 alphas)
As Neil notes, this patch needs some explicit tests for the new behaviour when
the
Changes by Nick Coghlan ncogh...@gmail.com:
--
nosy: +ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15787
___
___
Python-bugs-list
R. David Murray added the comment:
SMRUTI: \f is the python escape code for the ASCII formfeed character. It is
the handling of that ASCII character (among others) that this issue is
discussing.
--
nosy: +r.david.murray
___
Python tracker
New submission from Bohuslav Slavek Kabrda:
This bug is very similar to #18879, the only difference is that
_TemporaryFileWrapper.__iter__ is the problem (in #18879, __getattr__ was
fixed, but __iter__ was not). The real world use case that helped me find this
bug is at the bottom of this
Changes by Matěj Stuchlík matej.stuch...@gmail.com:
--
nosy: +sYnfo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23700
___
___
Python-bugs-list
koobs added the comment:
FWIW, see #23042
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue22521
___
___
Python-bugs-list mailing list
Demian Brecht added the comment:
Thanks for the follow up Serhiy, LGTM.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2211
___
___
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman, georg.brandl, ncoghlan
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23700
___
Changes by STINNER Victor victor.stin...@gmail.com:
--
nosy: -haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23042
___
___
Python-bugs-list
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23655
___
___
Python-bugs-list
New submission from Claudiu Popa:
winreg.QueryValue's docstring has an interesting comment at the end:
But the underlying API call doesn't return the type, Lame Lame Lame, DONT USE
THIS!!!
The documentation
(https://docs.python.org/3.4/library/winreg.html#winreg.QueryValue) already
mentions
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +serhiy.storchaka
stage: - patch review
versions: -Python 3.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23700
___
Changes by Stefan Krah ste...@bytereef.org:
--
nosy: +skrah
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23699
___
___
Python-bugs-list mailing
Davin Potts added the comment:
To provide supporting information, using the i386 release of FreeBSD 10.1:
* ctypes fails to build with the latest from Python 2.7 branch with the message:
R. David Murray added the comment:
I think it would be both helpful and sufficient to add a gloss, perhaps
something like: this passes zip ``n`` references to the *same* iterator, which
means zip calls that single iterator ``n`` times for each tuple it creates; zip
thus outputs tuples
Changes by Ethan Furman et...@stoneleaf.us:
--
nosy: +ethan.furman
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23699
___
___
Python-bugs-list
1 - 100 of 148 matches
Mail list logo