Changes by Gabriel Genellina gagsl-...@yahoo.com.ar:
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4015
___
___
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar:
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2576
___
___
Changes by Gabriel Genellina gagsl-...@yahoo.com.ar:
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6682
___
___
David Fraser dav...@sjsoft.com added the comment:
Ah, upon closer inspection - the special parameters $0 $1 $2 etc
mentioned in the sh docs refer to parameters within the command string,
so that:
sh -c 'echo $2 $0 $1' run for the people
produces:
the people run for
So the correct patch
Changes by David Fraser dav...@sjsoft.com:
Removed file: http://bugs.python.org/file14697/current-2.6.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6689
___
Changes by David Fraser dav...@sjsoft.com:
Removed file: http://bugs.python.org/file14698/current-3.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6689
___
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
%HOME% isn't set by Windows.
%HOMEDRIVE%%HOMEPATH% points to the user's home directory.
%USERPROFILE% is where the user's profile is stored, and may or may not
be the same as his home directory.
%HOMEDRIVE%%HOMEPATH% should be used
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
That's exactly the change 2to3 would suggest for that line. The guy
doing the conversion must have missed it.
--
nosy: +gagenellina
___
Python tracker rep...@bugs.python.org
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Done.
I've put Christian in the loop since he implemented the PEP 370
feature, to make sure these changes are fine with him.
--
nosy: +christian.heimes
Added file: http://bugs.python.org/file14719/site.patch
Changes by Tarek Ziadé ziade.ta...@gmail.com:
Removed file: http://bugs.python.org/file14707/site.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6693
___
New submission from Bogdan Opanchuk b...@bk.ru:
I am sorry if the same issue was already considered and rejected for
some reason; quick search did not show any traces of it.
What I am going to write here is just a proof of concept, but if the
idea of the patch is acceptable, I am eager to
Changes by Bogdan Opanchuk b...@bk.ru:
--
keywords: +patch
Added file: http://bugs.python.org/file14720/patch.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6701
___
Changes by Bogdan Opanchuk b...@bk.ru:
Added file: http://bugs.python.org/file14721/client.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6701
___
___
Changes by Bogdan Opanchuk b...@bk.ru:
Added file: http://bugs.python.org/file14722/server.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6701
___
___
Changes by Bogdan Opanchuk b...@bk.ru:
Added file: http://bugs.python.org/file14723/test_xmlrpc.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6701
___
Changes by Bogdan Opanchuk b...@bk.ru:
Added file: http://bugs.python.org/file14724/xmlrpc_overload.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6701
___
New submission from paolo paolo.fr...@libero.it:
I wish to propose a useful and smart method modify in Tkinter Library:
Previously to scroll this widget we had to write an external function
(recalling xview_moveto and xview_scroll).
With my method this operation is cleared and the same as all
Guilherme Polo ggp...@gmail.com added the comment:
Please take a look on issue6180. Closing this as duplicate.
Also consider checking the issue 1135, your comments are welcome on both
issues and may help getting the fix committed.
--
nosy: +gpolo
resolution: - duplicate
status: open -
Changes by Raghuram Devarakonda draghu...@gmail.com:
--
nosy: +draghuram
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6701
___
___
Guilherme Polo ggp...@gmail.com added the comment:
Committed on r74446, will merge into py3k.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3344
Guilherme Polo ggp...@gmail.com added the comment:
Committed on r74447, will merge into py3k.
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3926
Guilherme Polo ggp...@gmail.com added the comment:
This has been commited on r74448 now, will merge into py3k.
--
resolution: - accepted
status: open - closed
versions: +Python 2.7, Python 3.2 -Python 2.5, Python 2.6
___
Python tracker
Guilherme Polo ggp...@gmail.com added the comment:
This is now obsolete since r74448 and r74449, closing.
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6180
___
Guilherme Polo ggp...@gmail.com added the comment:
This has been commited on r74448 now, will merge into py3k.
py3k: r74450
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1135
___
Guilherme Polo ggp...@gmail.com added the comment:
Committed on r74447, will merge into py3k.
py3k: r74450
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3926
___
Guilherme Polo ggp...@gmail.com added the comment:
Committed on r74446, will merge into py3k.
py3k: r74450
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue3344
___
Mark Dickinson dicki...@gmail.com added the comment:
+1 from me too; I agree the current API of PyBytes_FromObject is ugly.
Is there still a need for a separate C function for creating a zero-
initialized bytes object from a Py_ssize_t or a Python integer? It's a
fairly simple operation
New submission from Chris Withers ch...@simplistix.co.uk:
Hi All,
Line 355 of this code on the 2.6 branch and trunk:
http://svn.python.org/view/python/branches/release26-
maint/Lib/doctest.py?view=annotate
http://svn.python.org/view/python/trunk/Lib/doctest.py?annotate=69012
...contain a
Matthias Troffaes matthias.troff...@gmail.com added the comment:
Thanks for the feedback!
Attaching a new patch which implements tp_free_list slot as suggested -
I hope I did it correctly. I've only implemented the new slot for dict
so far, but I'm happy to tp_free_list-ify the other freelist
jan matejek jmate...@suse.cz added the comment:
for completenes, here's a patch that's in use in SUSE. it's advantage
over Fedora's is that it works on both 32bit and 64bit installs
--
Added file: http://bugs.python.org/file14726/Python-2.6.2-multilib.patch
Giorgio gior...@gilestro.tk added the comment:
I am not sure where we stand with this issue. It seems to be an old one.
urllib2 still claim (as of python 2.6) the following;
# Strictly (according to RFC 2616), 301 or 302 in response
# to a POST MUST NOT cause a redirection without confirmation
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Guido, do you want a slot assigned for this?
--
assignee: - gvanrossum
nosy: +gvanrossum, rhettinger
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6695
Mark Dickinson dicki...@gmail.com added the comment:
Closing this as a won't fix: as far as I can tell, the test failure is
due to a platform deficiency (string - float conversions provided by the
C standard library aren't correctly rounded; moreover, they're not
accurate enough that
Guido van Rossum gu...@python.org added the comment:
A slot in every type object for this purpose seems wasteful; the large
majority of types won't have a free list. (Remember, each user-defined
class allocates a full type structure on the heap.)
--
assignee: gvanrossum -
Sridhar Ratnakumar sridh...@activestate.com added the comment:
[...]
test_poll
test_popen
test_poplib
stub-asunix.sh: line 238: 25474 Unknown signal 32 $PYTHON
$installdir/lib/python?.?/test/regrtest.py -w -u all,-curses,-audio,-
network -x $SKIPS
stub: core Python test suite FAILED
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Marking the PyXXX_ClearFreeList version as approved.
--
resolution: - accepted
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6695
New submission from Frank Wierzbicki fwierzbi...@gmail.com:
For statements like:
for a,b in c:
pass
The Tuple node a,b ends up with a col_offset of 0 (the position of the
for), but the col_offset should probably be 4 (the position of a).
This is more consistent with other Tuple node
Benjamin Peterson benja...@python.org added the comment:
How about removing it and seeing if tests fail?
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6703
___
Frank Wierzbicki fwierzbi...@gmail.com added the comment:
Adding tests to test_ast.py for the three cases that exercise the for
a,b scenario. Also fixed a small bug in the test code generator in
test_ast.py
--
Added file: http://bugs.python.org/file14728/ast.diff
Tarek Ziadé ziade.ta...@gmail.com added the comment:
The code works as expected because it uses os.path.expanduser('~'),
which will look to the right values depending on the platform.
So it's just the documentation that is wrong about how distutils behaves
under Windows.
I'll fix this doc
John J Lee jj...@users.sourceforge.net added the comment:
This issue is not a bug, and should be closed. It was discussed at
length many years ago (different bug tracker ticket), and resolved.
Since then the same issue seems to come up every year or so,
apparently raised by people who
Giorgio gior...@gilestro.tk added the comment:
I don't know what this is a workaround *for*.
As you can see yourself, that code does a complete redirection, taking
along the post_data too which is simply not possible by default (and
that is obviously a pain in the neck).
I never said it was
New submission from Michael Gruen gru...@gmail.com:
I am new, I apologize if this is a trivial or non-problem. I have
researched for hours, tried every variant but cannot understand why this
doesn't work.
--
components: None
messages: 91572
nosy: mgruen
severity: normal
status: open
R. David Murray rdmur...@bitdance.com added the comment:
strip removes any of a set of characters from the beginning and end of a
string, not the middle.
Please refer questions such as this to python-list or python-tutor.
There are many helpful people on those lists who will help you learn
Eric Smith e...@trueblade.com added the comment:
Good advice from R. David. In addition, you'll find the help command useful:
help(''.strip)
Help on built-in function strip:
strip(...)
S.strip([chars]) - string or unicode
Return a copy of the string S with leading and trailing
R. David Murray rdmur...@bitdance.com added the comment:
The only way I can think of to fix this that won't fail in the case
where the body ends with just '\r' (rather than '\r\n' the way the test
body does) is to have feedparser keep track of what the overall line
endings for the stream being
STINNER Victor victor.stin...@haypocalc.com added the comment:
The error occurs in Py_Main(), on _PyUnicode_AsString(commandObj). The
problem is that _PyUnicode_AsString() is not checked for error. Here is
a patch fixing two errors:
- display on error message instead of a crash on
STINNER Victor victor.stin...@haypocalc.com added the comment:
First, gzip should use its own errors: this issue depends on #6584.
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6669
R. David Murray rdmur...@bitdance.com added the comment:
Since 6584 is deemed (correctly, IMO) a feature request, this one must
be as well.
--
dependencies: +gzip module has no custom exception
keywords: +easy
nosy: +r.david.murray
priority: - normal
stage: - test needed
type:
New submission from Giampaolo Rodola' billiej...@users.sourceforge.net:
An old bad design choice in asyncore is how it forces the user to
override handle_accept() and then call self.accept() to obtain a socket
pair.
def handle_accept(self):
conn, addr = self.accept()
The
New submission from Dino Viehland di...@microsoft.com:
from types import ModuleType as M
m = M.__new__(M)
dir(m)
In 2.5 this raises an exception about not having __dict__, 2.6.2
crashes out right.
--
components: Interpreter Core
messages: 91580
nosy: DinoV
severity: normal
status:
STINNER Victor victor.stin...@haypocalc.com added the comment:
I agree that the C type 'char' is a byte, not a character. So Python3
should creates a Python bytes object for the ctypes c_char_p type.
Since Python 3.1 is out, is it too late to change it in the 3.x branch?
:-) Maybe for Python
Nick Coghlan ncogh...@gmail.com added the comment:
Reopening - this should be rejected by the compiler as a SyntaxError,
since it is the comprehension equivalent of writing return Value
inside a generator function.
Specifically, in 3.x, the equivalent written out code is:
while True:
Jacob Rus jacobo...@gmail.com added the comment:
Okay, here's a version of this patch which (a) adds deprecation warnings,
and (b) doesn't bother with lazy init. It should still be nearly
completely backwards compatible with the previous mimetypes module.
--
Added file:
New submission from starz b_lyn...@yahoo.com:
# -- SOURCE ---
# cheerleading program
word = raw_input(Who do you go for? )
for letter in word:
call = Gimme a + letter + !
print (call)
print (letter) + !
print( What does that spell?)
print( word + !)
# --- end source
Jacob Rus jacobo...@gmail.com added the comment:
And at Rietveld, patch version 5:
http://codereview.appspot.com/107042
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6626
___
Skip Montanaro s...@pobox.com added the comment:
Try it at the help prompt without the parens (you're not calling
it here, just asking for the documentation on the name raw_input.
help raw_input
Help on built-in function raw_input in module __builtin__:
raw_input(...)
raw_input([prompt])
Benjamin Peterson benja...@python.org added the comment:
raw_input() has been renamed to input() in Python 3.
--
nosy: +benjamin.peterson
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6708
Changes by Benjamin Peterson benja...@python.org:
--
type: - behavior
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6709
___
___
Python-bugs-list
Terry J. Reedy tjre...@udel.edu added the comment:
If a change is make, 'remove (delete)' would be sufficient.
--
nosy: +tjreedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6677
___
New submission from Benjamin Peterson benja...@python.org:
I think we might need to devise some way to add custom validation when
AST is being compiled. For example, you can also pass a level to
ImportFrom which is -1.
x = ast.parse(try: x\nexcept y: pass)
del x.body[0].handlers[:]
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I concur with Martin's reasons for closing the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1660179
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
I concur with Martin's reasons for closing the patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1660179
___
Raymond Hettinger rhettin...@users.sourceforge.net added the comment:
Does anyone here know why GC calls the free_xxx functions? ISTM, they
cannot be involved in cycles. Free lists are kept by container objects
to speed-up allocation. Having GC call the free_xxx just slows down the
GC process
Gregory P. Smith g...@krypto.org added the comment:
Note that http://bugs.python.org/issue4879 may have already fixed this
problem in trunk r68532.
--
nosy: +gregory.p.smith
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2576
65 matches
Mail list logo