Changes by Sandro Tosi sandro.t...@gmail.com:
--
nosy: +sandro.tosi
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11561
___
___
Python-bugs-list
New submission from Mark Hammond skippy.hamm...@gmail.com:
A tracking bug for the reference implementation of PEP397 - A Python launcher
for Windows.
--
assignee: mhammond
components: Documentation
files: pep-0397-reference.py
messages: 131723
nosy: mhammond
priority: normal
severity:
Ronald Oussoren ronaldousso...@mac.com added the comment:
Issue11485 is related to this.
As Ned noted Ned and I will look into this.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11623
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
It would be nice if it were enabled by default for fatal errors
(and asserts perhaps?).
That would mean that the module should be a builtin module,
Changes by Eli Bendersky eli...@gmail.com:
--
nosy: +eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11625
___
___
Python-bugs-list
New submission from Antoine Pitrou pit...@free.fr:
Introduced by ef2b6305d395.
--
assignee: haypo
messages: 131727
nosy: haypo, pitrou
priority: normal
severity: normal
status: open
title: refleak in test_import
type: resource usage
versions: Python 3.3
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Martin: I wouldn't worry too much about replacing a Mutex with a Semaphore.
There is no reason to believe that they behave in any way different scheduling
wise, and if they did, then any python code that this would affect would
Rainer Schaaf r...@pdflib.com added the comment:
fixing this for the next version of course would be acceptable.
As I can use the extension (not setting Py_LIMITED_API) even with 3.2.0 it is
not a big problem. I only loose the benefit of Py_LIMITED_API and will have to
release another
STINNER Victor victor.stin...@haypocalc.com added the comment:
Le mardi 22 mars 2011 à 09:01 +, Marc-Andre Lemburg a écrit :
Perhaps you could consider adding a similar approach (raising
an exception instead of writing a traceback) to the module.
We could then port our code to use your
New submission from Kristoffer Nilsson novaf...@gmail.com:
Running Windows 7 Enterprise 64 bit, and Python 7.2.1 64 bit Python failed to
read and send UDP packages when ran in cmd.exe. This is not the case when ran
with IDLE.
Example; two simple programs. First one listening to a UDP port
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Sbt: I re-read the code and while I still maintain that the evaluation in line
50 is meaningless, I agree that the worst that can happen is an incorrect
timeout.
It is probably harmless because this state is only encountered for
Marc-Andre Lemburg m...@egenix.com added the comment:
STINNER Victor wrote:
STINNER Victor victor.stin...@haypocalc.com added the comment:
Le mardi 22 mars 2011 à 09:01 +, Marc-Andre Lemburg a écrit :
Perhaps you could consider adding a similar approach (raising
an exception instead
Roundup Robot devnull@devnull added the comment:
New changeset 3114f26d5d54 by Victor Stinner in branch 'default':
Issue #11630, issue #3080: Fix refleak introduced by ef2b6305d395
http://hg.python.org/cpython/rev/3114f26d5d54
--
nosy: +python-dev
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11630
___
New submission from Brice Videau brice.vid...@gmail.com:
unified_diff seems to lose the context when comparing the 2 files contained in
the attached archive using this script :
import difflib
b1 = open(out1.short,r).read().splitlines(True)
b2 = open(out2.short,r).read().splitlines(True)
New submission from anatoly techtonik techto...@gmail.com:
print() function for some reason buffers output on Windows if end!='\n'.
In attached examples Processing.. string is shown in Python 3.2 only after
the actual processing is finished, while in Python 2.6 it is shown before.
Changes by anatoly techtonik techto...@gmail.com:
Added file: http://bugs.python.org/file21334/printtest2.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11633
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
printtest2.py displays directly Processing.. on Windows, but not on Linux.
It looks like stdout is not buffered on Windows, which looks like a bug to bug
:-) I think that it is safer to always call sys.stdout.flush() to ensure
anatoly techtonik techto...@gmail.com added the comment:
From my perspective it is a regression on Windows and a bug in Linux version
of Python 2.x, which unfortunately can not be fixed, because of 2.x release
process.
If the fact that print statement doesn't output anything when called is
STINNER Victor victor.stin...@haypocalc.com added the comment:
From my perspective it is a regression on Windows and a bug in Linux
version of Python 2.x, which unfortunately can not be fixed,
because of 2.x release process.
Line buffering is used by default on most operating systems (ok,
Nick Coghlan ncogh...@gmail.com added the comment:
Note that this test code:
def raise_():
raise MyException
self.assertRaises(TypeError, raise_)
can be simplified to:
with self.assertRaises(TypeError):
raise MyException
in all currently
anatoly techtonik techto...@gmail.com added the comment:
How about making print() user-friendly with flushing after every call, and if
you want explicitly want speed - use buffered sys.stdout.write/flush()?
--
___
Python tracker
STINNER Victor victor.stin...@haypocalc.com added the comment:
How about making print() user-friendly with flushing after every call,
and if you want explicitly want speed - use buffered
sys.stdout.write/flush()?
This is exactly the -u option of Python 2: use it if you would like a completly
anatoly techtonik techto...@gmail.com added the comment:
You must realize that the most common use case for print(..., end!='\n') is
when you want to notify user about intermediate progress of a very long
operation.
Making documentation for simple print() statement overloaded with low level
sbt shibt...@gmail.com added the comment:
krisvale wrote:
So, I suggest a change in the comments: Do not claim that the value is never
an underestimate, and explain how falsely returning a WAIT_TIMEOUT is safe and
only occurs when the lock is heavily contented.
Sorry for being so
Changes by sbt shibt...@gmail.com:
Removed file: http://bugs.python.org/file21335/locktimeout3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11618
___
sbt shibt...@gmail.com added the comment:
krisvale wrote:
So, I suggest a change in the comments: Do not claim that the value is never
an underestimate, and explain how falsely returning a WAIT_TIMEOUT is safe and
only occurs when the lock is heavily contented.
Sorry for being so
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file21331/roberto_derenzi.vcf
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11622
___
Ray.Allen ysj@gmail.com added the comment:
patch updated.
--
Added file: http://bugs.python.org/file21337/issue_11287.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11287
___
Éric Araujo mer...@netwok.org added the comment:
Thanks for taking care of this. I’ll be here to review distutils-related
changes, if any are needed.
--
assignee: tarek - ronaldoussoren
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
The Remote hg repo field was just empty when I made my latest comment
Looks like this field is always empty: its goal is to add a repo, just like the
File field is always empty unless you add a file. The existing files and
repositories are
Ronald Oussoren ronaldousso...@mac.com added the comment:
I haven't put much thought in a solution yet, but at this point I'd go for
three changes:
1) Give a clear warning when python was configured for i386/ppc
and Xcode4 is installed (instead of giving a vague compiler crash
due to
New submission from Eli Bendersky eli...@gmail.com:
The comment string above the implementation of _PyBytes_FromStringAndSize in
Objects/bytesobject.c starts with:
/*
For both PyBytes_FromString() and PyBytes_FromStringAndSize(), the
parameter `size' denotes number of characters to
STINNER Victor victor.stin...@haypocalc.com added the comment:
Could you write a patch to fix this comment?
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11634
___
Roundup Robot devnull@devnull added the comment:
New changeset a56cd7aeac5e by Raymond Hettinger in branch '2.7':
Issue #11625: Fix Typo
http://hg.python.org/cpython/rev/a56cd7aeac5e
--
nosy: +python-dev
___
Python tracker rep...@bugs.python.org
Roundup Robot devnull@devnull added the comment:
New changeset 3aec82018a18 by Raymond Hettinger in branch '3.1':
Issue #11625: Fix Typo
http://hg.python.org/cpython/rev/3aec82018a18
New changeset 461e5c60fbdf by Raymond Hettinger in branch '3.2':
Issue #11625: Fix Typo
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11625
___
Changes by bcroq bertrand.c...@gmail.com:
--
nosy: +bcroq
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10694
___
___
Python-bugs-list mailing
Bertrand Croq bertrand.c...@gmail.com added the comment:
The last patch (manually applied to Python 2.6) fixed the problem with a ZIP
file used in my project.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10694
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +amaury.forgeotdarc
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10694
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
We are talking about different things here:
- When python is run from a console, sys.stdout is line buffered.
sys.stdout.write() flushes if there is a carriage return. No need to change
anything here.
- print() could call
Changes by Brian Curtin br...@python.org:
--
nosy: +brian.curtin
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11629
___
___
Python-bugs-list
New submission from Antoine Pitrou pit...@free.fr:
concurrent.futures uses polling in its worker threads and processes
(with a timeout of 0.1).
It means that:
1) this prevents CPUs to enter low power states durably
2) it incurs latency when calling shutdown() on an executor (this seems to be
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
This looks okay.
On the first lines for set_merge() where there is:
key = entry-key;
also do:
hash = entry-key;
so that the two get handled in a parallel fashion.
Thanks for doing the backporting.
--
assignee:
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: rhettinger - mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11244
___
New submission from William Dawson williamanthonydaw...@gmail.com:
NameError: global name 'fh' is not defined
File /Users/williamdawson/Programs/fat_wip.py, line 263, in module
header_gal = readheader(gal_cat)
File /Users/williamdawson/Programs/tools.py, line 96, in readheader
Brian Curtin br...@python.org added the comment:
You should report this to whoever makes npyio.py
--
nosy: +brian.curtin
resolution: - invalid
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
Santoso Wijaya santoso.wij...@gmail.com added the comment:
this will lock
I should expect so! recvfrom is a blocking method. The interpreter will block
on said socket until (if recvfrom) data arrives from the remote end of the
socket.
sendto is non-blocking, though. And it works for me:
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt -Devin Jeanpierre
versions: +Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1677
___
Changes by Anton Benard acben...@gmail.com:
--
nosy: +abenard
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7833
___
___
Python-bugs-list mailing
Brett Cannon br...@python.org added the comment:
Doc changes seem fine to me.
--
assignee: brett.cannon - eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11591
___
Kristoffer Nilsson novaf...@gmail.com added the comment:
Ah, bad formulation by me. While testing I had both the same machine and
external machine sending UDP packages to the port I was listening to.
The listening server would not receive anything on 64/64bit (unless running
from IDLE).
The
Changes by Eric Smith e...@trueblade.com:
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7833
___
___
Python-bugs-list mailing
Roundup Robot devnull@devnull added the comment:
New changeset d50a71994f51 by Raymond Hettinger in branch 'default':
Issue #11333: Add __slots__ to the collections ABCs.
http://hg.python.org/cpython/rev/d50a71994f51
--
nosy: +python-dev
___
Python
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
Thanks Daniel.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11333
___
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
components: +Library (Lib) -Extension Modules
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11397
___
Eli Bendersky eli...@gmail.com added the comment:
Sure, I just wanted confirmation from another dev that it's indeed an error and
I'm not missing anything.
I suppose the fix is just replace for both PyBytes_FromString() and
PyBytes_FromStringAndSize() with just for
Éric Araujo mer...@netwok.org added the comment:
Agreed. Which .py files would be appropriate?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10291
___
Santoso Wijaya santoso.wij...@gmail.com added the comment:
I can't reproduce this. I'm also running 64-bit Python on 64-bit Windows 7 and
socket operations are fine for me.
--
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Mar 22, 2011 at 2:55 PM, Éric Araujo rep...@bugs.python.org wrote:
..
Agreed. Which .py files would be appropriate?
Lib/turtledemo/about_turtle.txt - seems to belong to turtle.py
Sandro Tosi sandro.t...@gmail.com added the comment:
Reattaching patch generated (against 3.2) with diff --git to preserve the
rename operation.
--
Added file: http://bugs.python.org/file21339/test_future_diffgit.patch
___
Python tracker
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Mar 22, 2011 at 3:14 PM, Alexander Belopolsky
belopol...@users.sourceforge.net wrote:
..
Lib/turtledemo/about_turtle.txt - seems to belong to turtle.py
In fact, it looks like turtle docstring is already a copy (or
Éric Araujo mer...@netwok.org added the comment:
Looks good. Would someone else like to review too? I don’t know C, and there
may be PEP 343 subtleties that I have missed.
--
keywords: +needs review
nosy: +ncoghlan
stage: - commit review
___
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
type: - feature request
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10291
___
Guido van Rossum gu...@python.org added the comment:
Closing. We now have a context manager based solution for saving, changing and
restoring warning filters.
http://docs.python.org/library/warnings.html#testing-warnings
(I just came across this issue looking for such a solution. :-)
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
keywords: +patch
Added file: http://bugs.python.org/file21340/issue10291.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10291
Changes by Brian Curtin br...@python.org:
--
components: +Extension Modules, Windows -Library (Lib)
nosy: +brian.curtin
stage: - needs patch
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11620
Martin v. Löwis mar...@v.loewis.de added the comment:
I fear I don't understand exactly what is meant here. For me it was enough to
get the linker error telling me it is not working.
Suppose 3.2.1 adds this function, which then means that your extension
builds fine. However, it won't run on
Martin v. Löwis mar...@v.loewis.de added the comment:
Kristoffer: are you using a personal firewall software? These filters often
filter traffic out depending on what process is receiving it, so you may want
to turn the firewall off (or explicitly configure it to allow this port to be
open).
Roundup Robot devnull@devnull added the comment:
New changeset 136298326897 by Raymond Hettinger in branch '2.7':
Issue #11628: cmp_to_key should use__slots__.
http://hg.python.org/cpython/rev/136298326897
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Another bug: the extracted author_email value is wrong.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11595
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
PyObject *
PyBytes_FromString(const char *str)
{
register size_t size;
...
size = strlen(str);
...
}
PyBytes_FromString() does compute the input string size using strlen().
--
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: rhettinger -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11260
___
___
Changes by Daniel Stutzbach stutzb...@google.com:
--
nosy: +stutzbach
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11635
___
___
Python-bugs-list
New submission from Éric Araujo mer...@netwok.org:
When pysetup is run in a project directory, this dir is not on sys.path, so
hooks modules in the dir can’t be found.
--
assignee: tarek
components: Distutils2
keywords: easy
messages: 131778
nosy: alexis, eric.araujo, tarek
priority:
Éric Araujo mer...@netwok.org added the comment:
It’s strange because we do have tests for the function. Can you look at them
and find any error?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11552
Éric Araujo mer...@netwok.org added the comment:
The patch contains one unrelated code change.
I think the docstrings should not go as is but be cleaned up to match
docstrings conventions. I’ve also spotted some phrasing issues.
--
___
Python
Changes by Éric Araujo mer...@netwok.org:
Removed file: http://bugs.python.org/file21317/fix-set-crashers-2.7.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8420
___
New submission from RonnyPfannschmidt ronny.pfannschm...@gmx.de:
i passed in a unicode value as version by accident,
resulted in:
Traceback (most recent call last):
File /home/ronny/.local/venvs/clean/bin/pysetup, line 7, in module
execfile(__file__)
File
Éric Araujo mer...@netwok.org added the comment:
What is the version? Can you also include the setup.cfg file?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11638
___
Éric Araujo mer...@netwok.org added the comment:
I assume you meant “hash = entry-hash”, not “entry-key”. Updated patch
attached.
--
Added file: http://bugs.python.org/file21341/fix-set-crashers-2.7.diff
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
BTW, set_add_entry still uses entry-hash.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8420
___
RonnyPfannschmidt ronny.pfannschm...@gmx.de added the comment:
here the file that passed in the unicode string via hook
note that all of the passed characters are actually ascii
--
Added file: http://bugs.python.org/file21342/hgdistver.py
___
Python
Changes by RonnyPfannschmidt ronny.pfannschm...@gmx.de:
Added file: http://bugs.python.org/file21343/setup.cfg
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11638
___
RonnyPfannschmidt ronny.pfannschm...@gmx.de added the comment:
actually its enough to have the version_hook set the version to u'0.0'
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11638
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Mar 22, 2011 at 5:15 PM, Éric Araujo rep...@bugs.python.org wrote:
..
The patch contains one unrelated code change.
Yes, I noticed that, but it may not be that unrelated. Of course the
two changes need to be
Changes by RonnyPfannschmidt ronny.pfannschm...@gmx.de:
Added file: http://bugs.python.org/file21344/hgdistver.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11638
___
Éric Araujo mer...@netwok.org added the comment:
I would rather keep code and documentation changes separate.
I don’t follow; my comment about bad phrasing was about the text added to the
docstrings.
Not that we have any strict docstrings conventions. :-)
Not enforced, but still useful to
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
The revised patch looks good.
Please make the same change for set_add_entry.
If the tests run, go ahead and apply.
--
___
Python tracker rep...@bugs.python.org
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Tue, Mar 22, 2011 at 5:29 PM, Éric Araujo rep...@bugs.python.org wrote:
..
I would rather keep code and documentation changes separate.
I don’t follow; my comment about bad phrasing was about the text added to the
New submission from Santoso Wijaya santoso.wij...@gmail.com:
For example, the function `fileConfig` is listed in the documentation [1] as
`logging.fileConfig`. This was a surprise for me when trying it gave me an
AttributeError. Only after reading the source code that I found out this
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: +Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11639
___
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
versions: -Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11639
___
Rainer Schaaf r...@pdflib.com added the comment:
OK now I got it.
Yes for others this would be very helpful. Specially as the Py_LIMITED_API
promises to solve the changing API issue on windows and Parse_Tuple is one of
the main API's used in extensions this would be helpful I guess.
I
New submission from Peter Davies ultra...@gmail.com:
Shelf.__setitem__ (which is called from __del__ when writeback is enabled)
references globals. This was causing exceptions on interpreter shutdown (due
to another exception) for me.
I have attached a patch which stores the relevant globals
Raymond Hettinger raymond.hettin...@gmail.com added the comment:
These are fine except for the changes to collections.py. Please leave the
deployed code for named tuple as-is. Doctest may have issues with trailing
whitespace, but that is doctest's problem, not named tuple's.
--
Changes by Raymond Hettinger raymond.hettin...@gmail.com:
--
assignee: rhettinger -
versions: +Python 3.3 -Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1479611
___
Roundup Robot devnull@devnull added the comment:
New changeset 50cc60852a76 by Raymond Hettinger in branch '2.7':
Issue 10988: fix description of super's descriptor call.
http://hg.python.org/cpython/rev/50cc60852a76
--
nosy: +python-dev
___
Python
Changes by Craig McQueen pyt...@craig.mcqueen.id.au:
--
nosy: +cmcqueen1975
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11629
___
___
Roundup Robot devnull@devnull added the comment:
New changeset 3e3c46a3dce8 by Raymond Hettinger in branch '3.1':
Issue 10988: fix description of super's descriptor call.
http://hg.python.org/cpython/rev/3e3c46a3dce8
New changeset 40698c68a32c by Raymond Hettinger in branch '3.2':
Issue 10988:
1 - 100 of 175 matches
Mail list logo