[issue6686] xml.sax.xmlreader.XMLReader.getProperty (xml.sax.handler.property_xml_string) returns bytes

2010-07-20 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

A unit test (or even a sample script) showing the desired feature is needed.

--
nosy: +amaury.forgeotdarc
stage:  -> unit test needed

___
Python tracker 

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



[issue7171] Add inet_ntop and inet_pton support for Windows

2010-07-20 Thread Greg Hazel

Changes by Greg Hazel :


--
nosy: +ghazel

___
Python tracker 

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



[issue2244] urllib and urllib2 decode userinfo multiple times

2010-07-20 Thread Ray.Allen

Ray.Allen  added the comment:

By confirming the "%2525" case, I guess this is really a bug. But the patch 
cause test_urllib2.py failed. I modified the patch to fix it.

--
nosy: +ysj.ray
Added file: http://bugs.python.org/file18082/urllib_issue_updated.patch

___
Python tracker 

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



[issue8192] SQLite3 PRAGMA table_info doesn't respect database on Win32

2010-07-20 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

python2.7 includes a newer version of sqlite. Does the problem still reproduces 
there?

--
nosy: +amaury.forgeotdarc

___
Python tracker 

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



[issue2244] urllib and urllib2 decode userinfo multiple times

2010-07-20 Thread Ray.Allen

Changes by Ray.Allen :


Added file: http://bugs.python.org/file18083/urllib_issue_updated.patch

___
Python tracker 

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



[issue2244] urllib and urllib2 decode userinfo multiple times

2010-07-20 Thread Ray.Allen

Changes by Ray.Allen :


Removed file: http://bugs.python.org/file18082/urllib_issue_updated.patch

___
Python tracker 

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



[issue9310] Intermittent failures in test_logging

2010-07-20 Thread Vinay Sajip

Vinay Sajip  added the comment:

I'm not convinced that this is an error in logging or test_logging. There are 
no special Unicode keys in the list being sorted AFAIK, and no reason why the 
sort() should fail. It's more likely to be some problem in the collation code 
relating to UCS-4 builds.

--
resolution:  -> invalid
status: open -> pending

___
Python tracker 

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



[issue9310] Intermittent failures in test_logging

2010-07-20 Thread Vinay Sajip

Changes by Vinay Sajip :


--
assignee: vinay.sajip -> 
status: pending -> open

___
Python tracker 

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



[issue2244] urllib and urllib2 decode userinfo multiple times

2010-07-20 Thread Ray.Allen

Ray.Allen  added the comment:

This bug exists on py3k also, so I worked out a patch for py3k, too.

--
Added file: http://bugs.python.org/file18084/urllib_issue_updated.diff

___
Python tracker 

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



[issue2244] urllib and urllib2 decode userinfo multiple times

2010-07-20 Thread Senthil Kumaran

Senthil Kumaran  added the comment:

Thanks Ray Allen. Usually the patch against the py3k branch is enough, it will 
be ported to other branches.

--

___
Python tracker 

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



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-20 Thread Alexander Dreyer

Changes by Alexander Dreyer :


Added file: http://bugs.python.org/file18085/dist.py.patch

___
Python tracker 

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



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-20 Thread Alexander Dreyer

Alexander Dreyer  added the comment:

Added better patch (checks environment first).

--

___
Python tracker 

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



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-20 Thread Alexander Dreyer

Changes by Alexander Dreyer :


Removed file: http://bugs.python.org/file18069/dist.py.patch

___
Python tracker 

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



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-20 Thread Ray.Allen

Ray.Allen  added the comment:

I don't think this can go into python2.x. Besides, is it really worthy to add 
such a new environment variable?

--
nosy: +ysj.ray

___
Python tracker 

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



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-20 Thread Alexander Dreyer

Alexander Dreyer  added the comment:

The patch is originating from Sage Days 24. Sage (http://www.sagemath.org) 
distributes a bunch of mathematical python-based software. The integration of 
the individual packages is done by individual people which might not use 
--no-user-cfg in their install scripts. So we needed a way to ensure this via 
the environment.

Best regards,
  Alexander

--

___
Python tracker 

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



[issue9310] Intermittent failures in test_logging

2010-07-20 Thread Stefan Krah

Stefan Krah  added the comment:

Actually it looks the same as issue 8201. If test_lib2to3 is run before
test_logging, test_logging fails.


Perhaps backporting the patch will help.

--
keywords: +patch
Added file: http://bugs.python.org/file18086/issue8201-release26-maint.patch

___
Python tracker 

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



[issue9310] Intermittent failures in test_logging

2010-07-20 Thread Stefan Krah

Changes by Stefan Krah :


--
resolution: invalid -> 

___
Python tracker 

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



[issue9291] mimetypes initialization fails on Windows because of non-Latin characters in registry

2010-07-20 Thread Dmitry Jemerov

Dmitry Jemerov  added the comment:

The problem doesn't happen on Python 3.1.2 because it doesn't have the code in 
mimetypes that accesses the Windows registry. Haven't tried the 3.2 alphas yet.

--

___
Python tracker 

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



[issue3615] Expect methods for testing.

2010-07-20 Thread Michael Foord

Michael Foord  added the comment:

The API on TestCase is already too wide without adding more methods. This is 
easy enough to do in a TestCase subclass for those who want it.

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

___
Python tracker 

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



[issue4080] pyunit - display time of each test case - patch

2010-07-20 Thread Michael Foord

Michael Foord  added the comment:

I am in the process of creating an extension mechanism for unittest which will 
make adding this sort of use case to unittest much easier. *Even* if it is 
added to the core it should be in the form of an extension (plugin) so please 
don't update the patch until this is in place.

--

___
Python tracker 

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



[issue9296] json module skipkeys handling changed exception types in 2.7

2010-07-20 Thread Antoine Pitrou

Antoine Pitrou  added the comment:

A quick look suggests that the patches are ok, thank you.

--
stage: needs patch -> commit review

___
Python tracker 

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



[issue8433] buildbot: test_curses failure, getmouse() returned ERR

2010-07-20 Thread Stefan Krah

Stefan Krah  added the comment:

How about skipping the tests until someone can figure out what's going
on? The patch is tested on:

http://www.python.org/dev/buildbot/builders/i386 Ubuntu 3.x/builds/1643

--
keywords: +patch
nosy: +skrah
Added file: http://bugs.python.org/file18087/issue8433.patch

___
Python tracker 

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



[issue9313] distutils error on MSVC older than 8

2010-07-20 Thread Hirokazu Yamamoto

New submission from Hirokazu Yamamoto :

I got an error while testing py3k on VC6. Here is a patch.

==
ERROR: test_remove_visual_c_ref (distutils.tests.test_msvc9compiler.msvc9compile
rTestCase)
--
Traceback (most recent call last):
  File "e:\python-dev\py3k\lib\distutils\tests\test_msvc9compiler.py", line 112,
 in test_remove_visual_c_ref
from distutils.msvc9compiler import MSVCCompiler
  File "e:\python-dev\py3k\lib\distutils\msvc9compiler.py", line 291, in 
raise DistutilsPlatformError("VC %0.1f is not supported by this module" % VE
RSION)
distutils.errors.DistutilsPlatformError: VC 6.0 is not supported by this module

--
Ran 170 tests in 49.070s

FAILED (errors=1, skipped=4)
Traceback (most recent call last):
  File "test_distutils.py", line 18, in 
test_main()
  File "test_distutils.py", line 13, in test_main
test.support.run_unittest(distutils.tests.test_suite())
  File "e:\python-dev\py3k\lib\test\support.py", line 1054, in run_unittest
_run_suite(suite)
  File "e:\python-dev\py3k\lib\test\support.py", line 1037, in _run_suite
raise TestFailed(err)
test.support.TestFailed: Traceback (most recent call last):
  File "e:\python-dev\py3k\lib\distutils\tests\test_msvc9compiler.py", line 112,
 in test_remove_visual_c_ref
from distutils.msvc9compiler import MSVCCompiler
  File "e:\python-dev\py3k\lib\distutils\msvc9compiler.py", line 291, in 
raise DistutilsPlatformError("VC %0.1f is not supported by this module" % VE
RSION)
distutils.errors.DistutilsPlatformError: VC 6.0 is not supported by this module

--
assignee: tarek
components: Distutils, Tests
files: py3k_distutils_on_old_msvc.patch
keywords: patch
messages: 110886
nosy: ocean-city, tarek
priority: normal
severity: normal
status: open
title: distutils error on MSVC older than 8
versions: Python 3.1, Python 3.2
Added file: http://bugs.python.org/file18088/py3k_distutils_on_old_msvc.patch

___
Python tracker 

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



[issue2690] Precompute range length

2010-07-20 Thread Nick Coghlan

Changes by Nick Coghlan :


--
assignee:  -> ncoghlan

___
Python tracker 

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



[issue9314] inconsistent result when concatenating list with iterators

2010-07-20 Thread Dirkjan Ochtman

New submission from Dirkjan Ochtman :

This seems wrong:

>>> a = []
>>> b = iter(['c', 'd'])
>>> a += b
>>> c = []
>>> c + iter(['d', 'e'])
Traceback (most recent call last):
  File "", line 1, in 
TypeError: can only concatenate list (not "listiterator") to list

In other words, if iadd can deal with it, why can't add?

--
components: Interpreter Core
messages: 110887
nosy: djc
priority: normal
severity: normal
status: open
title: inconsistent result when concatenating list with iterators
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



[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2010-07-20 Thread Tal Einat

Tal Einat  added the comment:

IDLE should be accessible and easy to use for beginners who have never used a 
command line. Therefore I don't think up/down should scroll through the history 
by default. Since IDLE looks like a text editor (even the shell window) it is 
more intuitive that the arrows should move the cursor around the window.

Note that a user can configure up/down to scroll through the history quite 
easily using the configuration dialog.

I agree that as it stands it is hard to discover how to scroll through the 
history, and that Return can be used to bring previous code into the current 
command line. I think we can find a better way to make these features known to 
new users, without making the interface less intuitive.

For example, we could have a "Welcome to IDLE!" screen that appears the first 
time IDLE is run by a user, which outlines a few basic features such as these. 
This should of course be complemented by better documentation, including a 
section on various commands (a separate issue).

--
nosy: +taleinat

___
Python tracker 

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



[issue2704] IDLE: Patch to make PyShell behave more like a Terminal interface

2010-07-20 Thread Tal Einat

Tal Einat  added the comment:

Regarding passing on letter/number key-presses to the command line, I'm -0 on 
this. Note that not only letter/number keys should be passed on.

I've often found myself wanting to type in the command line after looking at 
previous code, to see that my key presses are being ignored, and having to 
Ctrl+End to return the cursor to the command line.

However, if I was scrolling through the history and by accident hist a letter 
or number, having the cursor jump to the command line and the window scroll 
back to the end would be annoying. Personally, I would prefer avoiding this and 
having to use Ctrl+End to return to the command line.

--

___
Python tracker 

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



[issue9265] Incorrect name passed as arg[0] when shell=True and executable specified

2010-07-20 Thread Stefan Krah

Stefan Krah  added the comment:

The trustworthy buildbots look good, so I'm closing this.

--
keywords:  -needs review, patch
resolution: accepted -> fixed
stage: patch review -> 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



[issue9036] Simplify Py_CHARMASK

2010-07-20 Thread Stefan Krah

Stefan Krah  added the comment:

Antoine, Eric, thanks for looking at the patch. unicodeobject.c patch
committed in r82978, r82979, r82980 and r82984.

As Antoine pointed out, the _json.c issue is not a problem. Also, it is
not present in py3k. The reliable buildbots look ok, so I think we can
close this.

--
resolution:  -> fixed
stage: patch review -> 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



[issue1524639] Fix Tkinter Tcl-commands memory-leaks

2010-07-20 Thread Tal Einat

Changes by Tal Einat :


--
nosy: +taleinat

___
Python tracker 

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



[issue9309] Add environment variable complementing command line option -no-user-cfg

2010-07-20 Thread Mark Lawrence

Changes by Mark Lawrence :


--
versions: +Python 3.2 -Python 2.5

___
Python tracker 

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



[issue9232] Allow trailing comma in any function argument list.

2010-07-20 Thread Mark Dickinson

Changes by Mark Dickinson :


--
assignee:  -> mark.dickinson

___
Python tracker 

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



[issue1747670] Limiting data copy in xmlrpclib

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

The code in the patch has been removed from py3k.  This can only go forward if 
a unit test is provided.  Change assigned to as per maintainers list.

--
assignee:  -> loewis
nosy: +BreamoreBoy, loewis
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



[issue3526] Customized malloc implementation on SunOS and AIX

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

Any SunOS/AIX people interested in keeping this open?

--
nosy: +BreamoreBoy
versions: +Python 3.2

___
Python tracker 

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



[issue2124] xml.sax and xml.dom fetch DTDs by default

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

Does anybody know if users are still experiencing problems with this issue?

--
nosy: +BreamoreBoy
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6

___
Python tracker 

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



[issue1635741] Interpreter seems to leak references after finalization

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

Does the title of this issue accurately reflect the current status of the 
Python interpreter?

--
nosy: +BreamoreBoy
versions: +Python 2.7, Python 3.1, Python 3.2 -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



[issue2181] optimize out local variables at end of function

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

Closing as nobody has commented.

--
nosy: +BreamoreBoy
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



[issue5901] missing meta-info in documentation pdf

2010-07-20 Thread Mark Lawrence

Changes by Mark Lawrence :


--
assignee: georg.brandl -> d...@python
nosy: +d...@python

___
Python tracker 

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



[issue6216] Raise Unicode KEEPALIVE_SIZE_LIMIT from 9 to 32?

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

Terry, are you still interested in this?

--
nosy: +BreamoreBoy
versions: +Python 3.2

___
Python tracker 

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



[issue1712522] urllib.quote throws exception on Unicode URL

2010-07-20 Thread Senthil Kumaran

Senthil Kumaran  added the comment:

I agree to the points raised by Antoine. Also yesterday in IRC, Eric Smith 
mentioned that If someone uses these new parameters in 2.7.1 his code may not 
work with 2.7 (That would obviously be an undesirable behavior). So, it is 
better to leave at Exception raised and anyways py3k has correct behavior.

I shall revert the patch from 2.7.1.

--

___
Python tracker 

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



[issue2124] xml.sax and xml.dom fetch DTDs by default

2010-07-20 Thread Jean-Paul Calderone

Jean-Paul Calderone  added the comment:

Yes.

--

___
Python tracker 

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



[issue1747670] Limiting data copy in xmlrpclib

2010-07-20 Thread Stefan Krah

Stefan Krah  added the comment:

Martin has recently removed his name from py3k/Misc/maintainers.rst.
Also, he has stated that assigning bugs to him might mean that they
get less attention (due to the large number of issues that he's involved
in).

--
nosy: +skrah

___
Python tracker 

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



[issue1207589] Right Click Context Menu

2010-07-20 Thread Tal Einat

Tal Einat  added the comment:

I agree with Guilherme: shortcuts don't need to appear in the context menu.

Guilherme's patch looks pretty good overall, but I have a few remarks:

1) Pasting should be disabled in the Shell window when the cursor is before the 
I/O mark. (the behavior for cutting is correct)

2) Code relevant to the Shell window should be in PyShell, not in EditorWindow 
with a getattr(self, 'interp', None) check.

3) Tk.Text.compare can receive names of tags to compare (don't have to do 
Tk.Text.index(''))

So I made these changes. Attached are patches against current trunk (2.x) and 
py3k branch.

My testing on Windows7 with both 2.7 and 3.1.2 showed this change works well. 
This should be tested on OSX and Linux since it interacts with the clipboard, 
which works differently on these platforms.

--
nosy: +taleinat
Added file: http://bugs.python.org/file18089/IDLE_rmenu_trunk.patch

___
Python tracker 

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



[issue1207589] Right Click Context Menu

2010-07-20 Thread Tal Einat

Changes by Tal Einat :


Added file: http://bugs.python.org/file18090/IDLE_rmenu_py3k.patch

___
Python tracker 

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



[issue9116] test_capi.test_no_FatalError_infinite_loop crash on Windows

2010-07-20 Thread Hirokazu Yamamoto

Hirokazu Yamamoto  added the comment:

I experienced this crash on test_thread.py.

I created a patch hopefully to fix this issue. My knowleage about
threading is not so deep, so maybe this patch is not so good. ;-)

# I'm worried about COND_RESET which is not used in my patch. But
# pthread variant is doing nothing on this macro...

Now, test_thread.py runs fine.

Reference:
http://www.cs.wustl.edu/~schmidt/win32-cv-1.html
http://msdn.microsoft.com/en-us/library/ms686293(VS.85).aspx
http://www.linux.or.jp/JM/html/glibc-linuxthreads/man3/pthread_cond_init.3.html

--
keywords: +patch
nosy: +ocean-city
Added file: http://bugs.python.org/file18091/py3k_ceval_gil.patch

___
Python tracker 

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



[issue9311] os.access can return bogus values when run as superuser

2010-07-20 Thread R. David Murray

R. David Murray  added the comment:

I'm curious, are the perl and sh functions you say do the right thing wrappers 
around 'access', or are they some other sort of function?  The Python code is 
just a thin wrapper around the system function, and as such will follow the 
system function's semantics.

I do agree that the FreeBSD interpretation of the semantics of access 
is...unexpected, as well as unfortunate :)  So, a doc note about the superuser 
X_OK quirk is appropriate.  Care to propose a doc patch?  Personally I wouldn't 
include the stat example, but rather simply refer to stat as the portable way 
to check if the execute bit is set (and then you still have to call os.access 
to see if the real uid has permission to execute).

On the other hand, proposing a portable version of 'access' for inclusion in 
shutils might be appropriate, if you want to open a new issue for that 
(preferably with a patch including docs and unit tests :)

--
assignee:  -> d...@python
components: +Documentation -Library (Lib)
nosy: +d...@python, r.david.murray
stage:  -> needs patch
versions: +Python 2.7, Python 3.1, Python 3.2

___
Python tracker 

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



[issue9290] IDLE and Command line present different behavior for sys.stdin

2010-07-20 Thread Tal Einat

Tal Einat  added the comment:

I agree that the wrapping of these in IDLE should be as transparent as possible.

It would be helpful if you could specify what other "quirks" you have found 
regarding sys.stdin, sys.stdout and sys.stderr, preferably describing use cases 
where these are problematic.

--
nosy: +taleinat

___
Python tracker 

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



[issue9305] Don't use east/west of UTC in date/time documentation

2010-07-20 Thread anatoly techtonik

anatoly techtonik  added the comment:

On Mon, Jul 19, 2010 at 7:21 PM, Alexander Belopolsky
 wrote:
>
> I suggest the following wording for time.timezone description:
>
> time.timezone: The number of seconds one must add to the local time to arrive 
> at UTC.

Makes sense. I can't see any other real explanation for -7200 value if
I am in +2 UTC timezone.

> Similarly, tzinfo.utcoffset() can be defined as "Returns timedelta one must 
> add to UTC to arrive at local time."

I believe the correct convention is "Return timedelta...". Another
concern - if UTC is 0 reference point then there is no reason to add
something to it - you just can say - "Return timedelta equal to local
UTC offset."

--
nosy: +techtonik

___
Python tracker 

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



[issue9262] IDLE: Use tabbed shell and edit windows

2010-07-20 Thread Tal Einat

Tal Einat  added the comment:

(Note: there has recently been some discussion of this on idle-dev and 
python-dev.)

This may be nice to have but has complications. I think there are currently 
more pressing issues regarding IDLE that require our attention.

Also, just adding tabs isn't necessarily enough. Having several separate 
windows should still be an option. And if you can have several windows, each 
with several tabs, drag-n-drop moving of tabs between windows is really nice to 
have, not to mention drag-n-drop reordering of tabs.

--
nosy: +taleinat

___
Python tracker 

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



[issue9308] Remove redundant coding cookies from 3.x stdlib

2010-07-20 Thread Éric Araujo

Éric Araujo  added the comment:

Could you add comments in encoded_modules/__init__.py? I don’t understand it, 
so I can’t make a useful comment.

--

___
Python tracker 

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



[issue9312] Fix usage of :option: markup in stdlib ReST docs

2010-07-20 Thread Éric Araujo

Éric Araujo  added the comment:

In documenting/markup:

program
The name of an executable program. This may differ from the file name for 
the executable for some platforms. In particular, the .exe (or other) extension 
should be omitted for Windows programs.

So I believe the correct form would be ``python regrtest.py``.

--
nosy: +merwok

___
Python tracker 

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



[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-07-20 Thread Tal Einat

Tal Einat  added the comment:

On Windows, I can't think of any common reason to want to save a file edited in 
IDLE without the .py extension. On the other hand, accidentally forgetting the 
.py extension is annoying, and users have come to expect a default extension 
being added by applications (e.g. MS Office).

Guilherme's patch (applied manually) works fine here on Windows7. I'm all for 
committing this if it has been tested to work as expected on Linux and OSX.

(minor nit-pick: could use sys.platform.startswith('win') instead of slicing)

--
nosy: +taleinat

___
Python tracker 

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



[issue9262] IDLE: Use tabbed shell and edit windows

2010-07-20 Thread Brian Curtin

Changes by Brian Curtin :


--
nosy: +brian.curtin

___
Python tracker 

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



[issue9314] inconsistent result when concatenating list with iterators

2010-07-20 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +merwok

___
Python tracker 

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



[issue9305] Don't use east/west of UTC in date/time documentation

2010-07-20 Thread Alexander Belopolsky

Alexander Belopolsky  added the comment:

On Tue, Jul 20, 2010 at 10:46 AM, anatoly techtonik
 wrote:
> .. Another
> concern - if UTC is 0 reference point then there is no reason to add
> something to it - you just can say - "Return timedelta equal to local
> UTC offset."

No, UTC is not a 0 reference point, it is a time scale.  UTC offset is
the value that is used to translate between time expressed in UTC and
local time.   To make an analogy, expressing time in UTC is like
expressing temperature in Kelvin scale.  You need to subtract 273 from
the value in ºK to arrive at the value in ºC.

Documenting utcoffset() as "Return timedelta equal to local UTC
offset." is almost circular.  It does not explain whether it has to be
added or subtracted from UTC to arrive at local time.

--

___
Python tracker 

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



[issue6378] Patch to make 'idle.bat' run idle.pyw using appropriate Python interpreter (so 3.1's idle.bat does not accidently use python26.exe)

2010-07-20 Thread Tal Einat

Changes by Tal Einat :


--
nosy: +taleinat

___
Python tracker 

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



[issue7676] IDLE shell shouldn't use TABs

2010-07-20 Thread Tal Einat

Changes by Tal Einat :


--
nosy: +taleinat

___
Python tracker 

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



[issue9305] Don't use east/west of UTC in date/time documentation

2010-07-20 Thread Tim Peters

Tim Peters  added the comment:

FYI, I like the change.  As I recall it, the current wording was just to avoid 
saying "ahead of UTC" or "behind UTC" (which was the original wording).  
Technically pure or not, I never saw anyone get truly confused by "East of UTC" 
or "West of UTC", but I fully that what people really want to know is what to 
do with the thing (add or subtract it).

--
nosy: +tim_one

___
Python tracker 

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



[issue9305] Don't use east/west of UTC in date/time documentation

2010-07-20 Thread Fred L. Drake, Jr.

Fred L. Drake, Jr.  added the comment:

On Tue, Jul 20, 2010 at 10:46 AM, anatoly techtonik  wrote:
> I believe the correct convention is "Return timedelta...".

This is handled inconsistently in the documentation; I'm hoping the
current maintainers reinforce the "Returns ..." structure.  The
documentation is descriptive, not an external specification.

  -Fred

--
nosy: +fdrake

___
Python tracker 

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



[issue5817] Right-click behavior from Windows Explorer

2010-07-20 Thread Tal Einat

Tal Einat  added the comment:

Just to get this on the table: What is the benefit of having it opened in the 
same instance of IDLE rather than a new instance?

--
nosy: +taleinat

___
Python tracker 

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



[issue7136] Idle File Menu Option Improvement

2010-07-20 Thread Tal Einat

Tal Einat  added the comment:

+1 on renaming it "New File".

Patch attached for py3k.

--
keywords: +patch
nosy: +taleinat
Added file: http://bugs.python.org/file18092/IDLE_new_file_py3k.patch

___
Python tracker 

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



[issue6378] Patch to make 'idle.bat' run idle.pyw using appropriate Python interpreter (so 3.1's idle.bat does not accidently use python26.exe)

2010-07-20 Thread Sridhar Ratnakumar

Sridhar Ratnakumar  added the comment:

BTW, ActivePython (2.6 and 2.7 at the moment) includes this patched idle.bat. 
The start menu shortcut launches it.

--

___
Python tracker 

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



[issue9305] Don't use east/west of UTC in date/time documentation

2010-07-20 Thread anatoly techtonik

anatoly techtonik  added the comment:

> Documenting utcoffset() as "Return timedelta equal to local UTC
> offset." is almost circular.  It does not explain whether it has to be
> added or subtracted from UTC to arrive at local time.

Ok. Sold.

>> I believe the correct convention is "Return timedelta...".
>
> This is handled inconsistently in the documentation; I'm hoping the
> current maintainers reinforce the "Returns ..." structure.  The
> documentation is descriptive, not an external specification.

http://www.python.org/dev/peps/pep-0257/#one-line-docstrings

I've took the convention from here. I thought docs are generated from
docstrings.

--

___
Python tracker 

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



[issue9305] Don't use east/west of UTC in date/time documentation

2010-07-20 Thread Fred L. Drake, Jr.

Fred L. Drake, Jr.  added the comment:

On Tue, Jul 20, 2010 at 12:08 PM, anatoly techtonik
 wrote:
> I've took the convention from here. I thought docs are generated from
> docstrings.

They're not, but I don't think that really matters.

Older documentation used the imperative form consistently, but that's
shifted over time.  (I, at least, think that's a good thing.)

I don't think it really matters with regard to this issue.

--

___
Python tracker 

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



[issue9305] Don't use east/west of UTC in date/time documentation

2010-07-20 Thread Alexander Belopolsky

Alexander Belopolsky  added the comment:

On Tue, Jul 20, 2010 at 11:39 AM, Tim Peters  wrote:
>..  As I recall it, the current wording was just to avoid saying "ahead of 
>UTC" or "behind UTC" (which was the original wording).

Interesting.  I actually like the original wording better.  For me,
"my watch is 6 hours behind UTC" makes it clear that when the Big Ben
clock shows tea time (18:00), my watch displays noon (17:00 - 6:00 =
12:00.)

I wonder if east/west is somehow more natural for native speakers of
English.   I would really like to hear more from the international
audience.  When it comes to measuring time there are many interesting
traditions that don't translate well between nations.  For example,
I've heard that in the Far East, the future is considered to be behind
because you can see the past but you cannot see the future.  If this
is the notion that you are used to, time being ahead or behind can be
truly confusing.

--

___
Python tracker 

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



[issue9305] Don't use east/west of UTC in date/time documentation

2010-07-20 Thread Alexander Belopolsky

Alexander Belopolsky  added the comment:

On Tue, Jul 20, 2010 at 12:14 PM, Alexander Belopolsky
 wrote:
..
> Interesting.  I actually like the original wording better.  For me,
> "my watch is 6 hours behind UTC" makes it clear that when the Big Ben
> clock shows tea time (18:00), my watch displays noon (17:00 - 6:00 =
> 12:00.)

I was too excited to add Alice in Wonderland humor to my post that did
not get the math right. :-)

The above should read 18:00 - 6:00 = 12:00, of course.  Or was it five
o'clock after all?

--

___
Python tracker 

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



[issue1747670] Limiting data copy in xmlrpclib

2010-07-20 Thread Martin v . Löwis

Changes by Martin v. Löwis :


--
assignee: loewis -> 

___
Python tracker 

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



[issue1747670] Limiting data copy in xmlrpclib

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

Could somebody update here please 
http://svn.python.org/view/*checkout*/python/branches/py3k/Misc/maintainers.rst

--

___
Python tracker 

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



[issue9308] Remove redundant coding cookies from 3.x stdlib

2010-07-20 Thread Alexander Belopolsky

Alexander Belopolsky  added the comment:

> Could you add comments in encoded_modules/__init__.py?

Please see updated issue9308a.diff.

--
Added file: http://bugs.python.org/file18093/issue9308a.diff

___
Python tracker 

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



[issue9308] Remove redundant coding cookies from 3.x stdlib

2010-07-20 Thread Alexander Belopolsky

Changes by Alexander Belopolsky :


Removed file: http://bugs.python.org/file18077/issue9308a.diff

___
Python tracker 

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



[issue9308] Remove redundant coding cookies from 3.x stdlib

2010-07-20 Thread Éric Araujo

Éric Araujo  added the comment:

I think this new test is a good idea.

--

___
Python tracker 

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



[issue6791] httplib read status memory usage

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

Sumar, to get this moved forward could you please provide a unit test.

--
nosy: +BreamoreBoy
stage:  -> unit test needed
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.4, Python 2.5, Python 
2.6

___
Python tracker 

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



[issue9312] Fix usage of :option: markup in stdlib ReST docs

2010-07-20 Thread Eli Bendersky

Eli Bendersky  added the comment:

Terry, 
Re doctest.rst - appears to be a merging issue. I will see how to resolve it 
once we figure out what to do with :program:

Éric, 
Good point - I'll ask pydev and will update the patch accordingly

--

___
Python tracker 

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



[issue6976] getcwd hangs and leaks mem on Solaris <= 9 in very long file name case

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

Are there any Solaris people who could look at this?  The patch file contains a 
very small change to posixmodule.c.

--
nosy: +BreamoreBoy

___
Python tracker 

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



[issue9305] Don't use east/west of UTC in date/time documentation

2010-07-20 Thread Alexander Belopolsky

Alexander Belopolsky  added the comment:

On Tue, Jul 20, 2010 at 12:08 PM, anatoly techtonik
 wrote:
..
> Ok. Sold.

Good.  All we need now is just a patch. :-)

--

___
Python tracker 

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



[issue6216] Raise Unicode KEEPALIVE_SIZE_LIMIT from 9 to 32?

2010-07-20 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

That question should better be directed at Marc-Andre. I merely extracted this 
sub-issue from one of his posts in the very contentious discussion of #1943, 
lest it get lost.

Antoine asked for a calculation. Marc-Andre gave one, but I do not know if that 
is what Antoine wanted. The referenced msg64215 gives 3 string length profiles 
that suggest that an increase to at least 16 might be useful.

--

___
Python tracker 

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



[issue6791] httplib read status memory usage

2010-07-20 Thread Senthil Kumaran

Changes by Senthil Kumaran :


--
assignee:  -> orsenthil
nosy: +orsenthil

___
Python tracker 

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



[issue8254] write a configure command

2010-07-20 Thread Jeremy Kloth

Jeremy Kloth  added the comment:

for #1 instead of importing `build`/`install` commands for their options, why 
not define the options only on the `configure` command?  The B/I commands could 
just "lookup" their needed options from the configure command.

On that note, how does the B/I commands get the options defined by `configure`? 
A quick look at the code doesn't show them using the "configured" options.

--

___
Python tracker 

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



[issue8254] write a configure command

2010-07-20 Thread Éric Araujo

Changes by Éric Araujo :


--

___
Python tracker 

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



[issue8254] write a configure command

2010-07-20 Thread Éric Araujo

Éric Araujo  added the comment:

Adding message from jkloth removed by error (remove/reply confusion):

for #1 instead of importing `build`/`install` commands for their options, why 
not define the options only on the `configure` command?  The B/I commands could 
just "lookup" their needed options from the configure command.

On that note, how does the B/I commands get the options defined by `configure`? 
A quick look at the code doesn't show them using the "configured" options.

--

___
Python tracker 

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



[issue7464] circular reference in HTTPResponse by urllib2

2010-07-20 Thread Senthil Kumaran

Senthil Kumaran  added the comment:

Lets just investigate the circular reference part here for this ticket.

--
assignee:  -> orsenthil
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.5, Python 2.6

___
Python tracker 

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



[issue8254] write a configure command

2010-07-20 Thread Éric Araujo

Éric Araujo  added the comment:

> why not define the options only on the `configure` command?

This is what Tarek told me and what I thought I said two messages earlier.

> On that note, how does the B/I commands get the options defined by 
> `configure`?

See 
http://bitbucket.org/Merwok/distutils2-configure/src/tip/src/distutils2/dist.py#cl-363
 and line 384. Nothing to change in the commands, just make Distribution pick 
values from the cache file at the right time (after regular config files and 
before command-line options).

--

___
Python tracker 

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



[issue9315] The trace module lacks unit tests

2010-07-20 Thread Eli Bendersky

New submission from Eli Bendersky :

Brought up in issue 9282: unit tests should be added for the trace module.

Minor naming problem: Lib/test/test_trace.py is currently employed for testing 
the sys.settrace method.

Suggestion: name the unit tests of the trace module test_trace_module.py

--
components: Library (Lib)
messages: 110932
nosy: eli.bendersky
priority: normal
severity: normal
status: open
title: The trace module lacks unit tests
type: behavior
versions: Python 3.2

___
Python tracker 

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



[issue9282] Bug in --listfuncs option of trace.py

2010-07-20 Thread Eli Bendersky

Eli Bendersky  added the comment:

I've opened issue 9315 to address the lack of unit tests for trace.py

I think that this should be committed regardless, since it fixes a serious bug 
in the module. Adding unit tests can take time, and is less critical.

--

___
Python tracker 

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



[issue4555] Smelly exports

2010-07-20 Thread Dave Malcolm

Dave Malcolm  added the comment:

py3k is much cleaner than python 2, due to the change in the module API.

Here's "make smelly"'s output on a recent py3k checkout:
nm -p libpython3.2.a | \
sed -n "/ [TDB] /s/.* //p" | grep -v "^_*Py" | sort -u; \

_add_one_to_index_C
_add_one_to_index_F
asdl_int_seq_new
asdl_seq_new

--

___
Python tracker 

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



[issue4555] Smelly exports (global symbols in python not prefixed with Py or _Py)

2010-07-20 Thread Alexander Belopolsky

Changes by Alexander Belopolsky :


--
title: Smelly exports -> Smelly exports (global symbols in python not prefixed 
with Py or _Py)

___
Python tracker 

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



[issue8254] write a configure command

2010-07-20 Thread Jeremy Kloth

Jeremy Kloth  added the comment:

How would the build or install command get the options in this case:

python setup.py configure --prefix=$HOME build install

Remember that commands can be chained (and that commands can run other 
commands).  I would like to be able to do (and can do right now):

python setup.py install

and have both `configure` and `build` be run with their defaults.

--

___
Python tracker 

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



[issue7825] test_threadsignals leaks references

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

Has the underlying code been fixed or could we still use the patch to 
test_threadsignals?

--
nosy: +BreamoreBoy

___
Python tracker 

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



[issue8258] Multiple Python Interpreter Memory Leak

2010-07-20 Thread Mark Lawrence

Changes by Mark Lawrence :


--
nosy: +brian.curtin, tim.golden
stage:  -> needs patch

___
Python tracker 

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



[issue9314] inconsistent result when concatenating list with iterators

2010-07-20 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

This actually works for any iterator:
>>> l = []
>>> l += 'abc'
>>> l
['a', 'b', 'c']

--
nosy: +amaury.forgeotdarc

___
Python tracker 

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



[issue4555] Smelly exports (global symbols in python not prefixed with Py or _Py)

2010-07-20 Thread Dave Malcolm

Dave Malcolm  added the comment:

Patch to py3k which adds the "_Py" prefix to the four listed symbols.

With this, the output from "make smelly" is clean (odorless, perhaps?).

However, adding _Py does seem to go against this comment in Include/asdl.h:
/* It would be nice if the code generated by asdl_c.py was completely
   independent of Python, but it is a goal the requires too much work
   at this stage.  So, for example, I'll represent identifiers as
   interned Python strings.
*/

--
Added file: 
http://bugs.python.org/file18094/py3k-add-_Py-prefix-to-avoid-smelliness.patch

___
Python tracker 

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



[issue9314] inconsistent result when concatenating list with iterators

2010-07-20 Thread Amaury Forgeot d'Arc

Amaury Forgeot d'Arc  added the comment:

for any *iterable*!

--

___
Python tracker 

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



[issue8254] write a configure command

2010-07-20 Thread Éric Araujo

Éric Araujo  added the comment:

configure is not config. As I understand it, the config command aimed to be 
something like ./configure in autotools, thus usable in combination with build 
and install. configure is different: it is meant to be run once to create a 
configure.cache file which saves possibly long and complicated options. IOW, 
its goal was to be typed only once, not in combination with build or install. 
This is why build does not call configure. I have written a short doc to 
explain that, see configure.rst in my repo or the built version at 
http://distutils2.notmyidea.org/configure.html

This message and the linked doc explain the current behavior of configure as I 
understood its purpose a month ago, IMO respecting what Tarek wrote in the bug 
report. However, Tarek he did not explain all that he had in mind here, like I 
wrote here on 2010-07-17 (I don’t have notes on that :/ so I’ll have to ask him 
again and sort out the setup.cfg/configure.cache overlap). When I get back to 
configure, the command line “configure --prefix ~ install” will work according 
to your expectations.

--

___
Python tracker 

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



[issue6610] Subprocess descriptor debacle

2010-07-20 Thread Mark Lawrence

Mark Lawrence  added the comment:

The patch is small, is there any solid reason for not committing it?

--
nosy: +BreamoreBoy

___
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-07-20 Thread Mark Lawrence

Changes by Mark Lawrence :


--
assignee: georg.brandl -> d...@python
nosy: +d...@python

___
Python tracker 

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



[issue9222] IDLE: Fix open/saveas 'Files of type' choices

2010-07-20 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

Tal, I agree with your comment, but I believe it applies to #4832 and should be 
moved there. The patch here fixes (and only fixes) an obvious bug in the 
filetypes list.

--

___
Python tracker 

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



[issue9311] os.access can return bogus values when run as superuser

2010-07-20 Thread Garrett Cooper

Garrett Cooper  added the comment:

Well, bash screws up in this dept:

$ ls -l typescript
-rw-r--r--  1 gcooper  gcooper  37875 Jul 12 22:19 typescript
$ sudo sh -c 'test -x typescript; echo $?'
1
$ sudo bash -c 'test -x typescript; echo $?'
0
$ csh
%if (-x typescript) then
if? echo "executable"
if? endif
%

test(1) is a built-in in bash; on FreeBSD/NetBSD(/OpenBSD?) it's a standalone 
app (which uses eaccess(2)). csh does some tricky code for testing file access 
in sh.exp.c (see sh_access).

perl does some tricky stuff in pp_sys.c (look for pp_ftrread), where it 
uses eaccess(2) if it's present, else falls back to access(2) to do its 
bidding. So maybe os.access should use eaccess(2) if it's present on the OS 
instead of access(2), and note that the item is OS implementation dependent 
(beware!)?

--

___
Python tracker 

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



[issue3704] cookielib doesn't handle URLs with / in parameters

2010-07-20 Thread John J Lee

John J Lee  added the comment:

Hmm, I never tested with Python 3, though I assume the forward-port was 
straightforward.  The patch was created against (2.x) trunk, so indeed it 
should be committed there also.

Deselecting 2.6 since I assume no more maintenance backports will be made to 
2.6 aside from security fixes -- right?

--
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



[issue6976] getcwd hangs and leaks mem on Solaris <= 9 in very long file name case

2010-07-20 Thread Stefan Krah

Stefan Krah  added the comment:

This has just been fixed in issue 9185.

--
nosy: +skrah
resolution:  -> duplicate
stage:  -> committed/rejected
status: open -> closed
superseder:  -> os.getcwd causes infinite loop on solaris

___
Python tracker 

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



[issue9296] json module skipkeys handling changed exception types in 2.7

2010-07-20 Thread Doug Hellmann

Doug Hellmann  added the comment:

Ray, thanks for the patches.  Antoine, I appreciate the review.  I'll try to 
get these checked in to svn in the next day or two.  

I see that this ticket is tagged as related to versions 2.7, 3.1, and 3.2.  
Should the changes be applied to any branches other than trunk and py3k?

--

___
Python tracker 

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



  1   2   >