[issue8748] integer-to-complex comparisons give incorrect results

2010-05-20 Thread Meador Inge

Meador Inge  added the comment:

2.7 patch attached.  The implementation is mostly the same as the 3.2 one, but 
there is one quirk.  Namely, 2.7 (and other 2.x's) has the following odd 
behavior:

   >>> 1j < None
   False
   >>> 1j < 1
   Traceback (most recent call last):
 File "", line 1, in 
   TypeError: no ordering relation is defined for complex numbers

To perserve this behavior I had to do the type checks for 'int', 'long', 
'complex', and 'float' at the beginning.  I tried 'PyNumber_Check' first, but 
it returns 1 for old-style classes since the number protocol is filled in for 
the 'instance' type.

--
Added file: http://bugs.python.org/file17425/issue-8748.py27.patch

___
Python tracker 

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



[issue4111] Add Systemtap/DTrace probes

2010-05-20 Thread R. David Murray

Changes by R. David Murray :


--
assignee: prescod -> 
keywords: +patch
nosy: +Garen -prescod, skip.montanaro
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



[issue8759] 2.7: wrong user site directory on Linux

2010-05-20 Thread R. David Murray

Changes by R. David Murray :


--
resolution:  -> invalid
stage:  -> 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



[issue2090] __import__ with fromlist=

2010-05-20 Thread Brett Cannon

Changes by Brett Cannon :


Removed file: http://bugs.python.org/file16936/unnamed

___
Python tracker 

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



[issue5332] csv sniffer

2010-05-20 Thread R. David Murray

R. David Murray  added the comment:

This is in fact a doc bug.  The correct way to read a csv file in python3 is to 
open it in text mode with newline=''.  The docs have been updated to reflect 
this.

--
nosy: +r.david.murray
resolution:  -> out of date
stage: needs patch -> 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



[issue8748] integer-to-complex comparisons give incorrect results

2010-05-20 Thread Meador Inge

Meador Inge  added the comment:

No problem!  I have attached the updated patch.

I am starting on the 2.7 patch now.

--
Added file: http://bugs.python.org/file17424/issue-8748.2.patch

___
Python tracker 

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



[issue1072404] Bugs in _csv module - lineterminator

2010-05-20 Thread R. David Murray

R. David Murray  added the comment:

The doc has been fixed; using lineterminator in reader has not been and is not 
likely to be implemented (unless someone wants to come forward with a patch). 
Processing files that use \r line endings does work; as indicated you use 
universal newline mode for the input file.  In Py3k you can wrap a BytesIO 
object in a TextIOWrapper to get universal newline parsing.

So, I'm closing this as wont fix, as suggested.  If someone does want to 
implement lineterminator for reader, they can open a new feature request issue.

--
nosy: +r.david.murray
resolution:  -> wont fix
stage: unit 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



[issue8720] undo findsource regression/change

2010-05-20 Thread R. David Murray

R. David Murray  added the comment:

Holger, what do you think of this alternate patch that instead makes 
getsourcefile smarter?  It's a simpler patch and doesn't change the API, and 
your tests (suitably modified) pass.

--
stage:  -> patch review
Added file: http://bugs.python.org/file17423/getsourcfile.patch

___
Python tracker 

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



[issue4111] Add Systemtap/DTrace probes

2010-05-20 Thread Jesús Cea Avión

Jesús Cea Avión  added the comment:

Ping...

We already missed the 2.7 boat. Any hope for 3.2?

--
assignee:  -> prescod
keywords: +needs review -patch
nosy: +prescod, skip.montanaro -Garen
priority: normal -> 
versions: +Python 3.2 -Python 2.7, Python 3.1

___
Python tracker 

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



[issue1436346] yday in datetime module

2010-05-20 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

> I think this should be rejected.  The OP's premise was that
> t.timetuple()[7] was unreadable, but in the modern python, the same
> can be written as t.timetuple().tm_yday.

Could I suggest such example be added to the documentation, though?
The datetime / time jungle is difficult to navigate through, and I think
for most people it is not obvious that the answer to their needs is to
look at one of the attributes of the timetuple() result...

--

___
Python tracker 

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



[issue1436346] yday in datetime module

2010-05-20 Thread Alexander Belopolsky

Alexander Belopolsky  added the comment:

I think this should be rejected.  The OP's premise was that t.timetuple()[7] 
was unreadable, but in the modern python, the same can be written as 
t.timetuple().tm_yday.  The later is only slightly less readable than the 
proposed t.yday().

For the other half of the proposal, Marc-Andre's mxDate code translates into 
only slightly more complicated stdlib datetime code:

def date_fromyday(year, yday):
   return date(year, 1, 1) + timedelta(yday - 1)

--

___
Python tracker 

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



[issue8774] tabnanny improperly handles non-ascii source files

2010-05-20 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

2010/5/20 STINNER Victor :
>
> STINNER Victor  added the comment:
>
>> You should handle the case of encoding being None.
>
> detect_encoding() never returns None for the encoding. If there is no cookie, 
> utf8 is returned by default.

Ah, right. looks ok then

--

___
Python tracker 

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



[issue8774] tabnanny improperly handles non-ascii source files

2010-05-20 Thread STINNER Victor

STINNER Victor  added the comment:

> You should handle the case of encoding being None.

detect_encoding() never returns None for the encoding. If there is no cookie, 
utf8 is returned by default.

--

___
Python tracker 

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



[issue8779] utf8 codec fails to parse a character

2010-05-20 Thread Benjamin Peterson

Changes by Benjamin Peterson :


--
resolution:  -> invalid
status: open -> closed

___
Python tracker 

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



[issue1436346] yday in datetime module

2010-05-20 Thread Alexander Belopolsky

Changes by Alexander Belopolsky :


--
assignee:  -> belopolsky

___
Python tracker 

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



[issue8774] tabnanny improperly handles non-ascii source files

2010-05-20 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

You should handle the case of encoding being None.

--

___
Python tracker 

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



[issue8774] tabnanny improperly handles non-ascii source files

2010-05-20 Thread STINNER Victor

STINNER Victor  added the comment:

> The correct fix is to use tokenize.detect_encoding, 
> if anyone wants to provide a patch.

done :-) Attached patch opens the file in binary mode to call 
tokenize.detect_encoding() and then use the encoding to open the file a second 
time (in text (unicode) mode).

--
nosy: +haypo
Added file: http://bugs.python.org/file17422/tabnanny_detect_encoding.patch

___
Python tracker 

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



[issue8774] tabnanny improperly handles non-ascii source files

2010-05-20 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

The correct fix is to use tokenize.detect_encoding, if anyone wants to provide 
a patch.

--
nosy: +benjamin.peterson

___
Python tracker 

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



[issue1436346] yday in datetime module

2010-05-20 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +belopolsky, mark.dickinson
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



[issue8778] typo in docs for symtable.SymbolTable.has_import_star

2010-05-20 Thread Benjamin Peterson

Benjamin Peterson  added the comment:

Thanks. Fixed in r81385.

--
nosy: +benjamin.peterson
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



[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-20 Thread Antoine Pitrou

Changes by Antoine Pitrou :


--
nosy: +tarek

___
Python tracker 

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



[issue7384] curses crash on FreeBSD

2010-05-20 Thread STINNER Victor

STINNER Victor  added the comment:

I tested issue7384-5-py3k.patch on FreeBSD 8.0: it fixes the crash.

--
nosy: +haypo

___
Python tracker 

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



[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-20 Thread Orlando Irrazabal

Orlando Irrazabal  added the comment:

I answer your questions

- yes, i have a file named /sw_install/python-2.6.5/Lib/site.py
- the output for the commands "import sys; print sys.path" is:
 ['', '/sw_install/python-2.6.5/lib/python26.zip', 
'/sw_install/python-2.6.5/lib/python2.6/', 
'/sw_install/python-2.6.5/lib/python2.6/plat-aix5', 
'/sw_install/python-2.6.5/lib/python2.6/lib-tk', 
'/sw_install/python-2.6.5/lib/python2.6/lib-old', 
'/sw_install/python-2.6.5/lib/python2.6/lib-dynload']
   , but my lib directory is named "Lib" not "lib".
   This problem may be because i haven't installed it yet?
- yes, the file "cStringsIO.so" exists in the directory 
/sw_install/python-2.6.5/build/lib.aix-5.3-2.6

thanks

/sw_install/python-2.6.5/Lib/site.py

El 20/05/2010 18:42, Amaury Forgeot d'Arc escribió:
> Amaury Forgeot d'Arc  added the comment:
>
> no, the input is not the same, there is "ImportError: No module named site". 
> I have tree more questions:
>
> - Do you have a file named: /sw_install/python-2.6.5/Lib/site.py
> - what it the output when you type "import sys; print sys.path"
> - is there a file named "cStringIO.so" somewhere in the build tree?
>
> --
>
> ___
> Python tracker
> 
> ___
>

--

___
Python tracker 

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



[issue4870] ssl module is missing SSL_OP_NO_SSLv2

2010-05-20 Thread Giampaolo Rodola'

Giampaolo Rodola'  added the comment:

I like the approach of providing this feature as a single attribute instead of 
two separate methods (set/get_options()).
For what it's worth, I took a look at the patch without actually trying it, and 
it looks good overall, both tests and documentation which is particularly clear.

--

___
Python tracker 

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



[issue8779] utf8 codec fails to parse a character

2010-05-20 Thread STINNER Victor

STINNER Victor  added the comment:

$ hexdump  -C 1.txt 
  ec 0d 0a  |...|
0003

This file is *not* encoded to utf8.

--
nosy: +haypo

___
Python tracker 

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



[issue8779] utf8 codec fails to parse a character

2010-05-20 Thread Roman Gershman

New submission from Roman Gershman :

The following code fails to parse the attached file:


#!/usr/bin/python3.1

if __name__ == '__main__':
 f = open("c:\\1.txt", mode ='r', encoding='utf-8')
 for line in f:
 print (line)

--
components: Unicode
files: 1.txt
messages: 106195
nosy: Roman.Gershman
priority: normal
severity: normal
status: open
title: utf8 codec fails to parse a character
versions: Python 3.1
Added file: http://bugs.python.org/file17421/1.txt

___
Python tracker 

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



[issue8778] typo in docs for symtable.SymbolTable.has_import_star

2010-05-20 Thread Terrence Cole

New submission from Terrence Cole :

The documentation for symtable.SymbolTable 
[http://docs.python.org/py3k/library/symtable.html] lists the function 
has_import_start.  This should be has_import_star, as listed in 
help(symtable.SymbolTable).

I've attached a patch, although it would probably be faster for a committer to 
just remove the 't' themselves.

--
assignee: d...@python
components: Documentation
files: fix-has-import-star-doc.diff
keywords: patch
messages: 106194
nosy: d...@python, terrence
priority: normal
severity: normal
status: open
title: typo in docs for symtable.SymbolTable.has_import_star
versions: Python 3.1, Python 3.2, Python 3.3
Added file: http://bugs.python.org/file17420/fix-has-import-star-doc.diff

___
Python tracker 

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



[issue8766] Segmentation fault with empty "encodings" subdirectory of directory in PYTHONPATH

2010-05-20 Thread STINNER Victor

STINNER Victor  added the comment:

> Ok, buildbots are happy: backported as r81383 in 3.1

My test doesn't work on Windows. We cannot delete a directory if it's the 
current working directory: let's try r81384.

py3k commit is simpler because it uses support.test_cwd() ;-)

--

___
Python tracker 

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



[issue8760] Python 2.6.5 fails to build on AIX 5.3

2010-05-20 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

no, the input is not the same, there is "ImportError: No module named site". I 
have tree more questions:

- Do you have a file named: /sw_install/python-2.6.5/Lib/site.py
- what it the output when you type "import sys; print sys.path"
- is there a file named "cStringIO.so" somewhere in the build tree?

--

___
Python tracker 

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



[issue8745] zipimport is a bit slow

2010-05-20 Thread Goplat

Goplat  added the comment:

Zipping up the Lib directory from the python source (1735 files) as a test, it 
took on average 0.10 sec to read the zip before, 0.04 sec after.

(To test the time taken by zipimport isolated from other startup costs, instead 
of actually getting the zip in the import path, I just ran

import time, zipimport; start = time.clock(); 
zipimport.zipimporter("lib.zip"); print time.clock() - start)

--

___
Python tracker 

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



[issue8766] Segmentation fault with empty "encodings" subdirectory of directory in PYTHONPATH

2010-05-20 Thread STINNER Victor

STINNER Victor  added the comment:

> Fix commited to py3k (r81364).

Ok, buildbots are happy: backported as r81383 in 3.1

--
status: pending -> closed

___
Python tracker 

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



[issue967934] csv module cannot handle embedded \r

2010-05-20 Thread R. David Murray

R. David Murray  added the comment:

At some point I added test_roundtrip_quoteed_newlines to the csv unit tests, 
and it passes both on trunk and py3k.  I believe if there was a bug here it has 
been fixed.  I just backported the test to 2.6 in r81382, and it passes there 
as well.  Closing as out of date.

Heh, I just noticed that the method name is misspelled :(

--
nosy: +r.david.murray
resolution:  -> out of date
stage: unit 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



[issue3132] implement PEP 3118 struct changes

2010-05-20 Thread Mark Dickinson

Mark Dickinson  added the comment:

One more reference:

http://msdn.microsoft.com/en-us/library/9dbwhz68(v=VS.80).aspx

gives essentially the same rules for MSVC. "The alignment of the beginning of a 
structure or a union is the maximum alignment of any individual member. Each 
member within the structure or union must be placed at its proper alignment as 
defined in the previous table, which may require implicit internal padding, 
depending on the previous member."

--

___
Python tracker 

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



[issue1659] Tests needing network flag?

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
assignee: skip.montanaro -> 

___
Python tracker 

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



[issue2623] Patch: xmlrpclib client ignores datetime tzinfo when creating iso8601 dates

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
assignee: skip.montanaro -> 

___
Python tracker 

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



[issue1374063] Broader iterable support for xmlrpclib

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
assignee: skip.montanaro -> 

___
Python tracker 

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



[issue1289118] timedelta multiply and divide by floating point

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4007] make clean fails to delete .a and .so.X.Y files

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue6715] xz compressor support

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue2736] datetime needs an "epoch" method

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue8392] unit tests rather light on testing __import__(..., level)

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1759169] clean up Solaris port and allow C99 extension modules

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue504152] rfc822 long header continuation broken

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1644818] Allow built-in packages and submodules as well as top-level modules

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4835] SIZEOF_SOCKET_T not defined

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1818] Add named tuple reader to CSV module

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4194] default subprocess.Popen buffer size

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1083] Confusing error message when dividing timedelta using /

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue5671] Speed up pickling of lists in cPickle

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4111] Add Systemtap/DTrace probes

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
assignee: skip.montanaro -> 
nosy:  -skip.montanaro

___
Python tracker 

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



[issue2054] add ftp-tls support to ftplib - RFC 4217

2010-05-20 Thread Giampaolo Rodola'

Changes by Giampaolo Rodola' :


--

___
Python tracker 

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



[issue8406] Make some setup.py paths exclude-able

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1659] Tests needing network flag?

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1544339] _ctypes fails to build on Solaris x86 32-bit (Sun compiler)

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1777412] Python's strftime dislikes years before 1900

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4753] Faster opcode dispatch on gcc

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue8759] 2.7: wrong user site directory on Linux

2010-05-20 Thread Sridhar Ratnakumar

Sridhar Ratnakumar  added the comment:

Thanks.

> there is an install scheme in distutils that describes the exact layout

I figured that this is now exposed via the `sysconfig` module. There is also an 
old install scheme in `distutils.command.install`, but it seems to be outdated 
and is only applicable for 2.6.

My understanding is that, installers such as PyPM should use the scheme in 
distutils.command.install on 2.6 and the new sysconfig scheme for 2.7+.

Please feel free to close this issue (I can do it, but do not have the 
privileges to set the resolution field.)

--

___
Python tracker 

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



[issue1927] raw_input behavior incorrect if readline not enabled

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue7686] redundant open modes 'rbb', 'wbb', 'abb' no longer work on Windows

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue5683] Speed up cPickle's pickling generally

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue7353] cporting docs recommend using Include/intobject.h, which was removed in 3.1?

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4896] Faster why variable manipulation in ceval.c

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4888] misplaced (or misleading) assert in ceval.c

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue2262] Helping the compiler avoid memory references in PyEval_EvalFrameEx

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4810] timeit needs "official" '--' flag

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue3173] external strftime for Python?

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4086] support %z format in time.strftime and _strptime?

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue3539] Problem with pgen make dependencies in certain circumstances

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue2623] Patch: xmlrpclib client ignores datetime tzinfo when creating iso8601 dates

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1374063] Broader iterable support for xmlrpclib

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue766910] fix one or two bugs in trace.py

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue7475] codecs missing: base64 bz2 hex zlib ...

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue7247] test_fcntl_64_bit from test_fcntl.py fails in Python 2.6.4

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue6186] test_thread occasionally reports unhandled exceptions on OS X

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue7185] csv reader utf-8 BOM error

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue6105] json.dumps doesn't respect OrderedDict's iteration order

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue5148] gzip.open breaks with 'U' flag

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4010] configure options don't trickle down to distutils

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue6695] PyXXX_ClearFreeList for dict, set, and list

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue5736] Add the iterator protocol to dbm modules

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue6520] urllib.urlopen does not have timeout parameter where as urllib2.urlopen has

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4506] 3.0 make test failures on Solaris 10

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue6251] c++ extension module implementation guide/example in extending/embedding documentation

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue998998] pickle bug - recursively memoizing class?

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue4106] multiprocessing occasionally spits out exception during shutdown

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1581906] test_sqlite fails on OS X if test_ctypes is run

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1467929] %-formatting and dicts

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue2403] Add figleaf coverage metrics

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1054] scriptsinstall target fails in alternate build dir

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1776160] Buffer overflow when listing deeply nested directory

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1675455] Use getaddrinfo() in urllib2.py for IPv6 support

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1690103] trace module borks __file__

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1563079] code.InteractiveConsole() and closed sys.stdout

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue5332] csv sniffer

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1072404] Bugs in _csv module - lineterminator

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue967934] csv module cannot handle embedded \r

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1109602] Need some setup.py sanity

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1371826] distutils is silent about multiple -I/-L/-R

2010-05-20 Thread Skip Montanaro

Changes by Skip Montanaro :


--
nosy:  -skip.montanaro

___
Python tracker 

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



[issue1289118] timedelta multiply and divide by floating point

2010-05-20 Thread Daniel Stutzbach

Changes by Daniel Stutzbach :


--
nosy:  -agthorr

___
Python tracker 

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



[issue1289118] timedelta multiply and divide by floating point

2010-05-20 Thread Alexander Belopolsky

Alexander Belopolsky  added the comment:

dt.diff does not apply to current SVN version anymore.  I am attaching a quick 
update that does not change the actual calculation performed.  See 
issue1289118-py3k.diff.

I am still -1 for the reason I stated before, but I would like to review a 
working patch first before proposing a resolution.

--
keywords: +patch
Added file: http://bugs.python.org/file17419/issue1289118-py3k.diff

___
Python tracker 

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



  1   2   >