Martin v. Löwis mar...@v.loewis.de added the comment:
I think it's fairly clear what should be considered executable in this context:
anything that subprocess.Popen is able to launch (because if is_executable
succeeds, this is what will happen to the file). This excludes word files, and
also
Changes by Ned Deily n...@acm.org:
--
keywords: +easy
stage: - needs patch
versions: -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7367
___
Senthil Kumaran orsent...@gmail.com added the comment:
On Sat, Nov 20, 2010 at 07:09:58PM +, Jeremy Thurgood wrote:
There are two separate things here: the URL and the filesystem path.
The bug is that the fragment and query parameters are stripped in
translate_path(), but are *not*
Ned Deily n...@acm.org added the comment:
I see Issue7995 also addresses the issue of accept sockets inheriting
nonblocking status and provides a suggested patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7322
Ned Deily n...@acm.org added the comment:
(See also Issue7322)
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7995
___
___
Michele Orrù maker...@gmail.com added the comment:
Unittest added.
--
Added file: http://bugs.python.org/file19729/issue10424.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10424
___
Changes by Michele Orrù maker...@gmail.com:
Removed file: http://bugs.python.org/file19646/issue10424.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10424
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
I reproduce the problem, see the call stack below.
The issue is in the io module: the function _bufferedwriter_flush_unlocked()
runs with the file mutex already acquired, but it calls PyErr_CheckSignals()
which may run any code,
david db.pub.m...@gmail.com added the comment:
Back to the main issue here :
So for python3 is it possible to make attempting to use capath(some
common ones OR the openssl location capath if this is ok for use) the
default(with failure to find a valid capath result in an exception
being raised)
Ned Deily n...@acm.org added the comment:
Consolidating with Issue6864
--
resolution: - duplicate
status: open - closed
superseder: - IDLE 2.6.1 locks up on Mac OS 10.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8381
Daniel Albeseder ko...@gmx.at added the comment:
Steven: From msg121850 I think the last two examples do not need the --.
Since there are no positional arguments, the -- is not needed. However the
following additional cases exist:
-x X [X ...] -y Y -- A B # since optionals might come in other
John Keyes johnke...@gmail.com added the comment:
Gah! Silly mistake with the assert.
What filelist.py patch are you referring to? I've tested this on py3k with no
changes to filelist.py.
Thanks for your patience.
--
Added file: http://bugs.python.org/file19730/issue809163v3.diff
Daniel Albeseder ko...@gmx.at added the comment:
Added more unit tests for testing the help text as well as the functionality of
the -- separator.
--
keywords: +patch
Added file: http://bugs.python.org/file19731/issue9182.patch
___
Python tracker
Changes by Daniel Albeseder ko...@gmx.at:
Removed file: http://bugs.python.org/file19731/issue9182.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9182
___
Changes by Daniel Albeseder ko...@gmx.at:
Added file: http://bugs.python.org/file19732/issue9182.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9182
___
Martin v. Löwis mar...@v.loewis.de added the comment:
So for python3 is it possible to make attempting to use capath(some
common ones OR the openssl location capath if this is ok for use) the
default(with failure to find a valid capath result in an exception
being raised) ?
The default?
david db.pub.m...@gmail.com added the comment:
On 21 November 2010 20:50, Martin v. Löwis rep...@bugs.python.org wrote:
Martin v. Löwis mar...@v.loewis.de added the comment:
So for python3 is it possible to make attempting to use capath(some
common ones OR the openssl location capath if
Mark Dickinson dicki...@gmail.com added the comment:
Here's a patch (targeting 3.3) for allowing whitespace around the central
binary operator; it implements the grammar suggested in msg115163.
--
assignee: - mark.dickinson
Added file: http://bugs.python.org/file19733/issue9574.patch
Michael Foord mich...@voidspace.org.uk added the comment:
@Eric
No. python -m unittest discover ... will still be needed where you want to
pass arguments to discovery (python -m unittest ... still has a different
meaning where you pass arguments). All this will do is give the previously
Iuri Diniz iuridi...@gmail.com added the comment:
Bug stills on branch
http://svn.python.org/projects/python/branches/py3k
branch http://svn.python.org/projects/python/branches/release27-maint is OK
doing some gdb on 3.2, I have discovered that the problem occurs when trying to
dump global
Iuri Diniz iuridi...@gmail.com added the comment:
preliminary gdb backtrace
--
Added file: http://bugs.python.org/file19735/backtrace-py3k-8943.txt
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8943
Ned Deily n...@acm.org added the comment:
Duplicate of Issue8447 ?
--
nosy: +ned.deily
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8590
___
___
Michael Foord mich...@voidspace.org.uk added the comment:
The test now passes for me on Mac OS X and yes - looks like the same issue as
issue 8447.
--
resolution: - invalid
stage: needs patch - committed/rejected
status: open - closed
___
Python
Eli Bendersky eli...@gmail.com added the comment:
Simon's patch fix for 3.2 looks good to me - applies cleanly to py3k and tests
pass.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2986
Eli Bendersky eli...@gmail.com added the comment:
I will take a shot at this now. If there's anything special I should look out
for, let me know :)
--
nosy: +eli.bendersky
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10470
Michele Orrù maker...@gmail.com added the comment:
Ezio reviewed my patch; here there's the new version with some improvements.
--
Added file: http://bugs.python.org/file19736/issue10424.patch
___
Python tracker rep...@bugs.python.org
Changes by Michele Orrù maker...@gmail.com:
Removed file: http://bugs.python.org/file19729/issue10424.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10424
___
Iuri Diniz iuridi...@gmail.com added the comment:
Well, this is a pickle problem or a Interactive console problem?
on python 2.7 does not save a type type (like Example class is)
2: type-tp_name = 0x58a87c instance
2: type-tp_name = 0x590391 dict
2: type-tp_name = 0x5943b6 str
2: type-tp_name =
Changes by Rafael dos Santos Gonçalves rafaelsant...@gmail.com:
Removed file: http://bugs.python.org/file19699/issue7325.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7325
___
Rafael dos Santos Gonçalves rafaelsant...@gmail.com added the comment:
You is right, i put this command on test and not the test.
thankss
--
Added file: http://bugs.python.org/file19737/issue7325.diff
___
Python tracker rep...@bugs.python.org
Sibylle Koczian nulla.epist...@web.de added the comment:
-Ursprüngliche Nachricht-
Von: R. David Murray rep...@bugs.python.org
Gesendet: 20.11.2010 15:37:28
An: nulla.epist...@web.de
Betreff: [issue10466] locale.py throws exception on Windows / Non-UTF8 system
R. David Murray
Jeremy Thurgood fir...@gmail.com added the comment:
On Sun, Nov 21, 2010 at 10:37, Senthil Kumaran rep...@bugs.python.org wrote:
Now, what happens when you type http://bugs.python.org?10231; [1] in
your browser? According to this bug report, the server should 301
redirect it to
Eli Bendersky eli...@gmail.com added the comment:
I'm attaching a patch for unittest/main.py that implements this.
However, something is funny with the tests of the unittest module. When the
patch is applied and the tests are run through regrtest.py, it complains that
sys.path is modified.
Mark Dickinson dicki...@gmail.com added the comment:
Grr. Some unintended cut-and-paste duplication there.
--
Added file: http://bugs.python.org/file19740/float_builtin_doc.patch
___
Python tracker rep...@bugs.python.org
Changes by Mark Dickinson dicki...@gmail.com:
Removed file: http://bugs.python.org/file19739/float_builtin_doc.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10488
___
New submission from Łukasz Langa luk...@langa.pl:
I want to sum up all strange things about the behaviour of `__name__`, a
special key present in every section of a parser instance.
1. There is a special `__name__` key in every section.
2. Except for the DEFAULTSECT.
3. `__name__` key is set
Changes by Łukasz Langa luk...@langa.pl:
--
nosy: +eric.araujo, fdrake, georg.brandl, michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10489
___
Łukasz Langa luk...@langa.pl added the comment:
For the record, I wrote about this problem in July on the mailing list [1],
there were no replies.
[1] http://mail.python.org/pipermail/python-dev/2010-July/102556.html
--
___
Python tracker
New submission from Mark Dickinson dicki...@gmail.com:
The docs for 'float' are outdated, and also not entirely written in English. :-)
Here's a patch.
--
assignee: d...@python
components: Documentation
files: float_builtin_doc.patch
keywords: patch
messages: 121910
nosy: d...@python,
Georg Brandl ge...@python.org added the comment:
+1 for applying the doc patch.
--
nosy: +georg.brandl
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1859
___
Mark Dickinson dicki...@gmail.com added the comment:
Ah yes; good point about __float__. I'll revise.
Ezio Melotti also suggested (on #python-dev) that it would be useful to have
some examples here.
--
nosy: +ezio.melotti
___
Python tracker
Ezio Melotti ezio.melo...@gmail.com added the comment:
I would prefer to keep the doc for float() simple, including what it accepts
(numbers and strings) and a few examples like ``'1.2'``, ``'.5'``, ``' +3 '``,
``'inf'``, ``'NaN'``.
Even if the other information is still valuable, I'm not sure
Eli Bendersky eli...@gmail.com added the comment:
Attaching a patch to unittest/test/test_program.py that fixes the sys.path
warning in regrtest
What happens is that with the new capability added to unittest (running
discovery when called as -m without args), a few tests in test_program now
Mark Dickinson dicki...@gmail.com added the comment:
Ezio: can you suggest a better place for a specification of what float
accepts? I think it's necessary (especially for people working on alternative
implementations) to have the information *somewhere*.
--
Eric Smith e...@trueblade.com added the comment:
This is clearly an improvement. Do we want mention __float__?
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10488
___
Łukasz Langa luk...@langa.pl added the comment:
Patch for the cleanup attached. 47 lines removed, about a half of these were in
tests explicitly made to check for these inconsistencies. 4 lines added, all of
them are reformattings due to removal of the other lines.
Syntax highlighted view of
Antoine Pitrou pit...@free.fr added the comment:
Having applications/scripts explicitly opt-in to a default CA
certificate list would be an option (then making those applications
break in installations where the default CA list is empty).
Errors should never pass silently.
IMHO it is
Eli Bendersky eli...@gmail.com added the comment:
Submitting a complete patch file for this:
1. Modified Lib/unittest/main.py to implement the change
2. Modified Lib/unittest/test/test_program.py to make the tests pass without
warnings from regrtest.py
3. Updated the documentation in
Changes by Eli Bendersky eli...@gmail.com:
Removed file: http://bugs.python.org/file19738/unittest.main.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10470
___
Changes by Eli Bendersky eli...@gmail.com:
Removed file: http://bugs.python.org/file19741/unittest.test.test_program.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10470
___
Changes by Eli Bendersky eli...@gmail.com:
--
Removed message: http://bugs.python.org/msg121909
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10470
___
Changes by Eli Bendersky eli...@gmail.com:
--
Removed message: http://bugs.python.org/msg121918
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10470
___
Mark Dickinson dicki...@gmail.com added the comment:
Updated patch:
- add some examples
- mention __float__
- mention that large numeric arguments can result in an OverflowError
--
Added file: http://bugs.python.org/file19744/float_builtin_doc_v2.patch
Changes by Rodrigo Bernardo Pimentel r...@isnomore.net:
--
nosy: +rbp
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10351
___
___
Python-bugs-list
Roy Smith r...@panix.com added the comment:
The answer depends on what the socket module is trying to do. Is the goal
simply to provide a pythonic thin wrapper over the underlying OS interfaces
without altering their semantics, or to provide a completely homogeneous
abstraction? Having
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +exarkun
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7995
___
___
Python-bugs-list mailing
Antoine Pitrou pit...@free.fr added the comment:
Oh, and a test should be added of course.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7995
___
Antoine Pitrou pit...@free.fr added the comment:
It seems to me that it's a reasonable request. There is indeed a bug, since
Python uses non-blocking sockets to implement its timeout feature, and flags
inheritance means Python's view of whether the socket is non-blocking is not in
sync with
Antoine Pitrou pit...@free.fr added the comment:
nh2, your issue looks slightly different. In any case, can you tell us what
your system is, and post a simple script to reproduce the issue?
--
___
Python tracker rep...@bugs.python.org
Łukasz Langa luk...@langa.pl added the comment:
Committed in rev 86638. A public API for getting the name of the section from a
SectionProxy instance was introduced in 86639. This is useful because you can
assing a section proxy to a variable and pass it around:
from configparser import
New submission from And Clover a...@doxdesk.com:
The `enum_types` function in `MimeTypes.read_windows_registry` tries to
`.encode` the results of `EnumKey`, assuming it to be a Unicode string.
However, `_winreg.EnumKey` in Python 2.x actually returns a byte string
(straight from the ANSI
Changes by And Clover a...@doxdesk.com:
Removed file: http://bugs.python.org/file19745/mimetypes-patch2-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10490
___
Changes by And Clover a...@doxdesk.com:
Added file: http://bugs.python.org/file19746/mimetypes-patch2-2.7.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10490
___
david db.pub.m...@gmail.com added the comment:
Fine.
So if not in the ssl module what about for urllib etc.?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10441
___
Antoine Pitrou pit...@free.fr added the comment:
Fine.
So if not in the ssl module what about for urllib etc.?
The same answer really... We can't change default settings without
breaking compatibility.
--
___
Python tracker rep...@bugs.python.org
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: -db
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10441
___
___
Python-bugs-list mailing list
david db.pub.m...@gmail.com added the comment:
So please close this bug.
Apparently making things secure by default is to much to ask.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10441
Senthil Kumaran orsent...@gmail.com added the comment:
Fixed this revision 86640.
- Even though this is an internal optimization,I don't think back-porting is a
good idea, because it changes the behavior of certain methods like send_header
and end_headers
- Added the Documentation and other
Eli Bendersky eli...@gmail.com added the comment:
Attaching a patch for Doc/c-api/exceptions.rst
Added a new section named Unicode exceptions, and documented the relevant
functions from Include/pyerrors.h
--
keywords: +patch
Added file:
Changes by david db.pub.m...@gmail.com:
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10441
___
Changes by Antoine Pitrou pit...@free.fr:
--
resolution: rejected -
stage: needs patch -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10441
___
Steven Bethard steven.beth...@gmail.com added the comment:
Yeah, sorry, those last two should have had arguments after them.
I think we have to stick with the current behavior - otherwise there's no way
to do something like -x -A -B, where you want -A and -B to be arguments to -x.
(You can
Senthil Kumaran orsent...@gmail.com added the comment:
On Sun, Nov 21, 2010 at 12:12:08PM +, Jeremy Thurgood wrote:
I see your point now, but I don't agree with it completely. It seems
reasonable to allow query parameters to specify things like sort
order for a directory listing or have a
Changes by Eli Bendersky eli...@gmail.com:
--
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10468
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
Senthil, I didn't clearly express my concern about send_response_only. It
doesn't look to me like, with buffering in place, that it *should* write
directly, it looks to me like it should write to the buffer. Consider
specifically the
Éric Araujo mer...@netwok.org added the comment:
Apologies, I had misread your message: I thought the keybinding was wrong but
working. Your fix should be committed.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10404
Changes by Henrique Bastos henri...@bastos.net:
--
nosy: +henriquebastos
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1745035
___
___
Éric Araujo mer...@netwok.org added the comment:
Thanks. Do you want to work on a patch? We need to had a test to reproduce
the error and then fix the code.
--
nosy: +orsenthil
stage: - needs patch
type: - behavior
versions: +Python 3.1, Python 3.2 -Python 2.6
Rodolpho Eckhardt r...@rhe.vg added the comment:
Migrated the patch to the 3.x trunk and added three tests.
--
keywords: +patch
nosy: +Rodolpho.Eckhardt, henriquebastos
Added file: http://bugs.python.org/file19748/help_8525.patch
___
Python tracker
Tarsis Azevedo tarsis.azev...@gmail.com added the comment:
Hi Doug,
I catched the IOError exception and used the error function of ArgumentParser
class to return a beautful error message.
--
keywords: +patch
nosy: +Tarsis.Azevedo
Added file:
Chris Lambacher ch...@kateandchris.net added the comment:
I am attaching a preliminary patch to allow override of $(OPT). I am not sure
this is sufficient, but am wary of breaking packages that depend on the
existing behaviour.
The logic indeed seems wrong, but maybe this is something that
Éric Araujo mer...@netwok.org added the comment:
2.5 and 2.6 don’t get bug fixes anymore, only security fixes. If you want to
try to fix the code, there are some guidelines at
http://www.python.org/dev/patches/
--
___
Python tracker
Doug Hellmann doug.hellm...@gmail.com added the comment:
Hi, Tarsis,
That patch looks good to me.
Thanks!
Doug
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue9509
___
Senthil Kumaran orsent...@gmail.com added the comment:
On Sun, Nov 21, 2010 at 03:15:06PM +, R. David Murray wrote:
Senthil, I didn't clearly express my concern about
send_response_only. It doesn't look to me like, with buffering in
place, that it *should* write directly, it looks to me
ProgVal prog...@gmail.com added the comment:
Same result on all tested versions (2.5 - 2.7) :
--
import urllib2
import tarfile
tarfile.open(fileobj=open('/home/progval/Downloads/GoodFrench.tar'), mode='r:')
# Works
New submission from Gynvael Coldwind gynv...@gmail.com:
Hi,
Installers I've tested:
Python 3.1.2 (signed Sunday, March 21, 2010 12:49:44 AM)
Python 2.7 (signed Sunday, July 04, 2010 7:23:45 AM)
It seems that Python's Windows installer doesn't correctly set permissions of
Python's directories,
Jeremy Thurgood fir...@gmail.com added the comment:
On Sun, Nov 21, 2010 at 17:11, Senthil Kumaran wrote:
I can't see any situation in which redirecting
/something?foo to /something?foo/ is the correct behaviour.
As I explained, in the previous post, this would *not happen* in
practical
ProgVal prog...@gmail.com added the comment:
This code :
import urllib2
print urllib2.urlopen('http://plugins.supybot-fr.tk/GoodFrench.tar').read(500)
Prints :
data/75500017517511466030066011677 5ustar progvalprogval
If the problem comes from networking libraries, I
Antoine Pitrou pit...@free.fr added the comment:
Wow. The lock is precisely there so that the buffered object doesn't have to be
MT-safe or reentrant. It doesn't seem reasonable to attempt to restore the file
to a stable state in the middle of an inner routine.
Also, the outer TextIOWrapper
Daniel Albeseder ko...@gmx.at added the comment:
Steven: The last part I guess would belong better in issue 9334. Using a --
to end all optionals is just a convention but -- could also be the argument
to some option as well. We need to limit this in any way, and the way it is
done right now
R. David Murray rdmur...@bitdance.com added the comment:
This is fixed by r86642. The remaining failing tests were pointing to bugs in
the implementation of the linesep argument to generator.flatten. I had to add
an additional test to catch all the related bugs, though.
The tests now run
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +facundobatista, fdrake, orsenthil
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10479
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +facundobatista, fdrake, orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10486
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10491
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +facundobatista, fdrake, orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10485
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +facundobatista, fdrake, orsenthil
versions: +Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10484
___
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +facundobatista, fdrake, orsenthil
type: behavior - feature request
versions: -Python 2.6, Python 2.7, Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10487
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10478
___
___
Python-bugs-list
Rafael dos Santos Gonçalves rafaelsant...@gmail.com added the comment:
ksh is a text/plain to, all this extension are text/plain:
'.ksh', '.pl', '.bat', '.h', '.c', '.txt', '.asc', '.text', '.pot', '.brf'.
The problem is: the code return the first of list:
return extensions[0]
So, I add one
New submission from Antoine Pitrou pit...@free.fr:
$ LANG=ISO-8859-15 ./python -m test.regrtest test_doctest
[1/1] test_doctest
**
File /home/antoine/py3k/__svn__/Lib/test/test_doctest.py, line 1676, in
1 - 100 of 259 matches
Mail list logo