R. David Murray rdmur...@bitdance.com added the comment:
For what it's worth, I agree with Fijal. I think the python version and the C
version should behave the same, so that other implementations of Python can use
the Python version and be compatible wtih CPython.
--
nosy:
Martin v. Löwis mar...@v.loewis.de added the comment:
It's fine to apply to 3.2.
--
nosy: +loewis
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8761
___
Changes by Christophe Simonis simonis.christo...@gmail.com:
--
nosy: +Christophe Simonis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue444582
___
Changes by Ray.Allen ysj@gmail.com:
--
nosy: +ysj.ray
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8070
___
___
Python-bugs-list mailing list
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I couldn't find the relevant commits, but if we didn't do it, ISTM that we
should backport the fix in the next 2.6 so it behaves like in 2.7.
--
nosy: +tarek
___
Python tracker
Senthil Kumaran orsent...@gmail.com added the comment:
tarek: Issue2987 has the details on changes made for ipv6 urlparse.
Those can't be backported as it's a feature. I would rather like to see whats
breaking in distutils2.
The url which resulted in this bug in distribute:
New submission from Pascal Chambon chambon.pas...@gmail.com:
I've created a pure-python package with py3k's bdist_msi, and weirdly, even
though the windows installer asks for the target directory, it installs the
package in ALL python distributions installed (py26, py27 and py31), which is
New submission from davy zhang davyzh...@gmail.com:
the function below is used to determine the proper file name of the next log
file. But the question is if I set a large number of self.backupCount like
1000, it will take too long to calculate the right file name. I think it
could be a
Changes by davy zhang davyzh...@gmail.com:
--
components: +Library (Lib)
type: - performance
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8764
___
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - tarek
nosy: +ronaldoussoren, tarek
priority: normal - high
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8759
___
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - tarek
nosy: +tarek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue444582
___
___
Changes by Antoine Pitrou pit...@free.fr:
--
assignee: - vinay.sajip
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8764
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Are you sure you didn't deactivate use site ? (by turning site.ENABLE_USER_SITE
off)
Please check its value:
import site
site.ENABLE_USER_SITE
True
Pathes look fine on my Mac :
Python 2.7b2+ (trunk:81228, May 16 2010, 14:42:34)
Eric Smith e...@trueblade.com added the comment:
Could you attach the source to a small example? I don't think anyone's
interested in running a random .msi file.
--
nosy: +eric.smith
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
SOunds like a good feature to add in shutil, I'll check the patch and also
compare it to distutils.spawn.find_executable()
--
___
Python tracker rep...@bugs.python.org
New submission from Benjamin Peterson benja...@python.org:
Why does it matter? They both inherit from object, so there's no one to pass
parameters to.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
Pascal Chambon chambon.pas...@gmail.com added the comment:
Thansk for the attention,
Here it is (I ran bdist_msi with the latest SVN py3k version).
--
Added file: http://bugs.python.org/file17399/RSFile-1.0.tar.gz
___
Python tracker
Changes by STINNER Victor victor.stin...@haypocalc.com:
Removed file: http://bugs.python.org/file17342/distutils_spawn_log.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8663
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Senthil: thx for the pointer.
I've fixed the problem on distribute side by catching any ValueError returned
by urlparse (from 2.6 or 2.7 point of view).
That said, I don't think than catching more invalid URLs in Python 2.7 should
be
Christophe Combelles cc...@free.fr added the comment:
(I forgot to mention that the bug occured on python 3.1.2.)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8740
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
did you use any particular option when running it ?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8763
___
Greg Słodkowicz jerg...@gmail.com added the comment:
Doesn't breaking installation of packages on a major platform warrant a quicker
release of a fix?
--
nosy: +Greg.Slodkowicz
___
Python tracker rep...@bugs.python.org
New submission from Pascal Chambon chambon.pas...@gmail.com:
In test_fileio, one of the tests wants to ensure writing to closed raw streams
fails, but it actually tries to write an unicode string, which should rather
lead to an immediate TypeError.
Here is a tiny patch to prevent the double
Changes by R. David Murray rdmur...@bitdance.com:
--
nosy: +pitrou
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8765
___
___
Python-bugs-list
STINNER Victor victor.stin...@haypocalc.com added the comment:
tarek tested on Mac OS X: the patch fixes test_warnings issue.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8589
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
@iki: could you refactor your code so it's in shutil (and the tests in
test_shutil)
few remarks: only which/which_files should be public API,
Next, I don't think extensions like VBS should be hardcoded if PATHEXT is not
found. A pseudo-dos
STINNER Victor victor.stin...@haypocalc.com added the comment:
Although, all these patchs should have some tests demonstrating the bugs
As discussed on IRC, fixing distutils.log package instead of setup.py is
better. New patch includes unit tests.
--
Added file:
Ronald Oussoren ronaldousso...@mac.com added the comment:
The --user directory for framework installs of python on OSX has changed from a
subdirectory of ~/.local to a subdirectory ~/Library. As described in the NEWS
file:
- Issue #8084: PEP 370 now conforms to system conventions for
Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com added the comment:
r81319 fixed 4 calls in pythonrun.c.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6697
___
Meador Inge mead...@gmail.com added the comment:
For a complex number z and an integer i, 'z == i' should be exactly
equivalent to 'z.real == i and z.imag == 0.0'.
Like you mentioned before a lot of care is taken in 'floatobject.c' to ensure
that the comparison is robust. Would it be a
Pascal Chambon chambon.pas...@gmail.com added the comment:
None at all, a simple python setup.py bdist_msi.
Once I've installed the MSI(and whatever the target python version I chose),
launching it again will always trigger a repair/uninstall wizard, and the
operatiosn I do with it are made
Florent Xicluna florent.xicl...@gmail.com added the comment:
It seems fixed now.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8142
Mark Dickinson dicki...@gmail.com added the comment:
Like you mentioned before a lot of care is taken in 'floatobject.c' to
ensure that the comparison is robust. Would it be a good approach to
leverage that work?
Absolutely, yes! I was thinking of moving that chunk of code out of
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
If you look closely, the system is not determining the name of the next log
file. It is renaming log files - app.log.2 - app.log.3, app.log.1 -
app.log.2, app.log - app.log.1. The next log file is always app.log (or
whatever the base file
Mark Dickinson dicki...@gmail.com added the comment:
Thinking about it, I still like the _PyLong_CompareWithDouble plan even for
trunk: there's a precedent for some PyLong methods working with plain ints as
well as for longs. See e.g. PyLong_AsLongLong and friends.
--
Meador Inge mead...@gmail.com added the comment:
Does this patch seem reasonable?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7902
___
___
New submission from Arfrever Frehtes Taifersar Arahesis
arfrever@gmail.com:
Python 3.1 and 3.2 fail with segmentation fault when a directory in PYTHONPATH
contains an empty encodings subdirectory.
$ cd /tmp
$ mkdir encodings
$ PYTHONPATH=. python3.1
Segmentation fault
--
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Closing this out for lack of further activity.
--
resolution: - rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1053369
Mark Dickinson dicki...@gmail.com added the comment:
[Meador]
One of the unit tests ('test_complex.test_richcompare') explicitly
checks for the overflow.
[Mark]
I just discovered that there's actually a test for part of this
behaviour
D'oh! Next time I'll read your whole message before
Antoine Pitrou pit...@free.fr added the comment:
According to your log, the interpreter itself compiled fine (you can check that
with ./python and even run the test suite: ./python -m test.regrtest -w),
but the _ctypes extension failed configuring.
--
assignee: - theller
nosy:
Sagiv Malihi sagivmal...@gmail.com added the comment:
Example:
class A(object):
def __init__(self):
print initializing something very important
# and then pay it forward...
super(A, self).__init__()
class B(list, A): pass
b = B()
# A's init is never called...
--
Mark Dickinson dicki...@gmail.com added the comment:
From a brief glance, the approach in your patch looks fine to me. I'll have a
proper look at it later today.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8748
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Could you provide an actual example code which reproduces this problem?
It's not clear to me how the dispatcher instance can end up in an invalid
state since handle_error() should automatically remove the invalid dispatcher
instance from
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6589
___
___
Python-bugs-list mailing list
Giampaolo Rodola' g.rod...@gmail.com added the comment:
Could you provide an actual example code which reproduces this problem?
It's not clear to me how the dispatcher instance can end up in an invalid
state since handle_error() should automatically remove the invalid dispatcher
instance from
Brian Curtin cur...@acm.org added the comment:
Are you allowing it to install into all Python versions? I have a package here
at work that I make bdist_msi installers for and most of my machines have 2.6
and 3.1 on them. During the install I only choose to install it for 3.1 when
the
New submission from Charles Solar charlesso...@gmail.com:
I am compiling python on AIX 5.3. The normal configure and make works, except
it fails to compile the unicodedata module. The assembler reports a bunch of
these errors:
Error: value of 0001268b too large for field of 2 bytes
Charles Solar charlesso...@gmail.com added the comment:
Seems as though python 2.7 should not support --disable-unicode so this ticket
is invalid. I just googled python disable unicode, but it seems that the
decision to never disable unicode is recent.
Closing
--
status: open -
Changes by Charles Solar charlesso...@gmail.com:
Removed file: http://bugs.python.org/file17403/config.log
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8767
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
The problem is that a warning is emited before the _warnings module is
initialized: get_filter() uses _filters which is equal to NULL.
Attached patch initialize the _warnings module (but not the warnings module)
before
STINNER Victor victor.stin...@haypocalc.com added the comment:
Ok, I commited my patch: r81358 (py3k). I'm waiting for the buildbots before
backporting the fix to 3.1.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8589
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
resolution: - fixed
status: open - pending
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8589
___
New submission from Daniel Stutzbach dan...@stutzbachenterprises.com:
In test_set.py (and test_sets.py in 2.x), there's a method named
checkempty_symmetric_difference. It should be named
test_checkempty_symmetric_difference so that it will actually be called as a
test. It's not referenced
Mark Dickinson dicki...@gmail.com added the comment:
Okay, this patch looks fine to me for py3k. More tests would be great, but I
don't see much other cleaning up that needs doing.
Just one thing: I'd make the 'i.imag == 0.0' check earlier, so that the
potentially expensive long-to-float
STINNER Victor victor.stin...@haypocalc.com added the comment:
I commited to patch on distutils.log in r81359 (py3k). I'm waiting for the
buildbot before backporting to 3.1.
--
resolution: - fixed
status: open - pending
___
Python tracker
R. David Murray rdmur...@bitdance.com added the comment:
Why would you not want to catch all value errors? I assume (perhaps a bad
thing) that distribute will repeat the returned error message in a more user
friendly format. If a bug in urlparse returns a spurious ValueError, that will
Martin v. Löwis mar...@v.loewis.de added the comment:
Doesn't breaking installation of packages on a major platform warrant a
quicker release of a fix?
No, only security-related issues may warrant a change to the release
schedule.
--
title: distutils makefile from python.org
Changes by Dan Buch daniel.b...@gmail.com:
Removed file: http://bugs.python.org/file17385/mkpkg-round-of-pylinting.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8591
___
Changes by Dan Buch daniel.b...@gmail.com:
Added file: http://bugs.python.org/file17406/mkpkg-round-of-pylinting.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8591
___
Changes by Dan Buch daniel.b...@gmail.com:
Added file: http://bugs.python.org/file17407/mkpkg-round-of-pylinting.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8591
___
Changes by Dan Buch daniel.b...@gmail.com:
Removed file: http://bugs.python.org/file17406/mkpkg-round-of-pylinting.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8591
___
Changes by Dan Buch daniel.b...@gmail.com:
Added file: http://bugs.python.org/file17408/mkpkg-round-of-pylinting.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8591
___
Changes by Giampaolo Rodola' g.rod...@gmail.com:
--
assignee: - giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8687
___
___
Ashley Sands ashley.j.sa...@gmail.com added the comment:
Thanks Senthil Brett for your help.
Here's my patch. It is very simple, so simple I think it may be wrong.
--
keywords: +patch
Added file: http://bugs.python.org/file17409/linkToPep3247.diff
Orlando Irrazabal oirr...@mendoza.gov.ar added the comment:
Antonie, you are right, the interpreter was compiled fine, this is the
output when i run python
r...@host:python-2.6.5# ./python
'import site' failed; use -v for traceback
Python 2.6.5 (r265:79063, May 18 2010, 19:19:48) [C] on aix5
Mark Dickinson dicki...@gmail.com added the comment:
Thanks for the Rietveld upload. I haven't had a chance to review this properly
yet, but hope to do so within the next few days.
One question: the production list you added to the docs says:
format_string: (`byte_order_specifier`?
Mark Dickinson dicki...@gmail.com added the comment:
Travis, this issue is still assigned to you. Do you plan to work on this at
some stage, or may I unassign you?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3132
Mark Dickinson dicki...@gmail.com added the comment:
Hmm. Something's not quite right: the _struct module fails to compile for me
with this patch. I get:
/Users/dickinsm/python/svn/py3k/Modules/_struct.c: In function ‘s_unpack’:
/Users/dickinsm/python/svn/py3k/Modules/_struct.c:1730: error:
Mark Dickinson dicki...@gmail.com added the comment:
Ah, it should have been:
assert(soself-s_tree != NULL);
Got it now. All tests pass. :)
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3132
Mark Dickinson dicki...@gmail.com added the comment:
One more design question. For something like: 'HT{H}H', what endianness
should be used when packing/unpacking the last 'H'? Should the switch to ''
within the embedded struct be regarded as local to the struct?
With your patch, I get:
Changes by Brett Cannon br...@python.org:
--
assignee: - brett.cannon
keywords: +needs review
stage: - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7902
___
Changes by Brett Cannon br...@python.org:
--
keywords: +needs review
stage: needs patch - patch review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8667
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Oh, Python 3.1 doesn't use the PYTHONWARNINGS variable: commit blocked in 3.1
(r81362).
--
dependencies: -regrtest: use backslashreplace error handler for stdout
status: pending - closed
STINNER Victor victor.stin...@haypocalc.com added the comment:
I commited to patch on distutils.log in r81359 (py3k)
Backported to 3.1 as r81363.
--
status: pending - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8663
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8663
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
Fix commited to py3k (r81364). Wait for the buildbots beforing doing the
backport.
--
resolution: - fixed
status: open - pending
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also #8611.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4352
___
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
See also #4352.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8611
___
___
Tarek Ziadé ziade.ta...@gmail.com added the comment:
I thought you had a unit test, I don't see any in your commit
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8663
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
I thought you had a unit test, I don't see any in your commit
patch -p0 ... svn ci doesn't include new files. I forgot it.
r81361 includes the new file.
--
___
Python tracker
New submission from A.M. Kuchling li...@amk.ca:
The attached test program shows how parsing an e-mail message with the email
package, then converting the resulting message to a string, fails to round-trip
properly. Instead it breaks the encoding of the subject line.
The root of the problem:
A.M. Kuchling li...@amk.ca added the comment:
The attached patch is a possible fix; it uses the decode_header() and
make_header() functions to figure out the encoding properly; it fixes my
example, at least. But does it increase the odds of crashing on messages with
malformed headers?
A.M. Kuchling li...@amk.ca added the comment:
Minor fix to the patch: the import of Header could actually be removed, since
the class is no longer referenced at all with this change.
--
___
Python tracker rep...@bugs.python.org
STINNER Victor victor.stin...@haypocalc.com added the comment:
If I understood correctly, this issue is a regression introduced by r67055 (to
fix #4213). Read: http://bugs.python.org/issue4213#msg75387
See also r67057 (issue #3723).
--
___
Python
STINNER Victor victor.stin...@haypocalc.com added the comment:
This issue is a duplicate of #4213 which was fixed by r67055 (py3k).
--
resolution: - duplicate
status: open - closed
___
Python tracker rep...@bugs.python.org
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
components: +Unicode
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4388
___
STINNER Victor victor.stin...@haypocalc.com added the comment:
This issue is specific to Mac OS X because the file system encoding is
hardcoded to UTF-8 on this OS. As written in msg76244, the problem is that the
encoding is different for input (sys.argv) and output arguments (arguments of
Sridhar Ratnakumar sridh...@activestate.com added the comment:
@Ronald: Ah, I see. So on Mac, Python 2.7 (with default site configuration)
will not pickup packages installed in ~/.local, correct? It will, from now
onwards, only consider ~/Library/Package as the user site directory? I ask
Benjamin Peterson benja...@python.org added the comment:
Will you post to Rietveld, please?
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8729
___
Sridhar Ratnakumar sridh...@activestate.com added the comment:
On further analysis:
$ /tmp/apy27/bin/python -c from sysconfig import get_path; print
get_path('purelib', 'posix_user')
/home/sridharr/.local/lib/python/2.7/site-packages
$
From sysconfig.py:
'posix_user': {
'stdlib':
Tarek Ziadé ziade.ta...@gmail.com added the comment:
python/2.7/site-packages is a typo in sysconfig, it should be
python2.7/site-packages you are right.
Fixing it..
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8759
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Fixed in r81371, r81372
Thanks!
I let you close the issue once you are through with the rest of the talk.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8759
New submission from Sridhar Ratnakumar sridh...@activestate.com:
python2.7 -m sysconfig at the moment does not print anything. python2.7 -m
site, for instant, prints useful information.
Perhaps the output of `sysconfig.get_path` can be pretty printed?
--
assignee: tarek
components:
Tarek Ziadé ziade.ta...@gmail.com added the comment:
You mean get_paths ?
It could also print out get_config_vars() output
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8770
___
Changes by Tarek Ziadé ziade.ta...@gmail.com:
--
versions: -Python 2.7
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8770
___
___
Sridhar Ratnakumar sridh...@activestate.com added the comment:
Yes, get_paths(). It could also print get_config_vars(), yes.
If you want to make it sophisticated you could support arguments/options using
the 'argparse' module. :)
--
___
Python
Tarek Ziadé ziade.ta...@gmail.com added the comment:
weird, just realized python -m site doesn't print anything for me..
If you want to make it sophisticated you could support arguments/options
using the 'argparse' module. :)
Let's add the simplest case at first ;)
--
STINNER Victor victor.stin...@haypocalc.com added the comment:
r81375 improves unicode support of libpython.py. I hope that it will be enough
to fix test_strings() failures.
--
___
Python tracker rep...@bugs.python.org
Mads Kiilerich m...@kiilerich.com added the comment:
FYI, this change caused a regression in Mercurial - see
http://mercurial.selenic.com/bts/issue2179.
--
nosy: +kiilerix
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3819
New submission from Alice Bevan-McGregor al...@gothcandy.com:
Using the wsgiref simple HTTP server or any other capable of 2000
requests/sec. demonstrates an issue with Macintosh sockets.
Mac OS X Version: 10.6.3 (Build 10D573)
Python Version: 2.6.1 (32-bit)
The minimal application needed to
1 - 100 of 120 matches
Mail list logo