Martin v. Löwis mar...@v.loewis.de added the comment:
This change is reasonable for the long term. But it *will* break a lot of
code.
[If you favor a specific change, please indicate what that is. I'm
assuming you support my proposal for the moment :-]
I agree it will break a lot of code,
Petri Lehtinen pe...@digip.org added the comment:
harobed wrote:
I use http.client in WebDAV client.
Mac OS X Finder WebDAV client perform all his request in chunk mode : PUT
and GET.
Here, I use http.client to simulate Mac OS X Finder WebDAV client.
Now I'm confused. Per the HTTP
Martin v. Löwis mar...@v.loewis.de added the comment:
Actually, on Windows, PYTHON is typically not set at all. So the likelihood of
it being set to Python 3 is very low, unless you are trying to build Python
documentation from time to time.
Sye: I fail to see the point of your patch.
Changes by Petri Lehtinen pe...@digip.org:
--
nosy: +petri.lehtinen
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11934
___
___
Python-bugs-list
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The change to sys.platform=='linux' would break code even on current platforms.
OTOH, we have sys.platform=='win32' even on Windows 64bit; would this favor
keeping 'linux2' on all versions of Linux as well?
--
Martin v. Löwis mar...@v.loewis.de added the comment:
The change to sys.platform=='linux' would break code even on current
platforms.
Correct. Compared to introducing 'linux3', I consider this the better
change - it likely breaks earlier (i.e. when porting to Python 3.3).
OTOH, we have
Charles-François Natali neolo...@free.fr added the comment:
I'm sure Linus Torvalds is fully aware of the possible
consequences of the version change, and just accepted the breakage
that this would cause.
Any application relying on sys.platform == 'linux2' is already broken.
It's exactly the
Dan Kenigsberg dan...@redhat.com added the comment:
I would rate this issue as a performance bug, not a mere feature request. If
the python process has more than 1023 open file descriptors,
multiprocessing.Pipe.poll() becomes unusable. This is a serious barrier to
using multiprocessing in a
New submission from Vinay Sajip vinay_sa...@yahoo.co.uk:
Some of the tests for lib2to3 write into folders which are protected in an
installed Python. This means that regression tests fail when run on an
installed Python, even though they run wihtout these errors on a source build.
I think
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12331
___
___
Python-bugs-list
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I tried issue12084_XP.diff, but os.stat()/os.lstat() always failed with
following message because it raises exception on top of it when running on XP.
Python 3.2.1rc1+ (default, Jun 14 2011, 16:26:11) [MSC v.1200 32 bit (Intel)]
Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp added the comment:
I created several patches.
quick1.patch: os.stat() traverses junction on Vista/7, and raises error on XP.
quick2.patch: os.stat() never traverse junction on all windows.
quick3.patch: os.stat() should traverse junction os Vista/7,
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Added file: http://bugs.python.org/file22362/quick2.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
Changes by Hirokazu Yamamoto ocean-c...@m2.ccsnet.ne.jp:
Added file: http://bugs.python.org/file22363/quick3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12084
___
Erez Sh ere...@gmail.com added the comment:
I support this change. Putting an arbitrary limitation on the amount of
supported subprocesses is disastrous for complex software.
Gergely's patch seems good. I would only like to suggest a small cosmetic
refinement to it, which removes some dead
Marc-Andre Lemburg m...@egenix.com added the comment:
Martin v. Löwis wrote:
Martin v. Löwis mar...@v.loewis.de added the comment:
The change to sys.platform=='linux' would break code even on current
platforms.
Correct. Compared to introducing 'linux3', I consider this the better
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo, pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10527
___
___
Stephen White stephen-python@randomstuff.org.uk added the comment:
Debian appear to have applied this patch, and it seems to be causing problems:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593461
--
nosy: +Stephen.White
___
Python tracker
Antoine Pitrou pit...@free.fr added the comment:
The change to sys.platform=='linux' would break code even on current
platforms.
Correct. Compared to introducing 'linux3', I consider this the better
change - it likely breaks earlier (i.e. when porting to Python 3.3).
FWIW, I also agree
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12326
___
___
Changes by Jon Siddle j...@corefiling.co.uk:
--
nosy: +jonsiddle
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue762963
___
___
Python-bugs-list
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Some packaging tests also fail, for similar reasons:
==
ERROR: test_get_distinfo_file (packaging.tests.test_database.TestDistribution)
Antoine Pitrou pit...@free.fr added the comment:
This code has changed a lot in Python 3.3 (it is now located in
Lib/multiprocessing/connection.py). Can you post a patch against the
development tip (default branch)?
See http://docs.python.org/devguide/setup.html if you need more information.
Changes by Tim Lesher tles...@gmail.com:
--
nosy: +tlesher
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11838
___
___
Python-bugs-list mailing
Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +orsenthil
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12319
___
___
Python-bugs-list mailing
Changes by Facundo Batista facu...@taniquetil.com.ar:
--
nosy: -facundobatista
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10897
___
___
New submission from Carmine Paolino paolino.carm...@alice.it:
Trying to run this simple script:
for i in range(10):
print(i*0.2)
when i is 3, the result given is 0.6001.
What could the problem be?
--
components: Interpreter Core
messages: 138311
nosy: cancelliere
Carmine Paolino paolino.carm...@alice.it added the comment:
When I try to run 3*0.2 in Python shell or using an IDLE document, the result
given is 0.6001.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12332
Benjamin Peterson benja...@python.org added the comment:
Yep. See http://docs.python.org/tutorial/floatingpoint.html
--
nosy: +benjamin.peterson
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
Oren Held o...@held.org.il added the comment:
Any tip on how to make this patch get committed? :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11102
___
New submission from Antoine Pitrou pit...@free.fr:
The problem is that tearDown() tries to rmdir() the current directory, which is
forbidden under Solaris and returns EINVAL:
os.getcwd()
'/home/antoine/t/t'
os.rmdir(/home/antoine/t/t)
Traceback (most recent call last):
File stdin, line 1,
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - tarek
components: +Distutils2
nosy: +alexis, tarek
stage: - needs patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12331
___
Antoine Pitrou pit...@free.fr added the comment:
Well, using $(prefix)/include to fetch development headers sounds like the
wrong strategy anyway. Just because you e.g. install into /usr/local doesn't
mean your zlib is inside /usr/local too.
And if that makes people use our own zlib headers
Éric Araujo mer...@netwok.org added the comment:
Please join the discussion on the already-opened report #3.
--
resolution: - duplicate
stage: - committed/rejected
status: open - closed
superseder: - html.entities mapping dicts need updating?
type: - feature request
versions:
Éric Araujo mer...@netwok.org added the comment:
I just closed #12329 as a duplicate of this bug. It requested the addition of
the apos named entity reference.
TTBOMK, the html module (or htmlentitydefs in 2.x) doesn’t claim to support
XHTML TTBOMK; an XML parser should be used for XHTML.
Éric Araujo mer...@netwok.org added the comment:
Path LGTM.
Also +1 on keeping distutils and packaging wholly separate, including in tests
infrastructure. It’s just one file.
--
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
I’m going to change directory before removing the temp dir.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12333
___
Éric Araujo mer...@netwok.org added the comment:
This should not be too hard to fix: I’ll move the directory with the mock
projects to a temp dir, add that to sys.path, and then we’ll be able to read
and write.
--
assignee: tarek - eric.araujo
___
New submission from Reinhard Engel nc-enge...@netcologne.de:
# Strange sort error
# lst1 and lst 2 produce different results, but should be same
# lst1 should sort by length of items, but doesn't, lst2 does!
lst0 = ['ab-get-ratings-max', 'ab-get-ratings-min', 'ab-rate-position',
'accum',
Roundup Robot devnull@devnull added the comment:
New changeset 23e14af406df by Brian Curtin in branch 'default':
Merge 3.2 - update to the fix for #12084
http://hg.python.org/cpython/rev/23e14af406df
--
___
Python tracker rep...@bugs.python.org
Brian Curtin br...@python.org added the comment:
I think quick3 is the way to go - checked in, we'll see how the buildbots react.
1524a60016d0 is the changeset for the 3.2 checkin (forgot to mention the issue#
there)
--
___
Python tracker
Éric Araujo mer...@netwok.org added the comment:
I think it would be good.
--
assignee: tarek - eric.araujo
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7969
___
Reinhard Engel nc-enge...@netcologne.de added the comment:
Sorry, oversaw silly error in comparison!
--
resolution: - invalid
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12334
Éric Araujo mer...@netwok.org added the comment:
For the 2to3 support in the new packaging module (successor of distutils), we
even do three passes: code, docstrings and doctest files.
--
nosy: +eric.araujo
stage: - needs patch
title: 2to3 to simultaneously do code AND doctests - 2to3
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report. Do you have a script or test to reproduce the bug?
Otherwise I’ll try to write one.
--
assignee: tarek - eric.araujo
nosy: +eric.araujo
stage: - test needed
versions: +Python 2.7, Python 3.2, Python 3.3 -Python
Mark Dickinson dicki...@gmail.com added the comment:
... and you probably want
sorted(lst0, key=len, reverse=True)
anyway. :-)
--
nosy: +mark.dickinson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12334
Éric Araujo mer...@netwok.org added the comment:
Another bug requesting documentation for a compiler flag exposed by a module:
#1612012.
If possible, I would have the index point to the first current
sentence, which also mentions .parse() as an alternative.
This should be possible:
Éric Araujo mer...@netwok.org added the comment:
I’ll look into this shortly.
--
versions: -Python 3.1
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8933
___
Brian Curtin br...@python.org added the comment:
Just had a successful XP buildbot run:
http://www.python.org/dev/buildbot/all/builders/x86%20XP-5%203.2/builds/304
--
resolution: - fixed
stage: patch review - committed/rejected
status: open - closed
Changes by Éric Araujo mer...@netwok.org:
--
type: compile error - feature request
versions: +Python 3.3 -3rd party
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1222585
___
Changes by Éric Araujo mer...@netwok.org:
--
assignee: docs@python -
components: -Documentation
nosy: +eric.araujo, ezio.melotti, michael.foord -docs@python
stage: - test needed
type: feature request - behavior
versions: +Python 3.2, Python 3.3
Éric Araujo mer...@netwok.org added the comment:
A --strict option could be provided to allow these to remain an error.
Or a config option could let you list the files that should not be
byte-compiled.
--
stage: - needs patch
versions: +Python 3.3
Changes by Éric Araujo mer...@netwok.org:
--
title: configure does not create accurate Makefile - configure does not create
accurate Makefile on AIX
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10514
Éric Araujo mer...@netwok.org added the comment:
Thanks for your message. There was already a report for this bug, so I’m
closing this one.
--
resolution: - duplicate
stage: needs patch - committed/rejected
status: open - closed
superseder: - pydoc.Helper.help() ignores input/output
Éric Araujo mer...@netwok.org added the comment:
I think the official documentation is less opinionated than the Hitchhiker’s
Guide.
--
title: step-by-step tutorial - Packaging step-by-step tutorial
versions: +Python 3.3 -3rd party
___
Python
Éric Araujo mer...@netwok.org added the comment:
Thanks for the report and patch. Can you write a test?
--
nosy: +eric.araujo
stage: patch review - test needed
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
Éric Araujo mer...@netwok.org added the comment:
I’m not sure this belongs on the Python tracker.
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8534
___
Éric Araujo mer...@netwok.org added the comment:
What is python.exe-gdb.py?
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11493
___
Michael Foord mich...@voidspace.org.uk added the comment:
Config options are for when developers can't make decisions. Given that there
are valid use cases please just allow it. A --strict option is fine... (but
no-one will use it I suspect)
--
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 3.3 -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5575
___
Stephen White stephen-python@randomstuff.org.uk added the comment:
The patch, issue762963.diff, is broken. It is calling mktime on a struct tm
that is initialized to zeros. This means that it should be filling in the
missing fields based on their correct values for the date 1st Jan 1900,
Changes by Michael Foord mich...@voidspace.org.uk:
--
assignee: - michael.foord
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11218
___
___
Changes by Éric Araujo mer...@netwok.org:
--
nosy: +eric.araujo
versions: +Python 3.3 -Python 2.6, Python 2.7, Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7594
___
Éric Araujo mer...@netwok.org added the comment:
Config options are for when developers can't make decisions.
I don’t understand. In packaging, a config file is central, as it contains the
whole metadata, manifest and command options.
Given that there are valid use cases please just allow
Michael Foord mich...@voidspace.org.uk added the comment:
Yes, allowing it by default. :-)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10530
___
Terry J. Reedy tjre...@udel.edu added the comment:
Is this something that would actually be useful to someone using compile()?
See #12207 also
--
nosy: +terry.reedy
versions: +Python 3.3 -Python 3.1
___
Python tracker rep...@bugs.python.org
Carmine Paolino paolino.carm...@alice.it added the comment:
Thank you for your help.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12332
___
Changes by Dave Malcolm dmalc...@redhat.com:
--
nosy: +dmalcolm
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue10527
___
___
Python-bugs-list
Dave Malcolm dmalc...@redhat.com added the comment:
The analogous code within Modules/selectmodule.c uses
#ifdef HAVE_POLL
to guard the poll-using code, to support non-Windows platforms that don't have
poll.
Presumably a patch for this should do the same.
--
Dave Malcolm dmalc...@redhat.com added the comment:
Also, I see that Modules/selectmodule.c has some painful-looking workarounds
involving HAVE_BROKEN_POLL, which presumably would also be applicable here.
--
___
Python tracker rep...@bugs.python.org
Dino Viehland di...@microsoft.com added the comment:
I ran into a similar issue and believe I have a simpler repro. I think the
issue here might be that when you take a stack overflow inside of a
sys.settrace handler that you can then later violate the stack depth. The
attached test.py has
New submission from Barry A. Warsaw ba...@python.org:
I have both a setup.py and a setup.cfg in my package. I wanted to use `pysetup
create` to add the new packaging stanzas to my setup.cfg, but instead, pysetup
clobbered everything. I think it should instead append (or prepend) the new
Hans Peter de Koning h...@xs4all.nl added the comment:
The reason I raised #12329 was that the v2.7.1 documentation in
http://docs.python.org/library/htmllib.html#module-htmlentitydefs
says:
... The definition provided here contains all the entities defined by XHTML
1.0 ...
The only diff
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12335
___
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue12313
___
Torsten Landschoff t.landsch...@gmx.net added the comment:
The other use case I see is to reload a module during debugging after changing
the code. This is especially useful for big GUI applications.
--
nosy: +torsten
___
Python tracker
Hans Peter de Koning h...@xs4all.nl added the comment:
BTW, the HTMLParser module (as well as html.parser in 3.x) does claim to parse
both HTML and XHTML, see
http://docs.python.org/library/htmlparser.html#module-HTMLParser .
--
___
Python tracker
Barry A. Warsaw ba...@python.org added the comment:
Nice to see my search didn't find this bug. ;)
I already committed a change to install packaging, but you may want to revert
that and commit the patch in this issue. I'll leave that for you to decide!
--
nosy: +barry
New submission from STINNER Victor victor.stin...@haypocalc.com:
test test_ttk_guionly failed -- Traceback (most recent call last):
File
/usr/home/db3l/buildarea/3.x.bolen-freebsd/build/Lib/tkinter/test/test_ttk/test_widgets.py,
line 674, in test_select
self.assertTrue(success)
Paul Boddie p...@boddie.org.uk added the comment:
I don't understand how this bug and its patches are still active. It's
difficult for me to remember what I was doing in early 2007 when I started
working on issue #1667546, but I can well imagine that it was in response to
this and a number of
sbt shibt...@gmail.com added the comment:
Also, what is the rationale for the following change:
-elif timeout == 0.0:
+elif timeout == 0.0 and nleft != 0:
return False
If PeekNamedPipe() returns (navail, nleft) there are 3 cases:
1) navail 0:
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +ezio.melotti
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: -jongfoster
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1669539
___
___
New submission from Fan Decheng fandech...@gmail.com:
Since -u is made default and binary stdio implemented in 3.2, many of my
scripts cannot run directly in Python 3.2, because they expect \n from stdin,
but on Windows \r\n is got.
Since that binary stdio being default is necessary for
84 matches
Mail list logo