[issue13390] Hunt memory allocations in addition to reference leaks

2011-11-15 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Together with -R, it can help chase those memory leaks which aren't reference leaks (see c6dafa2e2594). Valgrind does a much better job at this: it will also show you where the leaked blocks were allocated. OTOH, Valgrind is

[issue7503] multiprocessing AuthenticationError digest sent was rejected when pickling proxy

2011-11-15 Thread xhantu
xhantu pwo...@rz-online.de added the comment: Confirmed for Python 2.7.1 on Ubuntu. Problematic are the __reduce__ methods of multiprocessing.process.AuthenticationString and multiprocessing.managers.BaseProxy. Pickling of an authkey in BaseProxy is only done and allowed when

[issue7503] multiprocessing AuthenticationError digest sent was rejected when pickling proxy

2011-11-15 Thread xhantu
xhantu pwo...@rz-online.de added the comment: forgot to set version in classification -- versions: +Python 2.7 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7503 ___

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-11-15 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Yeah, I just haven't found time to do the revert yet (my first naive attempt using hg commands failed and I haven't found time to figure it out or do the reverse-patch method). -- ___ Python

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- assignee: - ezio.melotti nosy: +benjamin.peterson, georg.brandl priority: normal - release blocker ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4147

[issue13398] _cursesmodule does not build, doesn't find Python.h on Solaris

2011-11-15 Thread Maciej Bliziński
Maciej Bliziński maciej.blizin...@gmail.com added the comment: I haven't tried building with GCC, Python has always been built with Sun Studio at OpenCSW. I've got very similar build files for Python 2.6, 2.7, 3.0, and 3.1 -- none of them have this problem, so this is a regression in 3.2.

[issue13390] Hunt memory allocations in addition to reference leaks

2011-11-15 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: This will likely be a decent you have a problem indicator, but you may still need tools like Valgrind to actually track down the *cause* of that problem. -- ___ Python tracker rep...@bugs.python.org

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-11-15 Thread Peter Funk
Changes by Peter Funk p...@users.sourceforge.net: -- nosy: +pefu ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4147 ___ ___ Python-bugs-list

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-11-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Here is a new patch based on Dan's last patch. Correct me if I'm wrong, but it seems to me that it's not possible for a node to have only text-nodes as children and yet have more than one child; i.e. you can't have two or more adjacent

[issue13407] tarfile.getmembers misses members again

2011-11-15 Thread sengels
New submission from sengels ps...@gmx.de: This bug seems to be related to http://bugs.python.org/issue13158 When I try to run the following code: import tarfile tf = tarfile.open(kdelibs-4.7.3.tar.bz2, r) print(len(tf.getnames())) against this tarball:

[issue13407] tarfile.getnames misses members again

2011-11-15 Thread sengels
Changes by sengels ps...@gmx.de: -- title: tarfile.getmembers misses members again - tarfile.getnames misses members again ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13407 ___

[issue13322] buffered read() and write() does not raise BlockingIOError

2011-11-15 Thread sbt
sbt shibt...@gmail.com added the comment: Here is an updated patch which uses the real errno. It also gets rid of the restore_pos argument of _bufferedwriter_flush_unlocked() which is always set to false -- I guess buffered_flush_and_rewind_unlocked() is used instead. -- Added file:

[issue13408] Rename packaging.resources back to datafiles

2011-11-15 Thread Éric Araujo
New submission from Éric Araujo mer...@netwok.org: The code dealing with the new resources subsystem used to be called datafiles (module distutils2.datafiles, file dist-info/DATAFILES, etc.). I believe it is a better name and we should use it again: - it would make clear that it’s an

[issue6501] Fatal error on startup with invalid PYTHONIOENCODING

2011-11-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Currently different environment variables are treated differently. For example, mistakes in PYTHONHOME and PYTHONIOENCODING cause fatal error while an error in PYTHONSTARTUP is reported but does not terminate python: If PYTHONSTARTUP is

[issue13386] Document documentation conventions for optional args

2011-11-15 Thread Baptiste Carvello
Baptiste Carvello de...@baptiste-carvello.net added the comment: Le 14/11/2011 20:51, Eric Snow a écrit : So would it be worth the effort to identify each such place in the built-ins/stdlib and eventually change them all? I've seen support for doing so in other tracker issues and think

[issue13405] Add DTrace probes

2011-11-15 Thread lasizoillo
Changes by lasizoillo lasizoi...@gmail.com: -- nosy: +lasizoillo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___ ___ Python-bugs-list

[issue13386] Document documentation conventions for optional args

2011-11-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: C functions that have optional arguments but don't accept keyword arguments are a bit unusual, and IIUC in most of the cases that's an implementation detail that could be removed. So would it be worth the effort to identify each such place

[issue12659] Add tests for packaging.tests.support

2011-11-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 659bf2a679d2 by Éric Araujo in branch 'default': Add tests for tests.support (#12659), thanks to Francisco Martín Brugué http://hg.python.org/distutils2/rev/659bf2a679d2 --

[issue13386] Document documentation conventions for optional args

2011-11-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: Me too. (Can you give the #ids of these other issues?) See for example #13012. I think we should fix C functions to accept kwargs for the sake of Python programmers, not merely to ease documentation (that would just be a nice

[issue13386] Document documentation conventions for optional args

2011-11-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I think we should fix C functions to accept kwargs for the sake of Python programmers And also for compatibility for other implementations like PyPy. Good point. I'm still not sure that is a good idea to do a mass conversion of all the

[issue12344] Add **kwargs to reinitialize_command

2011-11-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I’ve noticed that setuptools’ Command class also allows keyword arguments in its constructor. I’m not sure if it would be useful, but I’ve not looked in depth at the packaging codebase to see if there is code that could use that. --

[issue13390] Hunt memory allocations in addition to reference leaks

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Valgrind does a much better job at this: it will also show you where the leaked blocks were allocated. OTOH, Valgrind is Linux-only and slow, but since I haven't used the '-R' option much, I don't know how usable this will be in practice

[issue12659] Add tests for packaging.tests.support

2011-11-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: I've added runTest to Tester It turns out this was the only change needed. Tarek’s repo on bitbucket is not up-to-date, I should have given you the hg.python.org link. (You can edit .hg/hgrc in your repo and run “hg pull -u” to get missing

[issue13407] tarfile.getnames misses members again

2011-11-15 Thread Lars Gustäbel
Lars Gustäbel l...@gustaebel.de added the comment: Some testing reveals that the bz2 module 3.3 cannot fully decompress the file in question. Only the first 900k are decompressed. Thus, this issue is not related to issue13158 or the tarfile module. -- nosy: +lars.gustaebel

[issue13407] tarfile.getnames misses members again

2011-11-15 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Isn't this a duplicate of issue #1625? -- nosy: +neologix ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13407 ___

[issue1625] bz2.BZ2File doesn't support multiple streams

2011-11-15 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1625 ___ ___

[issue13398] _cursesmodule does not build, doesn't find Python.h on Solaris

2011-11-15 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: Can you add the missing library path in CFLAGS and LDFLAGS environment variables?. Something like: (from a fresh source code) ./configure OPTIONS CFLAGS=-Ipath LDFLAGS=-Ipath If that works, we can explore why the path is not detected

[issue13398] _cursesmodule does not build, doesn't find Python.h on Solaris

2011-11-15 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: BTW, is only curses building failing?. Is the rest of the code built correctly?. That would be a good hint. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13398

[issue13398] _cursesmodule does not build, doesn't find Python.h on Solaris

2011-11-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: This module also fails to build on my Debian. I had the libcursesw headers installed and one day it was not enough; installing libcurses headers fixes it. I don’t know if it’s the same problem or something related to Debian multiarch.

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-15 Thread Dave Mankoff
Dave Mankoff man...@gmail.com added the comment: Use regular expressions for more advanced stripping than what the .strip method provides. So I guess this brings me back to my original issue. I'm not looking for particularly advanced stripping. I just want to remove all whitespace and other

[issue11254] distutils doesn't byte-compile .py files to __pycache__ during installation

2011-11-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c10946a17420 by Éric Araujo in branch 'default': Clean up byte-compilation code in packaging (#11254 followup). http://hg.python.org/cpython/rev/c10946a17420 -- ___

[issue13322] buffered read() and write() does not raise BlockingIOError

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Thanks again. Just a nit: the tests should be in MiscIOTest, since they don't directly instantiate the individual classes. Also, perhaps it would be nice to check that the exception's errno attribute is EAGAIN. -- stage: needs patch -

[issue1481032] patch smtplib:when SMTPDataError, rset crashes with sslerror

2011-11-15 Thread kxroberto
kxroberto kxrobe...@users.sourceforge.net added the comment: ping! perhaps I forgot to write that I uploaded the cleaned patch also on 2010-08-23. I really think this simple patch is necessary. Just seen the same problem again - as I forgot the patch in one of my recent Python update

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: So I guess this brings me back to my original issue. I'm not looking for particularly advanced stripping. I just want to remove all whitespace and other non-printing characters. .strip only strips whitespace. Stripping non-printing

[issue4147] xml.dom.minidom toprettyxml: omit whitespace for text-only elements

2011-11-15 Thread Dan Kenigsberg
Dan Kenigsberg dan...@redhat.com added the comment: Technically, adjacent Text nodes are not illegal, but preserving this oddity in pretty-print is impossible. It is perfectly fine to pretty-print only the simple case of len()==1. -- ___ Python

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Éric Araujo
Changes by Éric Araujo mer...@netwok.org: Added file: http://bugs.python.org/file23694/b267e72c8c10.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13238 ___

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: def __init__(self, command, *, **callkwds): Is the '*' marker needed? self.callkwds = callkwds These aren’t used in the module-level functions. What is the use case? If you forgive me for the nitpick, the docstrings have too

[issue10772] Several actions for argparse arguments missing from docs

2011-11-15 Thread ipatrol
ipatrol ipatrol6...@yahoo.com added the comment: The patch has been submitted, now we just need to apply it and update the online docs accordingly. -- status: open - pending versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org

[issue10772] Several actions for argparse arguments missing from docs

2011-11-15 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- status: pending - open versions: -Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10772 ___

[issue10772] Several actions for argparse arguments missing from docs

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: needs patch - patch review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10772 ___ ___

[issue10772] Several actions for argparse arguments missing from docs

2011-11-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Ezio made further comments, follow the “review” link. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10772 ___

[issue2775] Implement PEP 3108

2011-11-15 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: Answers to Eric's questions: yes and yes, but I probably won't bother until I do a final update to the PEP. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue2775

[issue13392] Writing a pyc file is not atomic under Windows

2011-11-15 Thread Brett Cannon
Brett Cannon br...@python.org added the comment: I say go with the deletion for importlib. If the failure is a sign of success, then just go with it and not worry about the failure. __pycache__ guarantees that we are not losing out by clobbering some other Python version's pyc file.

[issue11805] package_data only allows one glob per-package

2011-11-15 Thread Éric Araujo
Éric Araujo mer...@netwok.org added the comment: Looking at sysconfig.cfg makes it all pretty clear, though it was hard to find this information a while ago. Yeah, you had to be here when the resources code was committed, or to stumble on it while reading the source code. It’s one of the

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2011-11-15 Thread kxroberto
kxroberto kxrobe...@users.sourceforge.net added the comment: I looked at the new patch http://hg.python.org/lookup/r86952 for Py3 (regarding the extended tolerance and local backporting to Python2.7): What I miss are the calls of a kind of self.warning(msg,i,k) function in non-strict/tolerant

[issue13392] Writing a pyc file is not atomic under Windows

2011-11-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset b75b41237380 by Antoine Pitrou in branch 'default': Issue #13392: Writing a pyc file should now be atomic under Windows as well. http://hg.python.org/cpython/rev/b75b41237380 --

[issue13392] Writing a pyc file is not atomic under Windows

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Ok, done. Let's see if that fixes the sporadic failures on the buildbots. -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker

[issue13380] ctypes: add an internal function for reseting the ctypes caches

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: The patch looks good to me. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13380 ___ ___

[issue13409] Invalid expression error if a regex ends with a backslash

2011-11-15 Thread Michał Leśniewski
New submission from Michał Leśniewski mlesn...@gmail.com: If a regular expression ends with a backslash, an exception is raised. Of course, the backslash has to be escaped. The simplest example, that causes the error is a regular expression, that should match only a single backslash:

[issue13409] Invalid expression error if a regex ends with a backslash

2011-11-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: You either have to double escape it (once for python and then for the regex engine) or use raw strings: re.match(, '\\').group() '\\' re.match(r\\, '\\').group() '\\' -- assignee: - ezio.melotti resolution: - invalid stage:

[issue1486713] HTMLParser : A auto-tolerant parsing mode

2011-11-15 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The HTMLParser is not suitable for validation, even the strict mode allows some non valid markup (and it might be removed soon). Also I don't think it's easy to call a self.warnings() without trying the strict mode first. The tolerant

[issue11805] package_data only allows one glob per-package

2011-11-15 Thread Paul Moore
Paul Moore p.f.mo...@gmail.com added the comment: One important point - in the new world where data files living alongside code is unsupported, the bdist_msi and bdist_wininst installers need to be updated to install data files as needed. This may work already (I'll do some tests to see how well

[issue4442] document immutable type subclassing via __new__

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - needs patch versions: +Python 3.2, Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4442 ___

[issue11990] redirected output - stdout writes newline as \n in windows

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11990 ___ ___ Python-bugs-list

[issue964437] idle help is modal

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +terry.reedy stage: - patch review versions: +Python 3.3 -Python 3.2 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue964437 ___

[issue13392] Writing a pyc file is not atomic under Windows

2011-11-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 12940d9f8031 by Antoine Pitrou in branch 'default': Fix regression under Windows following b75b41237380 (from issue #13392) http://hg.python.org/cpython/rev/12940d9f8031 --

[issue13297] xmlrpc.client could accept bytes for input and output

2011-11-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 0175883d9513 by Florent Xicluna in branch 'default': Closes #13297: use bytes type to send and receive binary data through XMLRPC. http://hg.python.org/cpython/rev/0175883d9513 -- nosy: +python-dev

[issue10652] test___all_ + test_tcl fails (Windows installed binary)

2011-11-15 Thread Brian Curtin
Changes by Brian Curtin br...@python.org: -- nosy: +brian.curtin ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue10652 ___ ___ Python-bugs-list

[issue11261] urlopen breaks when data parameter is used.

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11261 ___

[issue4395] Document auto __ne__ generation; provide a use case for non-trivial __ne__

2011-11-15 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- versions: +Python 3.3 -Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue4395 ___ ___

[issue2979] use_builtin_types in xmlrpc.server

2011-11-15 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: Patch updated with documentation. -- nosy: +eric.araujo stage: patch review - commit review Added file: http://bugs.python.org/file23695/issue2979_xmlrpc_server_v2.diff ___ Python tracker

[issue13215] multiprocessing Manager.connect() aggressively retries refused connections

2011-11-15 Thread Charles-François Natali
Charles-François Natali neolo...@free.fr added the comment: Here's a patch removing the automatic retry on ECONNREFUSED: I tested it on Linux and other Unices, and it seems to work just fine without this hammering. Note that there's a similar mechanism for Windows (ERROR_PIPE_BUSY), but it

[issue13386] Document documentation conventions for optional args

2011-11-15 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: Me too. (Can you give the #ids of these other issues?) #13012 is the one that I was thinking of (msg144328 specifically). However, I'm sure there was one more recently (which I can't find now). --

[issue13386] Document documentation conventions for optional args

2011-11-15 Thread Eric Snow
Eric Snow ericsnowcurren...@gmail.com added the comment: @msg147671 +1 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13386 ___ ___

[issue13405] Add DTrace probes

2011-11-15 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: Added file: http://bugs.python.org/file23696/9fcca74ff413.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13405 ___

[issue13405] Add DTrace probes

2011-11-15 Thread Jesús Cea Avión
Jesús Cea Avión j...@jcea.es added the comment: New changeset, with testsuite added. Compile the code adding --with-dtrace to your configure command. After compiling, test the code with LD_LIBRARY_PATH=current_path export LD_LIBRARY_PATH ./python Lib/test/regrtest.py -v test_dtrace.py It

[issue13405] Add DTrace probes

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: LD_LIBRARY_PATH=current_path export LD_LIBRARY_PATH Why do you need LD_LIBRARY_PATH? If you are inside a Solaris/OpenIndiana Zone, the zone *MUST* have dtrace usermode permissions. If not, you can not use dtrace inside the zone and, then,

[issue13238] Add shell command helpers to subprocess module

2011-11-15 Thread Raymond Hettinger
Raymond Hettinger raymond.hettin...@gmail.com added the comment: I like Nick's original idea for a handful of convenience functions but want to caution against adding a bunch of tools that start guessing at what you want. Adding automatic wildcard expansion, shell quoting/splitting and

[issue13374] Deprecate usage of the Windows ANSI API in the nt module

2011-11-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset d42811b93357 by Victor Stinner in branch 'default': Issue #13374: The Windows bytes API has been deprecated in the os module. Use http://hg.python.org/cpython/rev/d42811b93357 --

[issue13374] Deprecate usage of the Windows ANSI API in the nt module

2011-11-15 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: IIUC, it means that the library/application should not use the bytes API if it intends to be supported on major platforms. -- nosy: +flox ___ Python tracker rep...@bugs.python.org

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Jayanth Raman
New submission from Jayanth Raman raman.jaya...@gmail.com: With file xx.py: class Foo(object): def __init__(self, x): self.x = x def __long__(self): return long(self.x) def __float__(self): return float(self.x) y = Foo(22) print '%d' % y print '%d' % y

[issue13391] string.strip Does Not Remove Zero-Width-Space (ZWSP)

2011-11-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: Thus strip and isspace are now unusable methods in Python for common use cases. Please recognize that you haven't demonstrated this at all. U+200B is *not* a character that is common, not even remotely. It's a rare, infrequent, unused

[issue13374] Deprecate usage of the Windows ANSI API in the nt module

2011-11-15 Thread Martin v . Löwis
Martin v. Löwis mar...@v.loewis.de added the comment: IIUC, it means that the library/application should not use the bytes API if it intends to be supported on major platforms. I think you misunderstand; it does not literally mean that. Instead, it means that the library/application either

[issue13248] deprecated in 3.2, should be removed in 3.3

2011-11-15 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: -- nosy: +haypo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13248 ___ ___

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13410 ___ ___ Python-bugs-list

[issue13411] Hashable memoryviews

2011-11-15 Thread Antoine Pitrou
New submission from Antoine Pitrou pit...@free.fr: This patch allows hashing of memoryviews, as discussed on python-dev. -- components: Interpreter Core files: memhash.patch keywords: patch messages: 147714 nosy: ncoghlan, pitrou, skrah priority: normal severity: normal stage: patch

[issue13411] Hashable memoryviews

2011-11-15 Thread Meador Inge
Changes by Meador Inge mead...@gmail.com: -- nosy: +meador.inge ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13411 ___ ___ Python-bugs-list

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Antoine Pitrou
Changes by Antoine Pitrou pit...@free.fr: -- nosy: +brian.curtin, tim.golden ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13412 ___ ___

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
New submission from Alex Regueiro alex...@gmail.com: Python 2.7 has no knowledge of directory symlinks on Windows 7. Listing a directory symlink does not work, nor does accessing a file within one. This is quite a notable missing feature on Windows 7, where symlinks are becoming increasingly

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Eric V. Smith
Changes by Eric V. Smith e...@trueblade.com: -- nosy: +eric.smith, jason.coombs ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13412 ___ ___

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Eric V. Smith
Eric V. Smith e...@trueblade.com added the comment: I think this must be a change between 2.5 and 2.6. In 2.5.1 non-debug (Linux) I consistently see: print '%d' % y Traceback (most recent call last): File stdin, line 1, in module TypeError: int argument required In 2.6.5 (Windows via

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-15 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Then it appears to me that Sandro's patch is good and can be committed. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11836 ___

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- components: +Windows type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13412 ___

[issue13388] document hg commit hooks in the devguide

2011-11-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset 21758f27f98f by Eli Bendersky in branch 'default': document existing hooks for commit messages mentioning issues. Closes issue 13388 http://hg.python.org/devguide/rev/21758f27f98f -- resolution: - fixed

[issue13388] document hg commit hooks in the devguide

2011-11-15 Thread Eli Bendersky
Eli Bendersky eli...@gmail.com added the comment: Committed, with the fix suggested by Éric -- resolution: fixed - stage: committed/rejected - status: closed - open ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13388

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Florent Xicluna
Changes by Florent Xicluna florent.xicl...@gmail.com: -- nosy: +flox, mark.dickinson stage: - needs patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13410 ___

[issue11836] multiprocessing.queues.SimpleQueue is undocumented

2011-11-15 Thread Antoine Pitrou
Antoine Pitrou pit...@free.fr added the comment: Then it appears to me that Sandro's patch is good and can be committed. The doc patch is good. However, if you start exposing SimpleQueue at the top package level, you have to do it in 3.3 only (since that's a new API), and also mention it

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Python 2.7 is not aware of symlinks and treats them like their targets, so it should be able to list a symlink directory or access a file within one. For example: PS C:\Users\jaraco cmd /c dir Volume in drive C is system Volume Serial

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Florent Xicluna
Florent Xicluna florent.xicl...@gmail.com added the comment: With Darwin 10.8.0 x86_64, I confirm the behavior described in first message. $ python2.7 -V Python 2.7.2 $ python2.7 -i xx.py 22 22 TypeError: int() argument must be a string or a number, not 'Foo' '%d' % y '22' '%d' % y

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Brian Curtin
Brian Curtin br...@python.org added the comment: I think we could still make os.listdir work properly. I'll look into a patch for this. One problem here is the testability, since we'd need to rely on the mklink CLI app to create the symlinks, which requires that the calling application

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
Alex Regueiro alex...@gmail.com added the comment: What are you running? This is not what I get on Win7 x64, and I have had several other users in ##python on FreeNode confirm this inability. As far as Python is concerned, these dir sym links do not even exist. --

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: I should mention that there is third-party symlink support in jaraco.windows (http://pypi.python.org/pypi/jaraco.windows). Just easy_install it, and then use jaraco.windows.filesystem.symlink. If there are features you need for symlink

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
Alex Regueiro alex...@gmail.com added the comment: Thanks Bryan, that would be great. The elevated privs problem could potentially be avoided by creating symlinks using the Win32 API directly. As long as the appropiate group policy is set, one does not require admin privs to create symlinks.

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Brian, I'm still not sure I see the problem with os.listdir. It includes symlinks when listing a dir and traverses them naturally when referencing them as part of a path to listdir. Under what conditions does it fail? --

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
Alex Regueiro alex...@gmail.com added the comment: Well, at the very least it's a system-dependent issue, since I've tried out listdir and also file access on my system and some other Windows users'. -- ___ Python tracker rep...@bugs.python.org

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Jason R. Coombs
Jason R. Coombs jar...@jaraco.com added the comment: Some variables could be a missing privilege or role, or perhaps a UAC restriction. What error do you get when you attempt to invoke os.listdir on a symlink directory? -- ___ Python tracker

[issue13412] No knowledge of symlinks on Windows

2011-11-15 Thread Alex Regueiro
Alex Regueiro alex...@gmail.com added the comment: No error whatsoever. Python just thinks it doesn't exist unfortunately. Same report from other users... -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue13412

[issue12988] IDLE on Win7 crashes when saving to Documents Library

2011-11-15 Thread Roger Serwy
Changes by Roger Serwy roger.se...@gmail.com: -- nosy: +serwy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12988 ___ ___ Python-bugs-list mailing

[issue13374] Deprecate usage of the Windows ANSI API in the nt module

2011-11-15 Thread Roundup Robot
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset afc716e463a1 by Victor Stinner in branch 'default': Issue #13374: Skip deprecation tests for os.symlink() on Windows XP http://hg.python.org/cpython/rev/afc716e463a1 --

[issue13410] String formatting bug in interactive mode

2011-11-15 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc amaur...@gmail.com added the comment: A debug build displays XXX undetected error. An error condition was not correctly cleared, see attached patch. -- keywords: +patch nosy: +amaury.forgeotdarc Added file: http://bugs.python.org/file23698/issue13410.patch

  1   2   >