Lev lgards...@gmail.com added the comment:
I,m trying to develop this patch now, but I'm facing the challenge
(wrong ref_count or list corruption in dict objects). If I can solve
it, I publish patch here.
--
___
Python tracker
Martin v. Löwis mar...@v.loewis.de added the comment:
Can you provide a patch?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6749
___
Martin v. Löwis mar...@v.loewis.de added the comment:
Can this fix be considered for inclusion in 3.1.2?
I don't think it should be integrated into 3.1. It *is* a new feature.
--
title: Add os.link() and os.symlink() and os.path.islink() support for
Windows - Add os.link() and
kai zhu kaizhu...@gmail.com added the comment:
i just found this bug independently, but yes its a bug, which i hope
gets fixed for sake of extension community:
// test.c beg
char s[4] = ab\xff;
char *foo() { return s; }
// test.c end
$ gcc -fPIC -g -c -Wall test.c
$ gcc -shared test.o -o
Vinay Sajip vinay_sa...@yahoo.co.uk added the comment:
Do you suggest to file bug report to syslog-ng maintainer?
Yes, I do. Otherwise you can't use it as a drop-in replacement, which
people would expect to be possible.
--
status: open - closed
___
Changes by Vinay Sajip vinay_sa...@yahoo.co.uk:
--
status: pending - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6667
___
___
New submission from Jackson Yang jackson.y...@augmentum.com:
# Bug Description
In a multi-threaded environment, the Win32 Python3000 built-in function
print may give the output several times.
# How to Reproduce:
import threading
event = threading.Event()
class Test(threading.Thread):
def
New submission from Juan Javier jjdomingu...@yahoo.com:
I think it is useful, at least for me, to add an argument, default, to
[Safe,Raw]ConfigParser.get that, if present, will be returned if the
methid fails to return the value.
That is, instead of rasing an exception, return default, if
New submission from rahul rahulalone1...@gmail.com:
what is the reason for this
--
components: 2to3 (2.x to 3.0 conversion tool)
messages: 91809
nosy: rahul1618
severity: normal
status: open
title: -1**2=-1
type: compile error
versions: Python 2.5
rahul rahulalone1...@gmail.com added the comment:
-1**2
-1
???
what is reason for this
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6752
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
This very example is in the documentation:
http://docs.python.org/reference/expressions.html#the-power-operator
--
nosy: +amaury.forgeotdarc
resolution: - invalid
status: open - closed
___
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
- find your .idlerc directory (probably in %USERPROFILE%)
- edit config-extensions.cfg
- remove the Control-Shift binding
- write a patch that refuses invalid keysims.
--
nosy: +amaury.forgeotdarc
stage: - needs patch
New submission from Guillaume Delcourt-Petetin gpete...@gmail.com:
Just what it says on the label :
[...]
Traceback (most recent call last):
File ./Lib/test/regrtest.py, line 618, in runtest_inner
indirect_test()
File
New submission from KAJIYAMA, Tamito rd6t-k...@asahi-net.or.jp:
In the Python/C API Reference Manual, Section Object Implementation
Support, Subsection Number Object Structures
(http://docs.python.org/3.1/c-api/typeobj.html#number-object-
structures), the definition of the PyNumberMethods
Marcin Bachry hegel...@gmail.com added the comment:
Ok, it think it's good to leave internal _quote() function operating on
bytes and convert password argument in login(). The method now works
with both str and bytes as arguments.
--
keywords: +patch
Added file:
New submission from Iñigo Serna inigose...@gmail.com:
Currently,there is no a simple way in curses bindings to get the code
associated with a key press of non ascii keystroke (f.e. ç) in terminals
configured with UTF-8 encoding.
getch returns the code for a wide character byte a byte.
But
Iñigo Serna inigose...@gmail.com added the comment:
Added patch for the documentation
--
keywords: +patch
Added file: http://bugs.python.org/file14753/curses.get_wch.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6755
Iñigo Serna inigose...@gmail.com added the comment:
Added test example
--
Added file: http://bugs.python.org/file14754/test_get_wch.py
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6755
___
Iñigo Serna inigose...@gmail.com added the comment:
Added missing file: patch against Python v2.6.2
--
Added file: http://bugs.python.org/file14755/_cursesmodule.get_wch.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6755
Jason R. Coombs jar...@jaraco.com added the comment:
In that case, what needs to be done to integrate it into 3.2?
--
title: Add os.link() and os.symlink() and os.path.islink() support for
Windows - Add os.link() and os.symlink() and os.path.islink() support for
Windows
Changes by Tarjei Huse tar...@scanmine.com:
--
assignee: georg.brandl
components: Documentation
nosy: georg.brandl, tarjei
severity: normal
status: open
title: ftplib documentation does not document what the acct parameter is used
for
type: feature request
versions: Python 2.6
New submission from Tarjei Huse tar...@scanmine.com:
Check:
http://docs.python.org/library/ftplib.html
The ftplib package does not document what the acct parameter is and how
it should be used.
Also: few methods document their return values of exceptions they raise.
--
Iñigo Serna inigose...@gmail.com added the comment:
Added patch against Python v3.1.1.
NOT TESTED!
--
versions: +Python 3.1, Python 3.2
Added file: http://bugs.python.org/file14756/_cursesmodule.311.get_wch.patch
___
Python tracker
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
The TextIOWrapper class is not thread-safe, because it calls [the
equivalent of] self.buffer.write(self.pending_bytes) before clearing
self.pending_bytes.
Of course the write() function will release the GIL, and another thread
may send
gungor gungorb...@gmail.com added the comment:
I am using Django with python to develope a web application.While I am
trying to syncronize and running the localserver, I get this issue(2516).
problem function is cagri()
Source Code:
from django.db import models
from datetime import datetime
from
gungor gungorb...@gmail.com added the comment:
TypeError at /admin/rt/randevu/add/
cagir() takes exactly 1 argument (2 given)
Request Method: GET Request URL:
http://127.0.0.1:8000/admin/rt/randevu/add/ Exception Type: TypeError
Exception
Value:
cagir() takes exactly 1 argument (2 given)
Changes by Benjamin Peterson benja...@python.org:
--
type: compile error - feature request
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2516
___
Changes by Benjamin Peterson benja...@python.org:
Removed file: http://bugs.python.org/file14758/unnamed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2516
___
gungor gungorb...@gmail.com added the comment:
I don't understand your message.You only send me my error message's xml
version
2009/8/21 Benjamin Peterson rep...@bugs.python.org
Changes by Benjamin Peterson benja...@python.org:
Removed file: http://bugs.python.org/file14758/unnamed
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Does it happen if you build python from a directory with no accented
letters?
--
nosy: +amaury.forgeotdarc
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6753
Guillaume Delcourt-Petetin gpete...@gmail.com added the comment:
Nope.
2009/8/21 Amaury Forgeot d'Arc rep...@bugs.python.org
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Does it happen if you build python from a directory with no accented
letters?
--
nosy:
Tarek Ziadé ziade.ta...@gmail.com added the comment:
Fixed, thanks for the feedback all !
--
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6556
___
Guilherme Polo ggp...@gmail.com added the comment:
Here is a patch that changes IDLE to refuse invalid key bindings.
--
keywords: +patch
nosy: +gpolo
versions: +Python 2.6, Python 2.7, Python 3.2
Added file: http://bugs.python.org/file14761/tcl_validation.diff
Changes by Demur Rumed junkm...@hotmail.com:
--
title: LOAD_CONST followed by LOAD_ATTR can be optimized to justbe a
LOAD_COST - LOAD_CONST followed by LOAD_ATTR can be optimized to just be a
LOAD_CONST
___
Python tracker
Changes by Demur Rumed junkm...@hotmail.com:
--
title: Marshal's documentation incomplete - Marshal's documentation incomplete
(Bools)
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6757
___
New submission from Demur Rumed junkm...@hotmail.com:
The following types are supported: None, integers, floating point
numbers, strings, bytes, bytearrays, tuples, lists, sets, dictionaries,
and code objects
It fails to list bools: True and False
While it states Not all Python object types
Travis H. travis+w-python@subspacefield.org added the comment:
zlibmodule.c.diff Implements all the suggested features, but I'm not
exactly sure whether it handles reference counts properly.
--
Added file: http://bugs.python.org/file14762/zlibmodule.c.diff
Travis H. travis+w-python@subspacefield.org added the comment:
Diff to tests
Implements all suggested changes save one:
I wasn't sure how to test that is_finished is clear one byte before the
end of the compressed section. Instead, I test that it is clear before
I call the compression
Martin v. Löwis mar...@v.loewis.de added the comment:
A number of other things are also missing.
types:complex,frozenset
singletons:StopIteration, Ellipsis
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6757
Changes by Cédric Krier c...@ced.homedns.org:
--
nosy: +ced
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6090
___
___
Python-bugs-list mailing
New submission from Travis H. travis+w-python@subspacefield.org:
It should be easier to write network servers and setuid programs in
python. One of the troublesome issues is that the semantics of the
setuid/getuid-related calls are quite complicated.
There are two papers on this subject
Travis H. travis+w-python@subspacefield.org added the comment:
The posixmodule.c seems to have a lot of really complex CPP logic about
what chunks to compile. If the target is to put the code there, I would
have to be guessing - next to the HAVE_GETEUID looks promising.
But wouldn't it be
Changes by Guido van Rossum gu...@python.org:
--
nosy: -gvanrossum
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue2516
___
___
Python-bugs-list
Travis H. travis+w-python@subspacefield.org added the comment:
The routines necessary for implementing Wagner's API for dropping
privileges are:
sysconf function: available in os module
_SC_NGROUPS_MAX constant: unsure
abort function: available in os module
getresuid function: needs
Jean-Paul Calderone exar...@divmod.com added the comment:
Maybe this should just be a third-party module for the time being? That
removes the question of which stdlib module to add it to for now. Plus,
since it's not just a straightforward platform API wrapper, it probably
merits separate
John P. Speno spamfil...@macspeno.com added the comment:
Hi. We encountered this issue on a Solaris 10 while building python 2.6.2.
There's a problem with reptrov's patch from 2009-01-04. The LDFLAGS in the
Makefile.pre.in patch need to be quoted also. Like so:
LDFLAGS='$(LDFLAGS)'
This
Travis H. travis+w-python@subspacefield.org added the comment:
Figured out how to test is_finished attribute of the zlib module properly.
--
Added file: http://bugs.python.org/file14764/test_zlib.py.diff
___
Python tracker rep...@bugs.python.org
Martin v. Löwis mar...@v.loewis.de added the comment:
If the logic is going to be built on top of the APIs that are already
there, I agree that it would be best to implement this as a separate
module, and upload it to pypi.python.org.
Closing as won't fix.
--
nosy: +loewis
resolution:
Jean-Paul Calderone exar...@divmod.com added the comment:
It would still be nice to have the currently unimplemented platform
wrappers added to the standard library, though. For example, as solinym
pointed out, getresuid and getresgid are not currently wrapped at all.
There may be other
Martin v. Löwis mar...@v.loewis.de added the comment:
It would still be nice to have the currently unimplemented platform
wrappers added to the standard library, though. For example, as solinym
pointed out, getresuid and getresgid are not currently wrapped at all.
There may be other
Martin v. Löwis mar...@v.loewis.de added the comment:
Would you like to work on a patch?
--
nosy: +loewis
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6508
___
Changes by Martin v. Löwis mar...@v.loewis.de:
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6508
___
___
Python-bugs-list mailing list
Demur Rumed junkm...@hotmail.com added the comment:
I've included a patched version. I went with using a function signature
of def pprint(*object, stream=None, indent=1, width=80, depth=None)
--
nosy: +serprex
Added file: http://bugs.python.org/file14765/pprint.py
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Hm, I tried a modified version of your first test, and I found another
problem with the current zlib library;
starting with the input:
x = x1 + x2 + HAMLET_SCENE# both compressed and uncompressed data
The following scenario is OK:
Changes by Rüdiger Blach ruediger.bl...@hs-wismar.de:
--
nosy: +rb09
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6748
___
___
Python-bugs-list
John P. Speno spamfil...@macspeno.com added the comment:
Furthermore, there's another bug in setup.py When extensions are built
and CPPFLAGS (or other arguments) has multiple arguments, the order of
the arguments are reversed. This is the wrong behavior. The specified
directories should be
Travis H. travis+w-python@subspacefield.org added the comment:
This is my first stab at creating a privilege module that implements
the API suggested in the second aforementioned paper.
It is syntactically correct but has some TODO items in it that must be
completed before it will work.
Changes by Chris Rebert pyb...@rebertia.com:
--
nosy: +cvrebert
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue1170
___
___
Python-bugs-list
Amaury Forgeot d'Arc amaur...@gmail.com added the comment:
Changing the signature of a well-used function is dangerous.
Why not add a function named pprint.print, with the exact same signature
as __builtin__.print?
--
nosy: +amaury.forgeotdarc
___
Art Gillespie agill...@gmail.com added the comment:
Diff attached
* Added the __enter__ and __exit__ methods to the ossaudio object.
* Updated tests so they pass (attempt to access ossaudio.closed throws
AttributeError instead of TypeError)
My first patch. Please let me know if I did anything
Travis H. travis+w-python@subspacefield.org added the comment:
On Fri, Aug 21, 2009 at 08:42:43PM +, Martin v. L??wis wrote:
Martin v. L??wis mar...@v.loewis.de added the comment:
It would still be nice to have the currently unimplemented platform
wrappers added to the standard
Travis H. travis+w-python@subspacefield.org added the comment:
Where would be the best place to put these non-POSIX calls?
I looked at posixmodule.c and it's a mess; much conditional CPP logic
governing what gets compiled, not clear where I should add something
like this there - if I should
62 matches
Mail list logo