[issue4111] Add DTrace probes

2009-04-22 Thread Laszlo (Laca) Peter

Laszlo (Laca) Peter  added the comment:

Look at these lines at the beginning of phelper.d:

#if defined(__i386)
#definestartframe PyEval_EvalFrameEx
#defineendframe PyEval_EvalCodeEx
#elif defined(__amd64)
#definePyEval_EvalFrameEx PyEval_EvalFrameExReal
#definestartframe PyEval_EvalFrameExReal
#defineendframe PyEval_EvalCodeEx
#elif defined(__sparc)
#definePyEval_EvalFrameEx PyEval_EvalFrameExReal
#definestartframe PyEval_EvalFrameEx
#defineendframe PyEval_EvalFrameExReal
#endif

You may need to adjust these if your compiler defines
something different from the __i386 or __amd64.
I guess an

#else
#error your architecture was not recognized
#endif

would be useful here.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4111] Add DTrace probes

2009-04-22 Thread Robert Kern

Robert Kern  added the comment:

This is on an Intel Core 2 Duo running OS X 10.5.6. __i386 is defined.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5810] test_distutils fails - sysconfig._config_vars is None

2009-04-22 Thread Tarek Ziadé

Tarek Ziadé  added the comment:

While your fix proposal is accurate, _config_vars is initialized in the
test framework because it is used by various part.

I was unable to reproduce your issue, how do you do ?

--
versions: +Python 2.7, Python 3.0, Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5799] Change ntpath functions to implicitly support UNC paths

2009-04-22 Thread Paul Moore

Paul Moore  added the comment:

This sounds reasonable to me. I would like to see this patch applied.

Note - someone involved with the cygwin port should confirm that the
patch does indeed no longer cause issues for cygwin.

--
nosy: +pmoore

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5170] logging to file + encoding

2009-04-22 Thread shamilbi

shamilbi  added the comment:

>
> Trunk and release26-maint were recently changed (r71657, r71658) to use
> the following logic, which differs from the code snippet you posted.
>
>if (isinstance(msg, unicode) and
>getattr(stream, 'encoding', None)):
>stream.write(fs.decode(stream.encoding) % msg)
> else:
>stream.write(fs % msg)
>
> If the stream is stderr and you are passing a unicode msg, the else
> branch will not be taken; as long as the stream has an encoding
> attribute, it should output correctly.
>
> The change was made when another, similar issue was posted by another
> user (issue #5768).
>
> Can you confirm what happens with the current code as it is in
> release26-maint? спасибо!

it still doesn't work for console (but OK for files).

the following works in both cases:
if (isinstance(msg, unicode) and
getattr(stream, 'encoding', None) and
(stream == sys.stdout or stream == sys.stderr)):
stream.write(fs % msg.encode(stream.encoding))
else:
 stream.write(fs % msg)

i think it's all about the difference betwin print(msg) and
sys.stdout.write('%s\n' % msg)

shamil

--
Added file: http://bugs.python.org/file13734/unnamed

___
Python tracker 

___Trunk and release26-maint were recently changed (r71657, r71658) to 
use

the following logic, which differs from the code snippet you posted.

                    if (isinstance(msg, unicode) and
                        getattr(stream, 'encoding', 
None)):
                        stream.write(fs.decode(stream.encoding) % 
msg)
                    else:
                        stream.write(fs % msg)

If the stream is stderr and you are passing a unicode msg, the else
branch will not be taken; as long as the stream has an encoding
attribute, it should output correctly.

The change was made when another, similar issue was posted by another
user (issue #5768).

Can you confirm what happens with the current code as it is in
release26-maint? спасибо! it still 
doesn't work for console (but OK for files).the following works in 
both cases:if (isinstance(msg, unicode) and
     getattr(stream, 'encoding', None) and    (stream == 
sys.stdout or stream == sys.stderr)):    stream.write(fs % 
msg.encode(stream.encoding))else:     stream.write(fs % 
msg)i think it's all about the difference betwin print(msg) and 
sys.stdout.write('%s\n' % msg)
shamil
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5812] Fraction('1e6') should be valid.

2009-04-22 Thread Mark Dickinson

New submission from Mark Dickinson :

When the Fractions module was first added to Python, it was decided that
when constructing from a string, decimal strings should be allowed, but
not those including an exponent.  For example, Fraction('1.1') is
currently valid, but Fraction('1.1e6') is not.

I think exponents should be permitted, for a couple of reasons:

(1) consistency:  there's a clearly-defined notion of a numeric string
of the form ([sign] integer_part [fractional_part] [exponent]);  the
float and Decimal constructors both accept all numeric strings. 
Fraction currently accepts some, but not all of these.

(2) Easy interactions with floats:  with this addition, a Fraction can
always be constructed from the str() or repr() of a finite float or
finite Decimal;  without it, only some of those strings can be converted.

(3) Ease of parsing files containing numeric strings.

(4) It's a very simple change!  See attached patch.

Jeffrey, any thoughts?

--
assignee: marketdickinson
components: Library (Lib)
files: fraction_from_exp.patch
keywords: patch
messages: 86283
nosy: jyasskin, marketdickinson
priority: normal
severity: normal
stage: patch review
status: open
title: Fraction('1e6') should be valid.
type: feature request
versions: Python 2.7, Python 3.1
Added file: http://bugs.python.org/file13735/fraction_from_exp.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5799] Change ntpath functions to implicitly support UNC paths

2009-04-22 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

I confirm that the cygwin port uses posixpath, and that the current
patch has no impact there, except for users which explicitly import
ntpath to get nt semantics.

--
nosy: +amaury.forgeotdarc

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5812] Fraction('1e6') should be valid.

2009-04-22 Thread Raymond Hettinger

Raymond Hettinger  added the comment:

Also, it would be nice if the Fraction constructor accepted both a
numerator and denominator that we also fractions.  This came up in a
demonstration of continued fractions and it bombed when the denominator
was not allowed to be a Fraction itself.  The meaning is well-defined
and it is also a simple change.

--
nosy: +rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5170] logging to file + encoding

2009-04-22 Thread Vinay Sajip

Vinay Sajip  added the comment:

> i think it's all about the difference betwin print(msg) and
> sys.stdout.write('%s\n' % msg)

Yes. Actually, it's about what streams will accept. For example, a
stream opened with codecs.open(encoding='cp1251') will accept a Unicode
string and encode it before output. Likewise, a StringIO wrapped inside
a writer obtained from the codecs module.

However, stdout and stderr are of type file and seem to behave
differently - they behave as expected if I encode the value written to
them, but fail if I write a Unicode string to them.

I don't think special-casing for sys.stdout and sys.stderr in the
logging code is the correct approach. Better to put a conditional
encoding step when it's needed - now I just need to figure out all the
cases when it's needed ;-)

--
resolution: fixed -> accepted

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5812] Fraction('1e6') should be valid.

2009-04-22 Thread Mark Dickinson

Mark Dickinson  added the comment:

> Also, it would be nice if the Fraction constructor accepted both a
> numerator and denominator that we also fractions.

This makes sense to me.  It reminds me of the way that complex(real,
imag) allows real and imag to be complex numbers, and does the 'right
thing'.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5813] Pointer into language reference from __future__ module documentation

2009-04-22 Thread Nick Coghlan

New submission from Nick Coghlan :

I was explaining __future__ to someone and it occurred to me that it
would be handy to have a "see also" in that module's documentation that
pointed readers to the relevant section on future statements in the
language reference
(http://docs.python.org/reference/simple_stmts.html#future-statements)

A "see also" pointer back to PEP 326 from one of those two locations
might also be worthwhile.

--
assignee: georg.brandl
components: Documentation
messages: 86289
nosy: georg.brandl, ncoghlan
priority: low
severity: normal
status: open
title: Pointer into language reference from __future__ module documentation
type: feature request

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4111] Add DTrace probes

2009-04-22 Thread John Levon

John Levon  added the comment:

Robert, I have no idea how Mac OS does pstack helpers without generating
object files, sorry.

> no simply pid$target:a.out:: probes available.

Hmm. Try adding -Z to see if that helps.

> /Users/rkern/hg/Python-2.5.4/Include/phelper.d: line 110: relocation
> remains against user symbol D``PyEval_EvalFrameEx (offset 0x5)

This is trying to tell you that there's no such function. Indeed, this
isn't mentioned in my original patches, have you been editing it?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5170] logging to file + encoding

2009-04-22 Thread Vinay Sajip

Vinay Sajip  added the comment:

Fix checked into trunk and release26-maint.

--
resolution: accepted -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5814] SocketServer: TypeError: waitpid() takes no keyword arguments

2009-04-22 Thread Arkadiusz Miskiewicz Arkadiusz Miskiewicz

New submission from Arkadiusz Miskiewicz
Arkadiusz Miskiewicz :

SocketServer.py contains call os.waitpid(0, options=0)
but os.waitpid doesn't accept keyword arguments.

I guess the best fix is to make waitpid accept such arguments.


Traceback (most recent call 
last): 
  File "/usr/share/python2.6/SocketServer.py", line 281, in 
_handle_request_noblock
self.process_request(request, 
client_address)  
  File "/usr/share/python2.6/SocketServer.py", line 522, in 
process_request
self.collect_children
()
  File "/usr/share/python2.6/SocketServer.py", line 490, in 
collect_children   
pid, status = os.waitpid(0, 
options=0) 
TypeError: waitpid() takes no keyword arguments

--
components: Library (Lib)
messages: 86292
nosy: arekm
severity: normal
status: open
title: SocketServer: TypeError: waitpid() takes no keyword arguments
versions: Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5793] Rationalize isdigit / isalpha / tolower / ... uses throughout Python source

2009-04-22 Thread Eric Smith

Eric Smith  added the comment:

Also, see _toupper/_tolower in Objects/stringlib/stringdef.h and
Objects/stringobject.c. Those should be rationalized as well.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2980] Pickle stream for unicode object may contain non-ASCII characters.

2009-04-22 Thread Walter Doekes

Walter Doekes  added the comment:

Same issue with Django here ;-)

I wouldn't mind a protocol 3 that does <128 ascii only. If only because
debugging base64'd zlib'd protocol-2 data is not particularly convenient.

--
nosy: +wdoekes

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1566260] Better order in file type descriptions

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1565071] update Lib/plat-linux2/IN.py

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1459279] sgmllib.SGMLparser and hexadecimal numeric character refs

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5584] json.loads(u'3.14') fails unexpectedly (minor scanner bug)

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
priority:  -> high
versions:  -Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1153027] http_error_302() crashes with 'HTTP/1.1 400 Bad Request

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy -patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1500504] Alternate RFC 3986 compliant URI parsing module

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1492704] distinct error type from shutil.move()

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1436203] getpass.getpass() should allow Unicode prompts

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1500504] Alternate RFC 3986 compliant URI parsing module

2009-04-22 Thread Senthil

Changes by Senthil :


--
nosy: +orsenthil

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1648102] proxy_bypass in urllib handling of macro

2009-04-22 Thread Senthil

Changes by Senthil :


--
assignee:  -> orsenthil

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1443875] email/charset.py convert() patch

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1437051] "continue" in .pdbrc has no effect

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1438480] shutil.move raises OSError when copystat fails

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1422094] email.MIME*.as_string removes duplicate spaces

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1432343] Description of file-object read() method is wrong.

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
nosy: +pitrou
stage:  -> patch review
versions: +Python 3.1

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1398781] Example in section 5.3 "Pure Embedding" doesn't work.

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1410680] Add 'surgical editing' to ConfigParser

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1360243] Add XML-RPC Fault Interoperability to XMLRPC libraries

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1372770] email.Header should preserve original FWS

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1356969] Tix.py class HList missing info_bbox

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1394135] Deleting first item causes anydbm.first() to fail

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1314572] Trailing slash redirection for SimpleHTTPServer

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1243730] Big speedup in email message parsing

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1158490] locale fails if LANGUAGE has multiple locales

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1666318] shutil.copytree doesn't preserve directory permissions

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3565] array documentation, method names not 3.0 compliant

2009-04-22 Thread Daniel Diniz

Daniel Diniz  added the comment:

The doc patch is in scope for the Bug Day.

--
keywords: +easy
nosy: +ajaksu2
stage:  -> test needed
type:  -> feature request
versions: +Python 3.1 -Python 3.0

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5498] Can SGMLParser properly handle tags?

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
stage:  -> test needed
versions: +Python 2.6 -3rd party, Python 2.4, Python 2.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue444582] Finding programs in PATH, addition to os

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
dependencies: +replace dist/src/Tools/scripts/which.py with tmick's which
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5430] imaplib: must not replace LF or CR by CRLF in literals

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
stage:  -> test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5423] Exception raised when attempting to call set_charset on an email.mime.multipart once sub-parts have been attached

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
stage:  -> test needed
type:  -> behavior
versions: +Python 2.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5419] urllib.request.open(someURL).read() returns a bytes object so writing it requires binary mode

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
priority:  -> normal
stage:  -> needs patch
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5117] os.path.relpath problem with root directory

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
priority:  -> normal
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4712] Document pickle behavior for subclasses of dicts/lists

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1355826] shutil.move() does not preserve ownership

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
stage:  -> test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5395] array.fromfile not checking I/O errors

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
priority:  -> normal
stage:  -> test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5283] setting __class__ in __del__ is bad. mmkay. negative ref count! kaboom!

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
priority:  -> release blocker

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5259] smtplib is broken in Python3

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
dependencies: +email/base64mime.py cannot work, smtplib cannot sendmail over TLS
keywords: +easy
priority:  -> normal
stage:  -> test needed
type: crash -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5304] email/base64mime.py cannot work

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
priority:  -> high
stage:  -> test needed
type: compile error -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3921] smtplib cannot sendmail over TLS

2009-04-22 Thread Daniel Diniz

Daniel Diniz  added the comment:

The attached patch makes using smtplib in py3k possible. It isn't
proposed as a correct fix.

--
keywords: +easy, patch
nosy: +ajaksu2
priority:  -> high
stage:  -> test needed
type:  -> behavior
Added file: http://bugs.python.org/file13736/smtplib.diff

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5230] pydoc reports misleading failure if target module raises an ImportError

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
priority:  -> normal
versions: +Python 2.6, Python 3.0

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3073] Cookie.Morsel breaks in parsing cookie values with whitespace

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
priority:  -> normal
stage:  -> patch review
versions:  -Python 2.4, Python 2.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3022] mailbox module, two small fixes

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
priority:  -> normal
stage:  -> patch review
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5286] urrlib2 digest authentication problems

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
priority:  -> normal
stage:  -> test needed
type:  -> behavior

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1375011] Improper handling of duplicate cookies

2009-04-22 Thread Daniel Diniz

Daniel Diniz  added the comment:

See discussion in issue 1372650.

--
keywords: +easy
nosy: +ajaksu2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1189811] pydoc may hide non-private doc strings.

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1210680] Split email headers near a space

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1144533] htmllib quote parse error within a

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1122916] incorrect handle of declaration in markupbase

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1185124] pydoc doesn't find all module doc strings

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1243654] Faster output if message already has a boundary

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5515] 'n' formatting for int and float handles leading zero padding poorly

2009-04-22 Thread Eric Smith

Eric Smith  added the comment:

Fixed in trunk as part of r71796. Closing the issue.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5772] For float.__format__, don't add a trailing ".0" if we're using no type code and we have an exponent

2009-04-22 Thread Eric Smith

Eric Smith  added the comment:

Fixed in trunk as part of r71796. Closing the issue.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1670765] email.Generator: no header wrapping for multipart/signed

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue968430] error flattening complex smime signed message

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy, patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue974019] ConfigParser non-string defaults broken with .getboolean()

2009-04-22 Thread Daniel Diniz

Daniel Diniz  added the comment:

+1 for closing.

--
nosy: +ajaksu2
priority: normal -> low

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1015254] Create cgi.FieldStorage._get_new_instance method as factory

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
stage:  -> test needed
versions: +Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1015249] cgi.FieldStorage.__len__ eventually throws TypeError

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1012435] ctrl-left/-right works incorectly with diacritics

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
nosy: +gpolo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1500504] Alternate RFC 3986 compliant URI parsing module

2009-04-22 Thread Nick Coghlan

Nick Coghlan  added the comment:

The code itself is no longer the hard part here (hence the easy tag).

The problem is the fact that getting something like this into the
standard library is a tough sell on python-dev because it isn't really a
field tested module, but once people start downloading things from PyPI,
they're more likely to go for something like 4Suite rather than a mere
URI parsing module.

What the issue really needs is someone to champion the benefits of
having this in the standard library.

Now that it is available, it would also be worth looking at updating the
module to use collection.named_tuple instead of creating its own variant
of the same thing.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5812] Fraction('1e6') should be valid.

2009-04-22 Thread Jeffrey Yasskin

Jeffrey Yasskin  added the comment:

Sounds good to me. I can't find any real objections to the new format in
issue 1682, just me complaining that it might be feature creep.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1078919] Email.Header encodes non-ASCII content incorrectly

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1100366] Frame does not receive configure event on move

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
nosy: +gpolo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1063229] not enough information in SGMLParseError

2009-04-22 Thread Daniel Diniz

Daniel Diniz  added the comment:

Closing, the message does currently include the problematic text. The
output in both 2.5 and trunk is:
Pythonlib's error message: expected name token at ' out of date
stage: test needed -> committed/rejected
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1074333] input from numeric pad always dropped when numlock off

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
nosy: +gpolo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1100562] deepcopying listlike and dictlike objects

2009-04-22 Thread Daniel Diniz

Daniel Diniz  added the comment:

See issue 1099746 for an example that can be used as a starting point
for the unit tests.

--
keywords: +easy
nosy: +ajaksu2

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1043134] mimetypes.guess_extension('text/plain') == '.ksh' ???

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1055864] HTMLParser not compliant to XHTML spec

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5354] Add test.support.import_python_only

2009-04-22 Thread Nick Coghlan

Nick Coghlan  added the comment:

New and improved version added to 2.7 as r71799 and 3.1 as r71801.

Also cleaned up a few leftover references to test.test_support in the
test package documentation.

--
resolution:  -> accepted
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5782] ',' formatting with empty format type '' (PEP 378)

2009-04-22 Thread Eric Smith

Eric Smith  added the comment:

Checked in to trunk in r71802 and py3k in r71804.

--
resolution:  -> fixed
status: open -> closed
versions: +Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue974019] ConfigParser non-string defaults broken with .getboolean()

2009-04-22 Thread Raghuram Devarakonda

Changes by Raghuram Devarakonda :


--
resolution:  -> wont fix
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue956303] Update pickle docs to describe format of persistent IDs

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue940286] pydoc.Helper.help() ignores input/output init parameters

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
stage:  -> test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue985064] plistlib crashes too easily on bad files

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue775321] plistlib error handling

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue798058] IDLE / PyOS_InputHook

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
nosy: +gpolo

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue900112] cgi.fieldStorage doesn't grok standards env. variables

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue894936] Have a split corresponding with os.path.join

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue5256] rlcompleter adds builtins when custom dict is used

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
stage:  -> test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue1172011] BaseCookie does not call value_decode

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue3613] base64.encodestring does not actually accept strings

2009-04-22 Thread Daniel Diniz

Daniel Diniz  added the comment:

We still need to solve the  encodebytes/encodestring stuff.

--
stage:  -> test needed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue849097] Request: getpos() for sgmllib

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue868571] HTTPResponse.read(amt) fails when response length is UNKNOWN

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue845560] imaplib: traceback from _checkquote with empty string

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy, patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue834840] Unhelpful error message from cgi module

2009-04-22 Thread Daniel Diniz

Changes by Daniel Diniz :


--
keywords: +easy
versions: +Python 2.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



  1   2   >