Daniel Tavares danielmtava...@gmail.com added the comment:
Replaced all entries of --- see COPYING.txt with the BSD license. See patch
attached.
--
keywords: +patch
Added file: http://bugs.python.org/file19866/issue9162.patch
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
Attached a new patch.
A few comments about it:
1) A new category for UnittestWarnings could still be added to make it easier
to filter warnings using the -W python flags and thus providing more control;
2) I didn't change the deprecation
Jakub Wilk jw...@jwilk.net added the comment:
Matthias: Nope, this one is OK.
--
assignee: - tarek
components: +Distutils -Library (Lib)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10571
Jakub Wilk jw...@jwilk.net added the comment:
Ugh. Please disregard the first message. What I wanted to write is:
In Python 3.1.3, curses.tigetstr() returns bytes (which makes sense), but
curses.tparm() expects a Unicode string as first argument. As a consequence
even the example given in the
Georg Brandl ge...@python.org added the comment:
ISTM that the new name is worse than the old name. I hadn't followed this
issue, heard assertCountEqual the first time today, and couldn't guess what it
does. I'd have assumed that it checks only for equality of the number of items
in a
Senthil Kumaran orsent...@gmail.com added the comment:
On Sun, Nov 28, 2010 at 05:48:20AM +, Éric Araujo wrote:
I’m not committing directly because I’d like feedback: Is the
wording okay for the beginning of the tutorial?
It seems fine and useful. Please go ahead.
--
nosy:
Senthil Kumaran orsent...@gmail.com added the comment:
xuanji, the issue you stumbled upon was just fixed by Raymond for the report
Issue10565.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3243
Changes by Ezio Melotti ezio.melo...@gmail.com:
Removed file: http://bugs.python.org/file19867/issue10535-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10535
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
Added file: http://bugs.python.org/file19868/issue10535-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10535
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Alexander Belopolsky wrote:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
After a bit of svn archeology, it does appear that Arabic-Indic digits'
support was deliberate at least in the sense that the feature
New submission from Marc-Andre Lemburg m...@egenix.com:
The script only patches numeric data into the table (field 8), but does not
update the digit field (field 7).
As a result, ideographs used for Chinese digits are not recognized as digits
and not evaluated by int(), long() and float():
Xuanji Li xua...@gmail.com added the comment:
What a timely coincidence. I'll try out the change soon.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3243
___
Michael Foord mich...@voidspace.org.uk added the comment:
Raymond - I created a new issue for moving the tests: issue 10572
However, it seems that you are incorrect in saying that Python practise is to
avoid putting tests inside standard library packages. In fact current Python
practise seems
Mark Florisson markflorisso...@gmail.com added the comment:
I forgot to mention, this patch works with gdb 7.2 or higher, but it does not
prevent using other libpython functionality with gdb 7.1 or running the tests
with gdb 7.1.
--
___
Python
MizardX miza...@gmail.com added the comment:
Would if I could. But, No.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5863
___
___
Senthil Kumaran orsent...@gmail.com added the comment:
Fixed in r86861. Xavier, I noticed that pdb.py itself was not calling the
proper method. Added the tests to the patch. Thanks.
BTW, please provide patches against py3k as that is development version.
--
assignee: - orsenthil
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I agree with the intent: package maintainers, or people compiling python for
their own need, should have the right to choose the suffix used by extension
modules.
I suggest another option though, one that directly sets the SOABI used
Matthias Klose d...@debian.org added the comment:
I still fail to see the rationale for being able to build with a different
soabi name. But anyway, as long as the default is to build with the soabi
name, I'm +/-0 on this option.
Note that the soabi name isn't fixed but changes with other
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Note that the soabi name isn't fixed but changes with other configure options.
The default value, yes.
But my proposal of a --soabi option would not respect this. The caller is
responsible for changing the --soabi value when he adds
New submission from Kristján Valur Jónsson krist...@ccpgames.com:
As discussed here:
http://mail.python.org/pipermail/python-ideas/2010-November/008813.html:
Adding the ability to register callbacks to be invoked before and after garbage
collection runs. This can be used to gather run-time
Senthil Kumaran orsent...@gmail.com added the comment:
r86862 - release31-maint and r86863 - release27-maint.
--
status: open - closed
versions: +Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10561
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10572
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
assignee: - dmalcolm
nosy: +dmalcolm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10566
___
___
Éric Araujo mer...@netwok.org added the comment:
That’s a perfectly fine reply. Someone will see this feature request and
propose a patch eventually. Another way to help is to write tests, since those
are in Python.
--
___
Python tracker
Changes by Éric Araujo mer...@netwok.org:
--
Removed message: http://bugs.python.org/msg122777
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10571
___
Changes by Éric Araujo mer...@netwok.org:
--
Removed message: http://bugs.python.org/msg122780
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10571
___
Barry A. Warsaw ba...@python.org added the comment:
+0 for Amaury's suggestion in msg122792. Who wants to write that patch? I'd
happily review it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10262
Changes by Barry A. Warsaw ba...@python.org:
--
title: Add --disable-abi-flags option to `configure` - Add --soabi option to
`configure`
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10262
New submission from xhresko juraj.hre...@gmail.com:
(Fancy) URL opener stucks whet try to open page, which is automaticaly
forwarded. I tried url http://www.ihned.cz;, which stuck while
http://ihned.cz; is ok. This type of behavior is different from one in the
Python 2.7, which works ok.
Éric Araujo mer...@netwok.org added the comment:
Gajim lists processes thanks to /proc, which is platform-specific; a Web search
shows the use of pidof, to the same effect; I looked for an envvar (I use Xfce)
and found nothing.
--
nosy: +eric.araujo
title: webbrowser.py doesn't
Changes by Andrew Svetlov andrew.svet...@gmail.com:
--
nosy: +asvetlov
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10576
___
___
Changes by SilentGhost michael.mischurow+...@gmail.com:
--
title: (Fancy) URL opener stucks whet try to open page - (Fancy) URL opener
stuck when trying to open redirected url
___
Python tracker rep...@bugs.python.org
New submission from Éric Araujo mer...@netwok.org:
In distutils2, we have a mock PyPI server to test index-related behavior, but
in distutils we fix such things without automated tests. I would like to add
the mock server to distutils.
--
assignee: tarek
components: Distutils, Tests
Éric Araujo mer...@netwok.org added the comment:
Thank you for the report. Do you want to propose a patch?
--
assignee: tarek - eric.araujo
stage: - needs patch
type: - behavior
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
What about:
“You need to execute ``import sys`` before you can use ``sys.argv``.”
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10559
___
SilentGhost michael.mischurow+...@gmail.com added the comment:
@xhresko: This is not valid py3k code.
It is 302 redirect. I get the following error:
IOError: [Errno socket error] [Errno 10060] A connection attempt failed because
the connected party did not properly respond after a period of
SilentGhost michael.mischurow+...@gmail.com added the comment:
@xhresko: why are you passing empty dict to the constructor? it works just fine
with opener = urllib.request.FancyURLopener()
resolution: invalid ?
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
Thanks for explaining. Is someone willing to add a test in test_msvc9compiler?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4214
Jakub Wilk jw...@jwilk.net added the comment:
Patch attached.
--
keywords: +patch
Added file: http://bugs.python.org/file19870/issue10571.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10571
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Please no more enhancements in distutils ! even in the tests.
Distutils is on maintenance mode, and we need to do the bare minimum there. we
need to do the minimum changes.
If there's a bug in PyPI related code in distutils, you need to do
Marc-Andre Lemburg m...@egenix.com added the comment:
The code point is also not listed as decimal digit (relevant for the int()
decimal parsing):
unicodedata.decimal(unicode('三', 'utf-8'))
Traceback (most recent call last):
File stdin, line 1, in module
ValueError: not a decimal
This is
Walter Dörwald wal...@livinglogic.de added the comment:
OK, I reran the test with::
./python -mtest.regrtest -T -N test_urllib
and this does indeed produce coverage files (for _abcoll, _weakrefset, abc,
base64, codecs, collections, contextlib, functools, genericpath, hashlib,
locale,
Marc-Andre Lemburg m...@egenix.com added the comment:
Here's a quick overview of the fields that are set for U+4E09:
http://www.fileformat.info/info/unicode/char/4e09/index.htm
--
___
Python tracker rep...@bugs.python.org
Marc-Andre Lemburg m...@egenix.com added the comment:
This is the definition of kPrimaryNumeric
http://ftp.lanet.lv/ftp/mirror/unicode/5.0.0/ucd/Unihan.html#kPrimaryNumeric
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
Thank you. I’ll apply after #10578 is solved.
--
dependencies: +Add mock PyPI server to test distutils
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10571
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Eric: #10578 will not happen in Distutils1.
You need to add a test in distutils2, apply the bugfix there, then apply
Jakub's patch in distutils1
--
components: +Distutils2
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
3.1 should also be considered if the tests are moved. In theory this is not a
bug fix so it shouldn't go in 3.1, but in practice it will make merging more
difficult. This might not be a strong argument though, considering that 3.1
will
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Mon, Nov 29, 2010 at 4:41 AM, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
..
It would be better to copy and iterate over the Unicode string first,
replacing any decimal code points with ASCII ones and then call
Michael Foord mich...@voidspace.org.uk added the comment:
The same is true for 2.7 though, and that is getting bug fixes. svnmerge would
no longer work (and to making the change would mean moving the tests in a point
release).
--
___
Python tracker
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
+0, and I think we should hear from the maintainers of the affected packages
first. For packages that are also externally maintained moving tests out may
cause inconvenience to the maintainer.
--
nosy: +barry,
Xuanji Li xua...@gmail.com added the comment:
Changed according to Raymond's suggestion. I realized that there are some
classes (str, bytes, array.array) that are iterable but should not be handled
by the iteration logic provided by catlee. eg: if we iterate through b'a
message' we'd get a
Michael Foord mich...@voidspace.org.uk added the comment:
That list of examples was non-exhaustive, there is also tkinter.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10572
___
Éric Araujo mer...@netwok.org added the comment:
The more the codebases become different, the more difficult it will be to be
sure some fix in d2 also fixes d1. I’ll live with it or use pypi_server on my
own machine :)
Thanks for the pronouncement.
--
stage: - committed/rejected
Antoine Pitrou pit...@free.fr added the comment:
Thanks for the patch.
First, you don't need to support str, since sockets only accept binary strings
(not unicode).
Second, I think it's simpler and more generic to do something like:
try:
self.sock.sendall(data)
except TypeError:
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
--
nosy: +gpolo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10572
___
___
Éric Araujo mer...@netwok.org added the comment:
I applied the diff to test_codecs in py3k, removed the u prefixes and ran:
failure. I applied the fix and the test passed.
--
nosy: +eric.araujo
title: When I use codecs.open(...) and f.readline() follow up by
f.read() return
New submission from INADA Naoki songofaca...@gmail.com:
http://docs.python.org/c-api/mapping.html#PyMapping_HasKeyString
and
http://docs.python.org/c-api/mapping.html#PyMapping_HasKey
says:
This is equivalent to ``o[key]``
I think it should be ``key in o``.
--
assignee: d...@python
Changes by Éric Araujo mer...@netwok.org:
--
assignee: tarek - eric.araujo
nosy: +dmalcolm, eric.araujo
versions: +Python 3.1 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7885
INADA Naoki songofaca...@gmail.com added the comment:
I'm sorry, I've misreaded.
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10579
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2876
___
___
Python-bugs-list
Changes by Éric Araujo mer...@netwok.org:
--
superseder: - Write UserDict fixer for 2to3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2046
___
Changes by Éric Araujo mer...@netwok.org:
--
superseder: patch to fix_import: UserDict - collections -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2876
___
Changes by Éric Araujo mer...@netwok.org:
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - make altinstall installs many files with incorrect shebangs
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I don't think this will be a huge problem, given the low amount of bugs we have
for all code involving PyPI. Other bugfix can be backported w/ their tests most
of the time.
--
___
Python tracker
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I am adding #10552 as a dependency because I think we should fix unicode data
generation in 3.x before adding new features to the scripts.
I am also not sure whether this is a bug or a feature request. Martin?
--
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10575
___
___
R. David Murray rdmur...@bitdance.com added the comment:
For the email package I would be in favor of moving the tests to Lib/test.
I've always found it a bit inconvenient that they are in Lib/email. After
hearing of Michael's intent with unittest, and given the evolution of email5
into
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
Martin,
I believe you were the last to update the unicode database. (See r85371.) Did
you use python2.x to generate it or you have your own private copy of these
tools?
I noticed that genwincodecs.bat refers to
Barry A. Warsaw ba...@python.org added the comment:
grepping the code without the tests doesn't seem that compelling a use case to
me, given that grep and find both provide options to prune directories. I do
think that moving the tests out of the email package will make it harder to
maintain
Antoine Pitrou pit...@free.fr added the comment:
I can reproduce the issue with 3.2 here. Using Wireshark, I see that the
request to http://www.ihnez.cz is satisfied, but the second request (to
http://ihnez.cz) is never issued. Here is the Wireshark dump for the TCP
session (request, then
New submission from Boštjan Mejak bostjan.me...@gmail.com:
The installer of Python should have consistent sentences, the ones in bold.
There's one sentence that needs fixing. The sentence Completing the Python
x.x.x Installer should be Complete the Python x.x.x Installer, because other
Brian Curtin cur...@acm.org added the comment:
What installer?
Please provide a patch.
--
nosy: +brian.curtin
priority: normal - low
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10580
New submission from Alexander Belopolsky belopol...@users.sourceforge.net:
I am opening a new report to continue work on the issues raised in #10557 that
are either feature requests or documentation bugs.
The rest is my reply to the relevant portions of Marc's comment at msg122785.
On Mon,
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
See also issue 9574 for a somewhat related discussion.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10581
___
Changes by SilentGhost michael.mischurow+...@gmail.com:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10577
___
___
Changes by SilentGhost michael.mischurow+...@gmail.com:
--
versions: +Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10577
___
___
Antoine Pitrou pit...@free.fr added the comment:
That line of code (`void = fp.read()`) dates back to a commit by Guido in 1995,
and isn't motivated by any comment or message. HTTP servers probably have
evolved till then :)
--
___
Python tracker
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: haypo -
resolution: invalid -
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10541
___
___
Marc-Andre Lemburg m...@egenix.com added the comment:
gencodec.py is only rarely used, namely when adding new codecs based
on Unicode mapping files.
It is not run regularly on the files from ftp.unicode.org and only
updated on demand.
AFAIK, it was last used on Python2 and never on Python3,
R. David Murray rdmur...@bitdance.com added the comment:
Yes, a cheeseshop package is definitely part of the plan, I didn't mean to
imply otherwise. It won't be hard to automate the packaging, and indeed I'll
wind up doing that anyway even if the tests stay inside Lib/email.
I will say that
Marc-Andre Lemburg m...@egenix.com added the comment:
Alexander Belopolsky wrote:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
I am adding #10552 as a dependency because I think we should fix unicode data
generation in 3.x before adding new features to the
Daniel Stutzbach stutzb...@google.com added the comment:
These functions will be very useful for any long-running program. Thank you
for the patch.
Would you be willing to write tests and documentation?
Would it make more sense for the callback to take a boolean instead of an
integer as the
Éric Araujo mer...@netwok.org added the comment:
For distutils tests, I’m ±0. I don’t see any major drawback nor any major
benefit. Tarek will decide.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10572
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Mon, Nov 29, 2010 at 1:21 PM, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
..
BTW: You appear to have a comma appended to the constant, that doesn't
belong there:
+# Placeholder for a missing codepoint
Changes by Alexander Belopolsky belopol...@users.sourceforge.net:
Removed file: http://bugs.python.org/file19843/issue10552a.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10552
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Alexander Belopolsky wrote:
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Mon, Nov 29, 2010 at 1:21 PM, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
..
BTW: You appear to have a comma appended to the
Changes by Éric Araujo mer...@netwok.org:
--
components: +Windows
nosy: +eric.araujo
versions: -Python 3.3
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10580
___
Antoine Pitrou pit...@free.fr added the comment:
Well, as you point out, it would make more sense to have two separate
callbacks. Also, PyErr_WriteUnraisable() is better than PyErr_Clear().
Finally, you accidentally recoded the file; it should be kept utf-8, not
latin-whatever.
--
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10580
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
For the record, this will need a comprehensive rewrite of bz2module, since it
uses FILE pointers right now.
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5863
New submission from Marc Horowitz mhorow...@gmail.com:
I discovered this bug working with panda3d. I've attached a short
python script which demonstrates the problem. After installing
panda3d, run the script, and then hit q in the window which appears.
You'll see that none of the cleanup code
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Of those, it makes the most sense to move the json tests to Lib/tests. Bob is
not externally maintaining the 3.x version. It's all our now.
Also, it looks like importlib is in a maintenance mode now.
There is merit to
Antoine Pitrou pit...@free.fr added the comment:
Would avoiding PyErr_CheckSignals() while the file object is in
inconsistent state be a reasonable alternative?
No, because we'd like IO operations to be interruptible by the user
(e.g. pressing Ctrl-C) when they would otherwise block
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Without a patch and compelling use cases, this has no chance. Recommend
closing.
--
nosy: +rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5863
Changes by Nadeem Vawda nadeem.va...@gmail.com:
--
nosy: +nvawda
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5863
___
___
Python-bugs-list
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Mon, Nov 29, 2010 at 1:38 PM, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
..
Sure, we won't need that script anytime soon and if we do, we
can just as well use the Python2 version.
That may not be true. I
Alexander Belopolsky belopol...@users.sourceforge.net added the comment:
On Mon, Nov 29, 2010 at 1:29 PM, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
..
I consider this a bug (which is why I added Python 2.7 to the list
of versions), since those code points need to be mapped to decimal
Brett Cannon br...@python.org added the comment:
I have no issue with moving importlib into Lib/test as long as I can still run
the tests with ``python3 -m test.importlib``. I actually only put the tests in
importlib.tests because that was common practice amongst newer packages in the
stdlib.
Alex Rodriguez alej...@gmail.com added the comment:
I didn't see this issue resolved in the changelog for 2.7.1 release. Are we
going to wait until 2.7.2 now??
--
nosy: +Alex.Rodriguez
___
Python tracker rep...@bugs.python.org
Terry J. Reedy tjre...@udel.edu added the comment:
This issue was closed as a duplicate of #9227.
Please direct further comments there.
In any case, all issues wait until a person with the requisite knowledge
volunteers a fix and a core developer commits the fix.
--
1 - 100 of 147 matches
Mail list logo