[issue14927] add "Do not supply int argument" to random.shuffle docstring

2012-05-28 Thread Christopher Smith
Christopher Smith added the comment: > nosy: +rhettinger > title: add not about int to shuffle -> add "Do not supply int argument" to > random.shuffle docstring > versions: +Python 2.7, Python 3.3 > Thanks. I couldn't even figure out what my own subject meant! (I see that the "e" was miss

[issue14078] Add 'sourceline' property to xml.etree Elements

2012-05-28 Thread Eli Bendersky
Eli Bendersky added the comment: Hi Leon, Do you have an interest in pursuing this issue? -- ___ Python tracker ___ ___ Python-bugs-l

[issue14852] json and ElementTree parsers misbehave on streams containing more than a single object

2012-05-28 Thread Eli Bendersky
Eli Bendersky added the comment: I don't think this is an enhancement to ET, because ET was not designed to be a streaming parser, which is what is required here. ET was designed to read a whole valid XML document. There is 'iterparse', as Antoine mentioned, but it is designed to "track chang

[issue12716] Reorganize os docs for files/dirs/fds

2012-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue14930] Make memoryview weakrefable

2012-05-28 Thread Richard Oudkerk
Richard Oudkerk added the comment: New patch. -- Added file: http://bugs.python.org/file25742/memoryview-weakref.patch ___ Python tracker ___ ___

[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2012-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue1767933. Instead of codecs.StreamWriter better to use io.TextIOWrapper, because the first is slower and has numerous flaws. -- nosy: +storchaka versions: +Python 3.3 ___ Python tracker

[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

2012-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue2005] posixmodule expects sizeof(pid_t/gid_t/uid_t) <= sizeof(long)

2012-05-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue14932] Python 3.3.0a3 build fails on MacOS 10.7 with XCode 4.3.2

2012-05-28 Thread Thomas Robitaille
New submission from Thomas Robitaille : I can build Python 2.6 to 3.2 on MacOS 10.7 with XCode 4.3.2 using solely: ./configure make But if I do this with Python 3.3 alpha 3 I get the following error: gcc -framework CoreFoundation -o python.exe Modules/python.o libpython3.3m.a -l

[issue14932] Python 3.3.0a3 build fails on MacOS 10.7 with XCode 4.3.2

2012-05-28 Thread Thomas Robitaille
Changes by Thomas Robitaille : -- type: -> compile error ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue13518] configparser can’t read file objects from urlopen

2012-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Mickey, you can wrap file-like object returned by urlopen with io.TextIOWrapper. config = configparser.RawConfigParser() config.read_file(io.TextIOWrapper(urlopen(path_config), encoding='utf-8')) Because there is no bug and new feature is not needed, I b

[issue1470548] Bugfix for #1470540 (XMLGenerator cannot output UTF-16)

2012-05-28 Thread Walter Dörwald
Walter Dörwald added the comment: An alternative would be to use an incremental encoder instead of a StreamWriter. (Which is what TextIOWrapper does internally). -- nosy: +doerwalter ___ Python tracker

[issue4733] Add a "decode to declared encoding" version of urlopen to urllib

2012-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: If you add the encoding parameter, you should also add at least errors and newline parameters. And why not just use io.TextIOWrapper? page.decode_content() bad that compels to read and to decode at once all of the data, while io.TextIOWrapper returns a file

[issue14932] Python 3.3.0a3 build fails on MacOS 10.7 with XCode 4.3.2

2012-05-28 Thread Hynek Schlawack
Hynek Schlawack added the comment: Hello Thomas, I presume your gcc is Apple's llvm-gcc (gcc --version output starts with "i686-apple-darwin11-llvm-gcc-4.2"), which is unfortunately a known to miscompile Python 3.3. If you want to compile the latest Python 3.3 on OS X, use clang ("CC=clang

[issue14930] Make memoryview weakrefable

2012-05-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: In the test, you should call gc.collect() so that it works on non-reference counted implementations. Also, I would call PyObject_ClearWeakRefs() after memory_release() and Py_CLEAR(self->mbuf), not before (in case a weakref callback relies on the buffer being

[issue14932] Python 3.3.0a3 build fails on MacOS 10.7 with XCode 4.3.2

2012-05-28 Thread Thomas Robitaille
Thomas Robitaille added the comment: Thanks for the quick reply - wouldn't it make sense to add a directive to the configure script so that if the compiler matches 'i686-apple-darwin11-llvm-gcc-4.2', clang is used instead? -- ___ Python tracker

[issue14703] Update PEP metaprocesses to describe PEP czar role

2012-05-28 Thread Nick Coghlan
Changes by Nick Coghlan : -- resolution: -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___ ___ Pyt

[issue14443] Distutils test_bdist_rpm failure

2012-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3d61e27cc570 by Nick Coghlan in branch '3.2': Issue #14443: Tell rpmbuild to use the correct version of Python http://hg.python.org/cpython/rev/3d61e27cc570 -- nosy: +python-dev ___ Python tracker

[issue14443] Distutils test_bdist_rpm failure

2012-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: Applied to 3.2 and trunk (I forgot to mention the issue name in the merge commit message). I tweaked Ross's patch slightly to: 1. Use self.python rather than sys.executable 2. Also default self.python to "python3" if neither --python nor --fix-python are specif

[issue9742] Python 2.7: math module fails to build on Solaris 9

2012-05-28 Thread Cory Zito
Cory Zito added the comment: I hit this issue today with 2.7.3 (Solaris 9, Sun Studio 12). Adding Python/pymath.o to $(BUILDPYTHON) worked for me. Should a check in configure of is Solaris and no round should just go ahead and add this to $(BUILDPYTHON)? -- nosy: +CoryZ

[issue11954] 3.3 - 'make test' fails

2012-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: I'm not sure what platform this was on, but if it was a Fedora system then test_distutils should also be working as non-root now (see #14443) -- nosy: +ncoghlan ___ Python tracker

[issue877121] configure detects incorrect compiler optimization

2012-05-28 Thread Cory Zito
Changes by Cory Zito : -- nosy: +CoryZ ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/

[issue14930] Make memoryview weakrefable

2012-05-28 Thread Richard Oudkerk
Richard Oudkerk added the comment: > In the test, you should call gc.collect() so that it works on non- > reference counted implementations. I did think about using gc.collect(), but I was not sure whether it was guaranteed to collect everything possible if you only call it only once. (I kno

[issue14932] Python 3.3.0a3 build fails on MacOS 10.7 with XCode 4.3.2

2012-05-28 Thread Hynek Schlawack
Hynek Schlawack added the comment: Have a look at issue13241 which is dedicated to this problem, especially at msg160081. -- ___ Python tracker ___

[issue14930] Make memoryview weakrefable

2012-05-28 Thread Charles-François Natali
Charles-François Natali added the comment: > I did think about using gc.collect(), but I was not sure whether it was > guaranteed to collect everything possible if you only call it only once. > (I know nothing about garbage collectors.) You could use support.gc_collect() for that. --

[issue14930] Make memoryview weakrefable

2012-05-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Doing it after Py_CLEAR(self->mbuf) seems to contradict > > > http://docs.python.org/dev/extending/newtypes.html?highlight=pyobject_clearweakrefs#weak-reference-support > > which says > > The only further addition is that the destructor needs to c

[issue14933] Misleading documentation about weakrefs

2012-05-28 Thread Antoine Pitrou
New submission from Antoine Pitrou : In http://docs.python.org/dev/extending/newtypes.html?highlight=pyobject_clearweakrefs#weak-reference-support, you can read: “The only further addition is that the destructor needs to call the weak reference manager to clear any weak references. This shoul

[issue14934] generator objects can clear their weakrefs before being resurrected

2012-05-28 Thread Antoine Pitrou
New submission from Antoine Pitrou : In Objects/genobject.c, gen_dealloc() calls PyObject_ClearWeakRefs() before trying to finalize the generator, during which the generator object can be resurrected. This is probably a bug, since weakrefs are supposed to be cleared (and their callbacks called

[issue14443] Distutils test_bdist_rpm failure

2012-05-28 Thread Ross Lagerwall
Ross Lagerwall added the comment: Unfortunately, it seems like it's still failing on the RHEL 6 buildbot. -- status: pending -> open ___ Python tracker ___ _

[issue14915] pysetup may leave a package in a half-installed state

2012-05-28 Thread Éric Araujo
Éric Araujo added the comment: IIUC checking trove classifiers / requires-python or something else before installing may be a good idea, but this bug is about something else: a project can be half-installed. You could reproduce it with a Python 2 project with one file containing a syntax err

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-28 Thread STINNER Victor
STINNER Victor added the comment: So, do you have any comment or complain? Or can I commit the patch? Le 24 mai 2012 11:57, "STINNER Victor" a écrit : > > STINNER Victor added the comment: > > >> For Python 3.3, _PyUnicodeWriter API is faster than the Py_UCS4 buffer > API and PyAccu API in qu

[issue9742] Python 2.7: math module fails to build on Solaris 9

2012-05-28 Thread Stefan Krah
Stefan Krah added the comment: This is just a suggestion, but the easiest way of getting good support for a non-mainstream platform is to provide a build slave: http://www.python.org/dev/buildbot/ Setting up a build slave takes 20 min: http://bugs.python.org/file24399/buildslave_install.txt

[issue14915] pysetup3.3 install is case insensitive, remove is case sensitive

2012-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: My original report looks like a misdiagnosis. What appears to be happening is that "pysetup3.3 install" is case *insensitive* (thus allowing "pysetup3.3 install distutils2", but "pysetup3.3 remove" is case *sensitive*, thus requiring "pysetup3.3 remove Distutil

[issue14443] Distutils test_bdist_rpm failure

2012-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: Dave, sending this one back in your direction. Is there a relevant difference between rpmbuild in RHEL6 and rpmbuild in current Fedora? -- assignee: eric.araujo -> dmalcolm ___ Python tracker

[issue14930] Make memoryview weakrefable

2012-05-28 Thread Richard Oudkerk
Richard Oudkerk added the comment: Updated patch. -- Added file: http://bugs.python.org/file25744/memoryview-weakref.patch ___ Python tracker ___ ___

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > So, do you have any comment or complain? Or can I commit the patch? I beg your pardon, I will do a review and additional benchmarks today. So far away I have to say, it is better to use stringlib approach, than the massive macros, which are more difficult

[issue11954] 3.3 - 'make test' fails

2012-05-28 Thread Stefan Krah
Stefan Krah added the comment: I can confirm that test_distutils runs fine on Fedora both as root and as non-root (rpmbuild is installed). Also, I don't see any test failures when running the whole test suite as root. IMO this means that all remaining issues in this report are fixed. -

[issue14935] PEP 341 Refactoring applied to _csv module

2012-05-28 Thread Robin Schreiber
New submission from Robin Schreiber : Corresponding to my previous Issue #14732 I have now applied the Heap-Type Refactoring from PEP 341 to the _csv module. As I will apply this refactoring for almost every Standard Module, I will bundle my PEP3121 and PEP341 refactorings into a single patch

[issue14935] PEP 341 Refactoring applied to _csv module

2012-05-28 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +loewis stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue14935] PEP 384 Refactoring applied to _csv module

2012-05-28 Thread Robin Schreiber
Robin Schreiber added the comment: I was of course referring to PEP 384. Sorry for the inconvenience. -- title: PEP 341 Refactoring applied to _csv module -> PEP 384 Refactoring applied to _csv module ___ Python tracker

[issue14936] PEP 3121, 384 refactoring applied to curses_panel module

2012-05-28 Thread Robin Schreiber
New submission from Robin Schreiber : I have now applied the Heap-Type Refactoring from PEP 384 to the curses_panel module. Currently I still provide seperate patches for the PEP 3121 and PEP 384 refactoring. As mentioned in Issue #14935 I am planning to release single patches in the future fo

[issue14936] PEP 3121, 384 refactoring applied to curses_panel module

2012-05-28 Thread Robin Schreiber
Changes by Robin Schreiber : Added file: http://bugs.python.org/file25747/curses_panel_pep3121.patch ___ Python tracker ___ ___ Python-bugs-li

[issue14936] PEP 3121, 384 refactoring applied to curses_panel module

2012-05-28 Thread Robin Schreiber
Robin Schreiber added the comment: I have now also added the PEP3121 patch for the curses_panel module. -- ___ Python tracker ___ ___

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-05-28 Thread Francisco Gracia
New submission from Francisco Gracia : I find specially nice the completion feature for filenames of IDLE when they include long paths, something that is more mand more frequent with big disks and infinite amounts of files. But there is a small problem with it. If the name of any of the direct

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-05-28 Thread Martin v . Löwis
Martin v. Löwis added the comment: Would you like to contribute a patch? -- nosy: +loewis ___ Python tracker ___ ___ Python-bugs-list

[issue14930] Make memoryview weakrefable

2012-05-28 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14930] Make memoryview weakrefable

2012-05-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Updated patch. Looks good to me! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue975330] Inconsistent newline handling in email module

2012-05-28 Thread R. David Murray
R. David Murray added the comment: I almost applied this patch, but my gut is having second thoughts about it. I don't think this is the correct solution. The correct solution would be to delay the encoding of the body part until the message generation phase, and use the requested linesep a

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-05-28 Thread Ronan Lamy
New submission from Ronan Lamy : If an __init__.py file contains relative imports, doing 'import my_pkg.__init__' or calling __import__('my_pkg.__init__') creates duplicate versions of the relatively imported modules, which (I believe) causes cryptic errors in some cases (cf. the metaclass iss

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-05-28 Thread R. David Murray
Changes by R. David Murray : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-05-28 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue11050] email.utils.getaddresses behavior contradicts RFC2822

2012-05-28 Thread R. David Murray
R. David Murray added the comment: The pre 3.3 email package does not do any header unfolding. You can make this work by doing the header unfolding before passing it to getaddresses: >>> email.utils.getaddresses([''.join(m['to'].splitlines())]) [('A (B)', 'c...@d.org'), ('', 'd...@e.org')

[issue9041] raised exception is misleading

2012-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8a65eceea56c by Meador Inge in branch '2.7': Issue #9041: raised exception is misleading http://hg.python.org/cpython/rev/8a65eceea56c New changeset a2e140b083e0 by Meador Inge in branch '3.2': Issue #9041: raised exception is misleading http://hg.

[issue9041] raised exception is misleading

2012-05-28 Thread Meador Inge
Changes by Meador Inge : -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue14928] Fix importlib bootstrapping issues

2012-05-28 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue14775] Dict untracking can result in quadratic dict build-up

2012-05-28 Thread Tim Silk
Tim Silk added the comment: > Thank you for doing this! No problem. I've been thinking about getting involved with python development for a while - this seemed a good place to start! > Do you have a real name so that I can credit you? Yes (thankfully) - I've added it to my profile. > Also,

[issue1079] decode_header does not follow RFC 2047

2012-05-28 Thread R. David Murray
R. David Murray added the comment: Ralf, thanks very much for this patch. I'm considering applying it. Given that the current code breaks on parsing various legitimate constructs, it seems like the behavior change (preserving whitespace in the non-EW parts...which IMO is correct) should be

[issue13700] imaplib.IMAP4.authenticate authobject does not work correctly in python3

2012-05-28 Thread R. David Murray
Changes by R. David Murray : -- components: +email -Library (Lib) nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14360] email.encoders.encode_quopri doesn't work with python 3.2

2012-05-28 Thread R. David Murray
Changes by R. David Murray : -- components: +email -Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue10839] email module should not allow some header field repetitions

2012-05-28 Thread R. David Murray
Changes by R. David Murray : -- components: +email -Library (Lib) nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12037] test_email failures under Windows with the eol extension activated

2012-05-28 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> components: +email nosy: +barry ___ Python tracker ___ ___ Python-bugs-li

[issue11783] email parseaddr and formataddr should be IDNA aware

2012-05-28 Thread R. David Murray
Changes by R. David Murray : -- components: +email -Library (Lib) nosy: +barry ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14775] Dict untracking can result in quadratic dict build-up

2012-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 47e6217d0e84 by Antoine Pitrou in branch '3.2': Issue #14775: Fix a potential quadratic dict build-up due to the garbage collector repeatedly trying to untrack dicts. http://hg.python.org/cpython/rev/47e6217d0e84 New changeset 7951900afd00 by Anto

[issue14775] Dict untracking can result in quadratic dict build-up

2012-05-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > No problem. I've been thinking about getting involved with python > development for a while - this seemed a good place to start! It is. You can also subscribe to the core-mentorship mailing-list if you want: http://mail.python.org/mailman/listinfo/core-mento

[issue14930] Make memoryview weakrefable

2012-05-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset bc0281f85409 by Richard Oudkerk in branch 'default': Issue #14930: Make memoryview objects weakrefable. http://hg.python.org/cpython/rev/bc0281f85409 -- nosy: +python-dev ___ Python tracker

[issue11783] email parseaddr and formataddr should be IDNA aware

2012-05-28 Thread R. David Murray
R. David Murray added the comment: I'm finally getting back around to this. Torsten, could you submit a contributor agreement, please? (http://www.python.org/psf/contrib/) And to answer the question you had about the 'still failing' test, parseaddr isn't currently doing the encoded-word dec

[issue11783] email parseaddr and formataddr should be IDNA aware

2012-05-28 Thread R. David Murray
Changes by R. David Murray : -- assignee: r.david.murray -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-05-28 Thread Francisco Gracia
Francisco Gracia added the comment: I would be delighted, but unfortunately I am a very poor programmer and do not have the slightest idea of how all this works. -- ___ Python tracker

[issue14920] help(urllib.parse) fails when LANG=C

2012-05-28 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-05-28 Thread Brett Cannon
Brett Cannon added the comment: You can't have it both ways. If you explicitly import __init__ then it becomes just another module to Python, but you still need the implicit package module (i.e. without the __init__ name) for everything else to work since so much of the import system relies o

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-05-28 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-28 Thread STINNER Victor
STINNER Victor added the comment: > So far away I have to say, it is better to use stringlib > approach, than the massive macros, which are more difficult > to read and edit. Ah, you don't like the two macros in longobject.c. Functions to write digits into a string may be appropriate in the st

[issue10839] email module should not allow some header field repetitions

2012-05-28 Thread R. David Murray
R. David Murray added the comment: My original fix for this for email6 got lost in a refactoring. Here is a patch that fixes it in the code I recently checked in. It may not cover all the headers that should be unique, since I haven't implemented parsers for all structured headers yet, but

[issue14937] IDLE's deficiency in the completion of file names (Python 32, Windows XP)

2012-05-28 Thread Roger Serwy
Roger Serwy added the comment: The "open_completions" method in AutoComplete.py is where the bug exists. When mode == COMPLETE_FILES, the code searches for characters within the ASCII set, plus a few others contained in FILENAME_CHARS. Attached is a patch to also include characters beyond th

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I just sent you a patch which does not use any macros or stringlib. -- ___ Python tracker ___ ___

[issue14744] Use _PyUnicodeWriter API in str.format() internals

2012-05-28 Thread STINNER Victor
STINNER Victor added the comment: > Functions to write digits into a string may be appropriate > in the stringlib. Oh, stringlib is specific to unicodeobject.c: it cannot be used outside. -- ___ Python tracker __

[issue14939] Usage documentation for pyvenv

2012-05-28 Thread Nick Coghlan
New submission from Nick Coghlan : Command line documentation for pyvenv must be provided under http://docs.python.org/dev/using/index.html before 3.3 is released. -- assignee: docs@python components: Documentation messages: 161815 nosy: docs@python, ncoghlan, vinay.sajip priority: defe

[issue14940] Usage documentation for pysetup

2012-05-28 Thread Nick Coghlan
New submission from Nick Coghlan : Command line documentation for pysetup must be provided under http://docs.python.org/dev/using/index.html before 3.3 is released. -- messages: 161816 nosy: eric.araujo, ncoghlan, tarek priority: deferred blocker severity: normal stage: needs patch stat

[issue14941] "Using Python on Windows" end user docs are out of date

2012-05-28 Thread Nick Coghlan
New submission from Nick Coghlan : The following docs should be updated based on the automatic PATH manipulation in the updated installer: http://docs.python.org/dev/using/windows.html#using-python-on-windows The section on script execution should also mention the -m switch and the section on

[issue14941] "Using Python on Windows" end user docs are out of date

2012-05-28 Thread Brian Curtin
Brian Curtin added the comment: #14668 -- resolution: -> duplicate status: open -> closed ___ Python tracker ___ ___ Python-bugs-lis

[issue14941] "Using Python on Windows" end user docs are out of date

2012-05-28 Thread Nick Coghlan
Changes by Nick Coghlan : -- superseder: -> Document the path option in the Windows installer ___ Python tracker ___ ___ Python-bugs-

[issue14668] Document the path option in the Windows installer

2012-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: See #14941 for a couple of other issues I noticed with the current Windows docs (specifically, -m means finding the stdlib location could probably be de-emphasised and the docs on compiling should be replaced with a reference to the devguide) -- nosy:

[issue14942] add PyType_New()

2012-05-28 Thread Eric Snow
New submission from Eric Snow : Nick Coghlan suggested[1] exploring an easier spelling for "type(name, (), {})" in the C API. I've attached a patch that adds a function that does so: _PyType_New(). It's "private" in the patch, but only because I am reticent to expand the API without solid fe

[issue14942] add PyType_New()

2012-05-28 Thread Eric Snow
Changes by Eric Snow : -- components: +Interpreter Core type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue14940] Usage documentation for pysetup

2012-05-28 Thread Éric Araujo
Éric Araujo added the comment: I agree the doc needs work (I have a patch in progress), but don’t think it should be in “Python Setup and Usage” any more than pydoc or 2to3 or -m unittest, so suggest this be closed in favor of #12779. -- ___ Python

[issue14943] winreg OpenKey doesn't work as documented

2012-05-28 Thread Glenn Linderman
New submission from Glenn Linderman : My first time to use winreg and I am sure that some of this report is documentation, but depending on behavior in other versions, maybe it is a regression in code as well, but I doubt it. I'm reading the 3.3 documentation, but using 3.2.3 for testing. The

[issue12932] dircmp does not allow non-shallow comparisons

2012-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Lennart, I saw your response on StackOverflow ;-). -- nosy: +terry.reedy resolution: out of date -> stage: committed/rejected -> test needed status: closed -> open versions: +Python 3.3 -Python 2.6, Python 2.7 ___ P

[issue14939] Usage documentation for pyvenv

2012-05-28 Thread Éric Araujo
Éric Araujo added the comment: I would document it in library/venv, just like other tools are documented in the relevant module docs. I’m nonetheless +1 to listing all scripts installed by Python in the Setup and Usage docs, with links. -- nosy: +eric.araujo

[issue14895] test_warnings.py EnvironmentVariableTests is a bad test

2012-05-28 Thread Frank Wierzbicki
Changes by Frank Wierzbicki : -- nosy: +fwierzbicki ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-05-28 Thread Ronan Lamy
Ronan Lamy added the comment: my_pkg.__init__ isn't treated as just another module but as a package. That is the reason why the bogus my_pkg.__init__.module1 is created, I guess: >>> import sys >>> sorted(name for name in sys.modules if name.startswith('my_')) [] >>> import my_pkg.__init__ >>>

[issue14938] 'import my_pkg.__init__' creates duplicate modules

2012-05-28 Thread Ronan Lamy
Ronan Lamy added the comment: Grmf. I didn't mean to change the status. -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___

[issue14939] Usage documentation for pyvenv

2012-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: No, we need to start using the Setup & Usage docs *more*, not less. All tools with useful command line behaviour (especially those that are directly installed as scripts) should eventually be documented here. The fact this has historically been avoided is no ex

[issue12510] IDLE get_the_calltip mishandles raw strings

2012-05-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am reopening just as a reminder to revise the comment. -- status: closed -> open ___ Python tracker ___ _

[issue14942] add PyType_New()

2012-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: See my reply on #14939. We need to start getting command line usage information *out* of the standard library reference and documenting it here. -- nosy: +ncoghlan ___ Python tracker

[issue14942] add PyType_New()

2012-05-28 Thread Nick Coghlan
Changes by Nick Coghlan : -- Removed message: http://bugs.python.org/msg161829 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue14940] Usage documentation for pysetup

2012-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: See my reply on #14939. We need to start getting command line usage information *out* of the standard library reference and documenting it here. -- ___ Python tracker _

[issue14944] Setup & Usage documentation for pydoc

2012-05-28 Thread Nick Coghlan
New submission from Nick Coghlan : pydoc is installed as a script by Python. It should be documented under http://docs.python.org/dev/using/index.html. -- assignee: docs@python components: Documentation messages: 161831 nosy: docs@python, ncoghlan priority: normal severity: normal stage

[issue14945] Setup & Usage documentation for selected stdlib modules

2012-05-28 Thread Nick Coghlan
New submission from Nick Coghlan : Some stdlib modules have officially documented and supported behaviour when executed via -m. These should be referenced from the Setup & Usage documentation at http://docs.python.org/dev/using/index.html Current candidates: python -m unittest python -m timeit

[issue14945] Setup & Usage documentation for selected stdlib modules

2012-05-28 Thread Nick Coghlan
Nick Coghlan added the comment: I'm sure there's a predecessor to this issue that I intend for this one to replace, but I can't currently find it in order to mark it as superceded. -- ___ Python tracker _

[issue14945] Setup & Usage documentation for selected stdlib modules

2012-05-28 Thread Éric Araujo
Éric Araujo added the comment: I’d propose to add one file per script / module-as-script, except maybe for -m site and -m sysconfig which are more about debugging an installation than really using a feature provided by the stdlib. -- nosy: +eric.araujo ___

  1   2   >