Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4806
___
___
Python-bugs-list
Changes by Daniel Urban urban.dani...@gmail.com:
--
nosy: +durban
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7689
___
___
Python-bugs-list
Georg Brandl ge...@python.org added the comment:
Thanks, fixed in f7e04a9566c4.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11400
Georg Brandl ge...@python.org added the comment:
Fixed in 949a099a87ca. The detection of unused footnotes would be a docutils
thing, not a Sphinx thing.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Georg Brandl ge...@python.org added the comment:
Does this need any more action?
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11338
___
Georg Brandl ge...@python.org added the comment:
Applied in e6d9a8e38cc8.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11392
Georg Brandl ge...@python.org added the comment:
Fixed in 59e464a1bbf0.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11405
Georg Brandl ge...@python.org added the comment:
Fixed the built-in spelling in 13bc0511b3d3. I did not do the other change;
having two-level relative clauses is not really readable.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
Georg Brandl ge...@python.org added the comment:
This looks fine to me -- isn't it a mere stylistic issue?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11412
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +neologix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11223
___
___
Python-bugs-list mailing
Georg Brandl ge...@python.org added the comment:
Fixed in b630a135a86c.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11227
Georg Brandl ge...@python.org added the comment:
Fixed in 3ec0a764ab5c.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11239
STINNER Victor victor.stin...@haypocalc.com added the comment:
I did some tests: os.write(1, b'X'*length) does always fail with length =
63842. It does sometimes fail with length 35000. The maximum looks completly
random: as written in Microsoft documentation, The maximum size of the buffer
Georg Brandl ge...@python.org added the comment:
Fixed in d9292abe80da.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11292
Georg Brandl ge...@python.org added the comment:
Fixed in 6f861f98a3c5.
--
nosy: +georg.brandl
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11294
Ezio Melotti ezio.melo...@gmail.com added the comment:
Actually '}' is not a metachar, the metachars should be only |()[{.+*?^$\.
re.match('^a+(}+)b+$', '}bbb')
_sre.SRE_Match object at 0xb77aa860
re.match('^a+(}+)b+$', '}bbb').group(1)
'}'
--
nosy: +ezio.melotti
Georg Brandl ge...@python.org added the comment:
Since ] was in the list, I've added } as well. (It's never a bad idea to quote
] and } unconditionally.)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11239
Antoine Pitrou pit...@free.fr added the comment:
Why the cygwin changes? Are they related? Also, is the change in
Python/getargs.c necessary?
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11410
Changes by Antoine Pitrou pit...@free.fr:
--
stage: - patch review
type: - feature request
versions: +Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11410
___
Charles-Francois Natali neolo...@free.fr added the comment:
If test_wait3 and test_fork1 pass, then yes, it's probably an issue with AIX's
wait4.
See http://fixunix.com/aix/84872-sigchld-recursion.html:
Replace the wait4() call with a waitpid() call...
like this:
for(n=0;waitpid(-1,
New submission from Chris ceonnbo...@yahoo.com:
Hi, I just installed Python 3.1.1 via link in the book Python Programming for
the absolute beginner third edition. But Idle won't start. When I try to open
Idle the Windows hourglass just flash briefly but nothing happens after that.
No error
Antoine Pitrou pit...@free.fr added the comment:
Looks fine, please commit.
--
assignee: - twouters
nosy: +pitrou
stage: - commit review
versions: +Python 2.7, Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
Vetoshkin Nikita nikita.vetosh...@gmail.com added the comment:
Generator listdir() could be useful if I have a directory with several millions
of files and I what to process just a hundred.
--
nosy: +nvetoshkin
___
Python tracker
Daniel Urban urban.dani...@gmail.com added the comment:
I think the patch isn't entirely correct. It uses PyIter_Check for detecting
the case when an *iterable* raises TypeError, but that function actually checks
for an *iterator*. The check on the tp_iter member mentioned by Amaury Forgeot
SilentGhost ghost@gmail.com added the comment:
Here's the single-file patch against the revision.
--
Added file: http://bugs.python.org/file21016/issue5800.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5800
Changes by SilentGhost ghost@gmail.com:
Removed file: http://bugs.python.org/file19681/test_wsgiref.py.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5800
___
Changes by SilentGhost ghost@gmail.com:
Removed file: http://bugs.python.org/file19797/headers.py.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5800
___
Changes by SilentGhost ghost@gmail.com:
Removed file: http://bugs.python.org/file19804/wsgiref.rst.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5800
___
Nikolay Fomichev morphsa...@gmail.com added the comment:
Here it is...
import sys
if sys.version_info[0] == 3:
import tkinter as tk
from tkinter import messagebox
from tkinter import filedialog
else:
import Tkinter as tk
import tkMessageBox as messagebox
import
SilentGhost ghost@gmail.com added the comment:
Above-mentioned fix was commited in rev 62994662676a
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10924
___
SilentGhost ghost@gmail.com added the comment:
Above-mentioned fix was committed in 0586c699d467 and 62994662676a
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10924
___
Changes by SilentGhost ghost@gmail.com:
--
Removed message: http://bugs.python.org/msg130171
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10924
___
Guilherme Polo ggp...@gmail.com added the comment:
I have a different problem here on Mac, but I can manage to reproduce
your issue if I apply the following patch:
Index: Lib/tkinter/__init__.py
===
--- Lib/tkinter/__init__.py
Guilherme Polo ggp...@gmail.com added the comment:
Does the attached patch work for you ?
--
keywords: +patch
Added file: http://bugs.python.org/file21017/patch11290.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11290
Guilherme Polo ggp...@gmail.com added the comment:
If we consider the meaning of dead code as that used in compilers, then I
meant out of date code.
If you want to add support for tk::ButtonEnter then I believe you should open a
new issue and raise your points there. Anyway, have you read
anatoly techtonik techto...@gmail.com added the comment:
Explicit request for inclusion? What kind of bureaucracy are you up to?
Do you have a full list of missing or not included directories for various
distributions? I'm sure many are curious to review them.
--
anatoly techtonik techto...@gmail.com added the comment:
Something to think about for future examples.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11385
___
anatoly techtonik techto...@gmail.com added the comment:
I need to execute doctests along with unit tests from test suite contained in
tests.py file and control verbosity parameter in case something goes wrong.
--
___
Python tracker
New submission from Scott Kitterman skl...@kitterman.com:
email.Message was dropped in python3.
from email.Message import Message
now fails. Changing email.Message to email.message seems to be all that's
needed.
--
components: 2to3 (2.x to 3.0 conversion tool)
messages: 130179
nosy:
Michael Foord mich...@voidspace.org.uk added the comment:
Anatoly, does the verbosity parameter work for you? If not then any feature
request / change needs to be for the DocFileSuite as the information is coming
from there rather than unittest itself.
--
assignee: docs@python -
Changes by Martin v. Löwis mar...@v.loewis.de:
Added file: http://bugs.python.org/file21018/a.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
Changes by Martin v. Löwis mar...@v.loewis.de:
--
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
Phillip J. Eby p...@telecommunity.com added the comment:
Looks good to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5800
___
___
Changes by Martin v. Löwis mar...@v.loewis.de:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2771
___
___
New submission from Jesús Leganés Combarro pira...@gmail.com:
I've created a new, compresed ZipFile in memory (using StringIO) and added
several files to it with ZipFile.write(), later i've added a new file with the
same name of one of the previous ones just to overwrite it with some dinamic
blokeley bloke...@gmail.com added the comment:
Closed because the issue is solved by:
1. The devguide http://docs.python.org/devguide/ has a Browse online link
that points to the correct repositories at http://hg.python.org/
2. Any attempt to access http://code.python.org/ redirects the user
blokeley bloke...@gmail.com added the comment:
Is this wording correct?
In order to be compatible with test discovery, all of the test modules must be
importable from the top level directory of the project (in other words, they
must be part of the project :ref:`package tut-packages` or
Thomas Wouters tho...@python.org added the comment:
Checked into 2.7, 3.1, 3.2 and default (d121681ed1cc, 12f0da000dc4,
686df11f0a14, bb2a9ea5c7d0.)
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
Remarks about test_wconsole_binlarge.patch:
- I don't know if isatty() is cheap or not. Is it a system call? If it might
be slow, it should be only be called once in the constructor. On Windows, I
don't think that isatty(fd)
STINNER Victor victor.stin...@haypocalc.com added the comment:
Other remarks about test_wconsole_binlarge.patch:
- the patch doesn't apply on Python 3.3
- I would prefer 32767 instead of 32000 for the maximum length
Suggestion for the comment in fileio.c:
* Issue #11395: not enough space
Nadeem Vawda nadeem.va...@gmail.com added the comment:
test_source_address_passive_connection() raises a ResourceWarning. Fix attached.
--
nosy: +nvawda
Added file: http://bugs.python.org/file21019/test_ftplib-leak.diff
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
--
status: closed - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8594
___
___
Python-bugs-list
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Thanks for the comment. It's my first patch. :-)
- the patch doesn't apply on Python 3.3
That latest patch file I generated against the tip of 3.1 branch. Should I
create two separate patches for 3.1 and 3.2+ (which will apply on
Filip Gruszczyński grusz...@gmail.com added the comment:
This is a draft of a patch. I have only used this new ImportError api in once
place, so it would work with following code:
try:
... import nosuchmodule
... except ImportError as e:
... print(e.module)
...
nosuchmodule
I have
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Thanks. Committed in r88761.
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8594
___
Antoine Pitrou pit...@free.fr added the comment:
Giampaolo, can you make your commit on the Mercurial repo instead?
See http://mail.python.org/pipermail/python-dev/2011-March/108738.html
--
status: closed - pending
___
Python tracker
New submission from saffroy saff...@gmail.com:
I have a netrc file with two entries for the same host. The netrc module only
returns the last entry.
$ cat .netrc
machine host.com
login foo
password foo
machine host.com
login bar
password bar
$ python -c
Thomas Wouters tho...@python.org added the comment:
The cygwin changes are no-ops, just refactoring the needlessly nested if
statement for clarity. I can revert them.
The getargs.c change *is* necessary, although it doesn't have to be that exact
change. The problem is that the functions in
Ryan Kelly r...@rfk.id.au added the comment:
Thanks for the help, I have tracked this down to a bug in PyCrypto. It was
increfing an object once but decrefing it twice.
Sorry for the noise.
--
___
Python tracker rep...@bugs.python.org
Antoine Pitrou pit...@free.fr added the comment:
The cygwin changes are no-ops, just refactoring the needlessly nested
if statement for clarity. I can revert them.
Perhaps you can commit them separately? I don't think they need review.
As for the getargs.c change, perhaps Martin has an
Changes by SilentGhost ghost@gmail.com:
--
resolution: - invalid
stage: test needed - committed/rejected
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5091
___
Changes by Terry J. Reedy tjre...@udel.edu:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5091
___
___
Python-bugs-list
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Attached a modified patch that should work against 3.2+ heads:
- Added `isatty` bit field in isatty that's evaluated during its
construction. This should eliminate the need to call `isatty()` on
every write.
- Cap buffer length to
New submission from Thomas Wouters tho...@python.org:
According to distutils' test_bdist_rpm, bdist_rpm fails when running Python
with -B/PYTHONDONTWRITEBYTECODE. (bdist_rpm or its test doesn't pass -B along
but also doesn't use -E, so the test-failure shows up when setting the
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
This looks fine to me -- isn't it a mere stylistic issue?
It must be. I just checked several of the books on my shelf. Most don't have
the trailing period, but Knuth does. I raised the issue because I thought it
was an
R. David Murray rdmur...@bitdance.com added the comment:
Note that email.message works (and is the preferred spelling) since Python2.5.
--
nosy: +benjamin.peterson, r.david.murray
___
Python tracker rep...@bugs.python.org
New submission from INADA Naoki songofaca...@gmail.com:
http://docs.python.org/py3k/tutorial/classes.html#random-remarks
Methods may reference global names in the same way as ordinary
functions. The global scope associated with a method is the module
containing the class definition. (The
Changes by INADA Naoki songofaca...@gmail.com:
--
assignee: - docs@python
components: +Documentation
nosy: +docs@python
versions: +Python 2.6, Python 2.7, Python 3.1, Python 3.2, Python 3.3
___
Python tracker rep...@bugs.python.org
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +r.david.murray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11416
___
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
On Windows, isatty() is a cheap call: a simple lookup in the _ioinfo structure.
And dup2() can still change the destination of a file descriptor, so the new
attribute can be out of sync...
I suggest to call isatty() on every write.
New submission from Skip Montanaro s...@pobox.com:
I'm working my way through the steps necessary to check out and build
all versions of Python since 2.4 using Mercurial checkouts. I encountered
my first problem with 2.5. It seems the Mercurial checkout creates the
Python-ast.[ch] files before
New submission from Thomas Wouters tho...@python.org:
This patch tweaks a few tests that currently rely on .pyc files being written,
causing them to fail (or crash) when running 'make test TESTPYTHONOPTS=-B'. All
these are purely test failures, not failures in the tested code (unlike issue
Changes by Skip Montanaro s...@pobox.com:
--
versions: +Python 2.5
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11419
___
___
Python-bugs-list
Changes by Santoso Wijaya santoso.wij...@gmail.com:
--
nosy: +santa4nt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11418
___
___
Changes by Thomas Wouters tho...@python.org:
Added file: http://bugs.python.org/file21023/py32-dontwritebytecode.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11420
___
Antoine Pitrou pit...@free.fr added the comment:
I think SVN had the same issue. You just have to be lucky, or touch the files
yourself.
--
nosy: +pitrou
resolution: - wont fix
___
Python tracker rep...@bugs.python.org
John Cary jrobc...@gmail.com added the comment:
Just to follow up. My case is an application that is almost
all statically linked, but it loads in the python library, and
at runtime it needs to load the tables module, and as distributed
by Python, I get the load-time error on Windows.
Using
Changes by Antoine Pitrou pit...@free.fr:
--
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11419
___
___
Python-bugs-list
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +barry, ncoghlan
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11420
___
New submission from Skip Montanaro s...@pobox.com:
Trying to build Python 2.5 from a fresh Mercurial checkout I get the
following error trying to build modules using setup.py build:
% nice make
case $MAKEFLAGS in \
*-s*) CC='gcc' LDSHARED='gcc -L/opt/local/lib -bundle -undefined
Martin v. Löwis mar...@v.loewis.de added the comment:
Exporting the SizeT functions on all systems is fine. It's not true that they
aren't declared: they are declared in modsupport.h if PY_SSIZE_T_CLEAN is
defined. Else they are not declared.
The patch looks fine to. I agree that mere cleanup
Martin v. Löwis mar...@v.loewis.de added the comment:
-1. Changing the Mercurial tree will make it more difficult to maintain the
subversion tree, which will be the tree from which future 2.5 releases will be
made.
So if anything is done with this issue, please defer that after September
Skip Montanaro s...@pobox.com added the comment:
Can you explain how I'm supposed to build Python 2.5 from a Mercurial
checkout? What is magic about Sept 2011?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11421
Thomas Wouters tho...@python.org added the comment:
Windows/Cygwin parts of the patch reverted and new patch uploaded. My point
about the _Py*_SizeT functions is that they're only declared when you define
PY_SSIZE_T_CLEAN, and I don't know if we want to change that (I don't think it
makes
Changes by Thomas Wouters tho...@python.org:
Removed file: http://bugs.python.org/file21014/gcc-visibility.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11410
___
Santoso Wijaya santoso.wij...@gmail.com added the comment:
FWIW, here's the Microsoft's source for isatty (in VC\crt\src\isatty.c):
/***
*int _isatty(handle) - check if handle is a device
*
*Purpose:
* Checks if the given handle is associated with a character device
* (terminal,
Martin v. Löwis mar...@v.loewis.de added the comment:
Can you explain how I'm supposed to build Python 2.5 from a Mercurial
checkout?
No, I can't. Just don't. Use subversion instead if you want to build
Python 2.5 (or use one of the released versions).
What is magic about Sept 2011?
Santoso Wijaya santoso.wij...@gmail.com added the comment:
Attached a version of the last patch without `.isatty` caching.
--
Added file: http://bugs.python.org/file21025/winconsole_large_py33_direct.patch
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
For future reference, struct.pack, not mentioned here, is a binary bytes
formatting function. It can mix ascii bytes with binary octets. It works the
same in Python 2 and 3.
Str.bytes does two things: convert objects to strings according to
Scott Kitterman skl...@kitterman.com added the comment:
Agreed, but email.Message was never marked deprecated so there's likely old
code out there that's never been updated (which is how I ran into this). This
would be, I think, a very low risk transformation to apply.
--
Skip Montanaro s...@pobox.com added the comment:
The workaround turned out to be simple. I just expanded the $HeadURL$
subversion keyword as svn would have done it and committed the change
locally.
--
___
Python tracker rep...@bugs.python.org
Andreas Stührk andy-pyt...@hammerhartes.de added the comment:
There are some issues with the patch:
- The check for size of `args` in `ImportError_init()` is wrong: You can't
create an `ImportError` with 3 arguments now (TypeError: ImportError expected
2 arguments, got 3)
-
New submission from Victor victoryw...@yahoo.com:
Hi dear developers,
Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on
win32
Hello,
Several days ago I downloaded Python 3.2, the standard windows installer, for
windows vista. Here's the bug:
in the Python-command
New submission from Victor victoryw...@yahoo.com:
Hi dear developers,
**Python 3.2 (r32:88445, Feb 20 2011, 21:29:02) [MSC v.1500 32 bit (Intel)] on
win32** (windows vista; standard python installer for windows)
I am new to python. In the documentation I read that a .py file should run just
on
Martin v. Löwis mar...@v.loewis.de added the comment:
It is consistent: the else goes *always* under the if. If the if is unindented,
so must be the else.
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11422
Changes by Martin v. Löwis mar...@v.loewis.de:
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11422
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Yes, the behaviour you observe is perfectly normal. When you double-click a
Python file, it is executed right away. If execution completes quickly, the
window it opens is closed before you can even notice it.
--
nosy: +loewis
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
In both cases, if-clause and the else-clause are at the beginning of the line
(from Python's point of view).
The difference is that the Python command line interpreter adds a ... to the
beginning of secondary lines. That
New submission from Mark Hammond mhamm...@users.sourceforge.net:
fileConfig has code to detect existing child loggers and ensure they are
enabled if the parent is configured. However, the approach it takes of sorting
the log names can fail in some cases. eg, if 3 loggers exist with names
New submission from INADA Naoki songofaca...@gmail.com:
* Insert spaces around operators and after commas.
* Split one liner blocks (ex. def foo(x, y): return x + y) to
multi-line blocks.
* Insert empty line after def block for scripts (not interactive mode).
* Use new-style raise (s/ralse
1 - 100 of 112 matches
Mail list logo