Jan Hosang jan.hos...@gmail.com added the comment:
Maybe you could create a file without read permission (000) and try
to read from it.
I just checked. If I don't have read permissions, I am not able to open
the file. When I open a file and change permissions afterwards, I can read
the
Jan Hosang jan.hos...@gmail.com added the comment:
The patch works, as this is what is implicitly happening anyway if you use
the function. There seem to be no tests for this function, so there is
nothing to break. I guess this is the right time to get some tests.
Gabriel, would you like to
Marc-Andre Lemburg m...@egenix.com added the comment:
Thanks for reporting this.
It appears that Benjamin tried to undo the .compiler attribute renaming
Tarek had applied and r72586, but forgot to change back line 303 to the
original version:
{{{
# Setup the CCompiler object that we'll
New submission from Mark Dickinson dicki...@gmail.com:
The single-argument form of the builtin round function can give
incorrect results for large integers.
x = 5e15+1
x == int(x)
True
x == round(x) # expect True here
False
x
5001.0
round(x)
5002.0
int(x)
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
So the discussion is now on 2 points:
1. Is the change backwards compatible? (at the code level, after
recompilation). My answer is yes, because all known case
transformations stay in the same plane: if you pass a char in the BMP,
they
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Thanks for noticing, I'll rename it in the maintenance branch, but I
need to wait for Barry to give me the green light since the 2.6 branch
is frozen right now.
--
nosy: +barry
___
Python tracker
Bheemesh bheem...@gmail.com added the comment:
Hello Tarek,
done in r75192 and r75194. Thanks Till !
Can you please tell me how to get this correction into use?
--
nosy: +bheemesh
___
Python tracker rep...@bugs.python.org
Bert Vermeulen b...@biot.com added the comment:
This is not a python bug, but a bug in the underlying libc. A simple
getaddrinfo() call in C exhibits the exact same behavior. It has been
fixed at some point; I see this bug on Centos 3.3 but not on Centos 4.4,
for example.
I've attached a small
New submission from Michael Foord mich...@voidspace.org.uk:
distutils package installation isn't compatible with IronPython.
To reproduce first install IronPython 2.6 (RC1 is currently latest
version) from the msi installer. This installs by default on Windows
into C:\Program Files\IronPython
Changes by Michael Foord mich...@voidspace.org.uk:
--
keywords: +26backport
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7071
___
___
Michael Foord mich...@voidspace.org.uk added the comment:
Hmmm... ok, so I was running on Vista where a normal user can't create
files in the Program Files directory anyway. If I run with elevated
permissions then I get the same error as reported on the IronPython
issue on codeplex (which is
Bheemesh bheem...@gmail.com added the comment:
I just took download of the latest python 2.6.3 which was updated on 2nd
OCT 09, and found that while tarball creation everything looks OK, but
when we un-tar the archive the permissions goes back to the current user
logged in. Can this be set to
Barry A. Warsaw ba...@python.org added the comment:
Tarek, please commit this fix before 2.6.4rc1 (i.e. asap :)
--
priority: - release blocker
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7068
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Hi Bheemesh,
This is a new feature, so it was added in the current trunk that will
become 2.7 and 3.2.
So unfortunately, you can't have it in any 2.6 release.
A workaround is to create your own sdist command, that includes the
changes made
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Done in r75269. Thanks Shun-ichi and Marc-André
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7068
___
Changes by Ralf Schmitt sch...@gmail.com:
--
nosy: +schmir
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7064
___
___
Python-bugs-list mailing
Bheemesh bheem...@gmail.com added the comment:
HI Tarek,
Thanks very much for a quick reply here.
since i am new to this , can you help me with sdist command to have the
latest changes?
Best Regards,
Bheemesh
On Tue, Oct 6, 2009 at 5:59 PM, Tarek Ziadé rep...@bugs.python.org wrote:
Tarek
anatoly techtonik techto...@gmail.com added the comment:
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Yes but fixing this inconsitency can be done on either side:
A - remove the maintainer and maintainer_email
B - add the Maintainer and Maintainer-email in the metadata
If we don't
Marc-Andre Lemburg m...@egenix.com added the comment:
anatoly techtonik wrote:
anatoly techtonik techto...@gmail.com added the comment:
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Yes but fixing this inconsitency can be done on either side:
A - remove the maintainer and
Eduardo Aguiar agu...@users.sourceforge.net added the comment:
Another try. I have opened a file for writing, and have tried to read
from it:
fp = open ('xxx', 'w')
fp.read ()
Traceback (most recent call last):
File stdin, line 1, in module
IOError: [Errno 9] Bad file descriptor
--
New submission from Naoki INADA songofaca...@gmail.com:
Old FreeBSD's libc has a bug relate to utf-8 locale and Python have
patch for it: http://svn.python.org/view/python/trunk/Include/pyport.h?
view=diffpathrev=43219r1=36792r2=36793
This bug appears in Mac OS X again. This test fails:
s =
anatoly techtonik techto...@gmail.com added the comment:
On Tue, Oct 6, 2009 at 4:04 PM, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
Please, be specific. PyPi maintainer or trac-plugin package maintainer
or debian package maintainer? Which should be mentioned in debian
package for a
Jan Hosang jan.hos...@gmail.com added the comment:
Thanks Aduardo! (I could have sworn I tried that.) I changed the test to
reading from a file in 'wb' mode, which raised a EOFError before and now
raises IOErrors.
--
Added file: http://bugs.python.org/file15055/array_ioerror.patch
Ezio Melotti ezio.melo...@gmail.com added the comment:
To fix this problem is enough to add an !important to the margin: 0;
rule in the @media print {} at the end of basic.css (line 408).
I'll try to explain why the !important is necessary.
In default.css @import url(basic.css); (correctly)
Marc-Andre Lemburg m...@egenix.com added the comment:
anatoly techtonik wrote:
anatoly techtonik techto...@gmail.com added the comment:
On Tue, Oct 6, 2009 at 4:04 PM, Marc-Andre Lemburg
rep...@bugs.python.org wrote:
Please, be specific. PyPi maintainer or trac-plugin package maintainer
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Here is an updated patch with the superfluous timing function removed.
Please advise me on how you don't like the implementation
I'm also considering adding a '--quiet' flag that causes it to only emit
the 'total' line. This is
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
And here is the actual patch.
--
Added file: http://bugs.python.org/file15056/pybench.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7029
Andrey Petrov andrey.pet...@shazow.net added the comment:
Once upon a time I wrote a library that did some of this among other things:
http://code.google.com/p/urllib3/
Or specifically:
http://code.google.com/p/urllib3/source/browse/trunk/urllib3/filepost.py
The code was borrowed from some of
Adam Nelson a...@varud.com added the comment:
This seems a bit serious for inclusion in 2.7 IMHO. urllib is used in all
sorts of hackish ways in the wild and I really wonder if this is going to
cause more problems for people than it's worth. The 3.x series alone
seems like the best place
Marc-Andre Lemburg m...@egenix.com added the comment:
It's not as easy as that.
The functions for case conversion are used in a way that assumes they
never fail (and indeed, the existing functions cannot fail).
What we can do is change the input parameter to Py_UCS4, but not the
Py_UNICODE
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
Tests added.
--
Added file: http://bugs.python.org/file15057/inspect.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7069
___
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar:
Removed file: http://bugs.python.org/file15052/inspect.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7069
___
Marc-Andre Lemburg m...@egenix.com added the comment:
Kristján Valur Jónsson wrote:
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Here is an updated patch with the superfluous timing function removed.
Please advise me on how you don't like the implementation
The
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
that would cause lots of compiler
warnings and implicit truncation on UCS2 builds
Unfortunately, there is no such warning, or the initial problem we are trying
to solve would have been spotted by such a warning (unicode_repr() calls
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Patch applied with r75272.
Merged to py3k, adapted and regenerated files with r75274.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
Jesse Noller jnol...@gmail.com added the comment:
This request really does need a patch+tests+doc changes - I don't know if
anyone with +commit has the time to distill the various implementations
and generate something.
--
nosy: +jnoller
___
Python
Changes by Jesse Noller jnol...@gmail.com:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6670
___
___
Python-bugs-list mailing list
Jesse Noller jnol...@gmail.com added the comment:
I posted to the wrong bug, apologies
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6670
___
Jesse Noller jnol...@gmail.com added the comment:
This request really does need a patch+tests+doc changes - I don't know if
anyone with +commit has the time to distill the various implementations
and generate something.
--
nosy: +jnoller
___
Python
Changes by Amaury Forgeot d'Arc amaur...@gmail.com:
Added file: http://bugs.python.org/file15058/unicodectype_ucs4_3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue5127
___
New submission from Jose Antonio Martin H jamart...@fdi.ucm.es:
Python 2.6.3 (r263rc1:75186, Oct 2 2009, 20:40:30) [MSC v.1500 32 bit
(Intel)] on win32
That is the python that is installed with the python 2.6.3 installer.
--
components: Installation
messages: 93667
nosy: jamartinh
Ezio Melotti ezio.melo...@gmail.com added the comment:
This is a known issue, 2.6.4 will be out soon. See
http://mail.python.org/pipermail/python-committers/2009-October/000648.html
--
nosy: +ezio.melotti
resolution: - later
stage: - committed/rejected
status: open - closed
New submission from Terry J. Reedy tjre...@udel.edu:
Attached file run from IDLE edit window with 3.1, winxp works fine--
turtle moves in response to cursor keys-- if quit soon enough.
But after about 1000 key repeats, pythonw crashes with standard MSVC++
runtime error window, pythonw error
Changes by Terry J. Reedy tjre...@udel.edu:
Removed file: http://bugs.python.org/file15059/turtlecrash.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7074
___
Terry J. Reedy tjre...@udel.edu added the comment:
resubmitting file
--
Added file: http://bugs.python.org/file15060/turtlecrash.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7074
___
Senthil Kumaran orsent...@gmail.com added the comment:
AdamN, did you specifically come across a scenario which broke due to
this change? I can understand your concern, in general. The
'non-breaking' existing tests is the one of confidence factor we have in
introducing the changes.
--
Changes by Pablo Mouzo pablomo...@gmail.com:
Removed file: http://bugs.python.org/file14876/issue6845.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6845
___
Joe Amenta ament...@msu.edu added the comment:
Attached a patch that implements more thoroughly what appears to be the
intended behavior.
--
nosy: +joe.amenta
Added file: http://bugs.python.org/file15061/fix_idioms.patch
___
Python tracker
Changes by Joe Amenta ament...@msu.edu:
Removed file: http://bugs.python.org/file15061/fix_idioms.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3563
___
Joe Amenta ament...@msu.edu added the comment:
Missed a paren in the last one... re-uploading it.
--
Added file: http://bugs.python.org/file15062/fix_idioms.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3563
Changes by Benjamin Peterson benja...@python.org:
--
assignee: collinwinter - benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3563
___
New submission from Chu-Cheng chuch...@gmail.com:
x={1:{1}}
x[1] = (x.get(1).add(2))
x
{1: None}
But...
x={1:{1}}
o = x.get(1)
o.add(2)
o
{1, 2}
x[1] = o
x
{1: {1, 2}}
--
components: None
messages: 93674
nosy: chucheng
severity: normal
status: open
title: Bug while put a set
Chu-Cheng chuch...@gmail.com added the comment:
my fault, I know what is the difference now :) sorry for bugging
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7075
Terry J. Reedy tjre...@udel.edu added the comment:
For anyone trying this on another system: you must specifically click on
and drag the mouse/turtle graphic.
Running from IDLE edit, I get no traceback in the Shell Window, unlike
with the script I attached to #7074 and now here. While I am
Jan Hosang jan.hos...@gmail.com added the comment:
I changed the patch so it does not introduce new dependencies and fails
before the patch of isabstract().
--
Added file: http://bugs.python.org/file15064/inspect.diff
___
Python tracker
New submission from Shawn Ligocki sligo...@gmail.com:
I did not notice the existence of random.SystemRandom until after I had
implemented my own version. I thought it would be nice to mention it in
the opening section. I've added a tiny note about random.SystemRandom.
What do you guys think,
56 matches
Mail list logo