[issue15465] Improved documentation for C API version info

2012-07-27 Thread Nick Coghlan
New submission from Nick Coghlan : As far as I can tell, the only mentions of the C API version macros are: 1. In the prose for the stable ABI section (incidentally: this section has a typo in the title) 2. In the documentation for sys.hexversion There should be a clear "API and ABI Versionin

[issue15465] Improved documentation for C API version info

2012-07-27 Thread Nick Coghlan
Changes by Nick Coghlan : -- versions: +Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14578] importlib doesn't check Windows registry for paths

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I would really like to release beta2 this weekend. Is it possible to get > this resolved by then? At worse, perhaps 3.3 can be released without this feature. I don't know who relies on it. -- nosy: +pitrou ___

[issue15463] test_faulthandler can fail if install path is too long

2012-07-27 Thread STINNER Victor
STINNER Victor added the comment: faulthandler has arbitrary limits to avoid an unlimited loop if some data are corrupted. #define MAX_STRING_LENGTH 100 #define MAX_FRAME_DEPTH 100 #define MAX_NTHREADS 100 The string limit is maybe too short. MAX_STRING_LENGTH can be set to 500 characters, wha

[issue14578] importlib doesn't check Windows registry for paths

2012-07-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: pywin32 used to install modules this way, but it seems it doesn't anymore: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/file/16707e6f1624/pywin32_postinstall.py#l307 # It is possible people with old versions installed with still have #

[issue12834] PyBuffer_ToContiguous() incorrect for non-contiguous arrays

2012-07-27 Thread Stefan Krah
Stefan Krah added the comment: Any objections to committing this before beta2? What about the len > view->len change: Does that look reasonable? -- ___ Python tracker ___ __

[issue12556] Disable size checks in mmap.mmap()

2012-07-27 Thread Ricky Ng-Adam
Ricky Ng-Adam added the comment: I find this resolution to rejected somewhat questionable. It has been pointed that the mmap behavior in Python differs from the behavior of the underlying mmap as defined by the system documentation. I think the incorrect assumption here is that mmap is used

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: Here is a minimal patch against default. It is a clear improvement on the current situation, even though it still cannot handle the case class Error(Exception): def __init__(self, x): Exception.__init__(self) self.x = x -- ___

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Richard Oudkerk
Changes by Richard Oudkerk : Added file: http://bugs.python.org/file26537/init_args.patch ___ Python tracker ___ ___ Python-bugs-list mailin

[issue15364] sysconfig confused by relative paths

2012-07-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset d2f448dbc30d by Richard Oudkerk in branch 'default': Issue #15364: Fix sysconfig.get_config_var('srcdir') to be an absolute path. http://hg.python.org/cpython/rev/d2f448dbc30d -- nosy: +python-dev ___ Py

[issue15431] Cannot build importlib.h on Windows

2012-07-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Here's a patch. A new project, _freeze_importlib, has the necessary prerequisites and runs the executable, generating importlib.h, as a post-build step. I'm not sure if we should make this project a pre-requisite of any other projects, though -

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: There should be an actual pickling / unpickling test, so that this doesn't regress by mistake. Le vendredi 27 juillet 2012 à 11:01 +, Richard Oudkerk a écrit : > Changes by Richard Oudkerk : > > > Added file: http://bugs.python.org/file26537/init_args.pat

[issue15041] tkinter documentation: update "see also" list

2012-07-27 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ok -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: ExceptionTests.testAttributes already checks the attributes of unpickled copies (using all protocols). -- ___ Python tracker ___ __

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > ExceptionTests.testAttributes already checks the attributes of > unpickled copies (using all protocols). Ok, sorry for the noise then. -- ___ Python tracker _

[issue15466] Python/importlib.h is different on 32bit and 64bit

2012-07-27 Thread Amaury Forgeot d'Arc
New submission from Amaury Forgeot d'Arc : As shown in a patch in issue15431, frozen.c does not output the same data on different platforms. The first difference looks like this (extracted from the patch): -101,73,255,255,255,255,0,0,0,0,40,10,0,0,0,117, +101,108,3,0,0,0,255,127,255,127

[issue15431] Cannot build importlib.h on Windows

2012-07-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: IMO dependencies is not a big issue here. In the worst case, the developer can build a second time... I think your patch won't work on Unix machines: _freeze_importlib.c is linked with all Python files *except* frozen.c which defines PyImport_FrozenMod

[issue15466] Python/importlib.h is different on 32bit and 64bit

2012-07-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: I realize that uppercase I and lowercase L are easily confused: On first row, 'I' (=TYPE_INT64) followed by 0x on 8 bytes. On second row, 'l' (=TYPE_LONG) followed by 3 followed by 0x (in 3 chunks of 15 bits). -- ___

[issue1062277] Pickle breakage with reduction of recursive structures

2012-07-27 Thread Stefan Mihaila
Changes by Stefan Mihaila : -- nosy: +mstefanro ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue12834] PyBuffer_ToContiguous() incorrect for non-contiguous arrays

2012-07-27 Thread Nick Coghlan
Nick Coghlan added the comment: Georg, need a call on how close you are to cutting beta 2 and whether you want this to wait until rc1. -- nosy: +benjamin.peterson, georg.brandl priority: normal -> release blocker ___ Python tracker

[issue15466] Python/importlib.h is different on 32bit and 64bit

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I suggest to remove this distinction, and allow TYPE_INT64 on all > platforms. You have to find a 64-bit C int type that works on all platforms and for which a PyLongAsXXX() function exists, though. Or perhaps you want to restrict yourself to systems which

[issue12834] PyBuffer_ToContiguous() incorrect for non-contiguous arrays

2012-07-27 Thread Nick Coghlan
Nick Coghlan added the comment: Summary of my review for Georg's benefit: I had one minor formatting nit with the patch (which Stefan can easily fix before committing), but it otherwise looked fine to me. I also agree that the old implicit truncation was unusable in practice, as the *actual*

[issue15466] Python/importlib.h is different on 32bit and 64bit

2012-07-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: My primary goal is to have a stable importlib.h, and currently all developer work on machines where PY_LONG_LONG is >64bit. So the restriction is OK. -- ___ Python tracker

[issue15364] sysconfig confused by relative paths

2012-07-27 Thread Éric Araujo
Éric Araujo added the comment: Okay, so LGTM. Let’s ask the RMs if this is a new behavior or a bugfix. -- nosy: +benjamin.peterson, georg.brandl versions: +Python 3.4 -Python 3.3 ___ Python tracker __

[issue6056] socket.setdefaulttimeout affecting multiprocessing Manager

2012-07-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 4e85e4743757 by Richard Oudkerk in branch '2.7': Issue #6056: Make multiprocessing use setblocking(True) on the sockets it uses. http://hg.python.org/cpython/rev/4e85e4743757 New changeset 290f04722be3 by Richard Oudkerk in branch '3.2': Issue #605

[issue15231] update PyPI upload doc to say --no-raw passed to rst2html.py

2012-07-27 Thread Éric Araujo
Éric Araujo added the comment: Compare: running the command above without warnings is not sufficient for PyPI to convert the content successfully. being able to run the command above without warnings is not sufficient to be sure that PyPI will convert the content successfully. -- _

[issue15364] sysconfig confused by relative paths

2012-07-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: The current patch should be fine, although it is IMHO not the long-term solution. For installed python's get_config_var('srcdir') still lies, but now at least returns slightly more sane path. As I noted before the real problem is that it is not clear which c

[issue9269] Cannot pickle self-referencing sets

2012-07-27 Thread Stefan Mihaila
Stefan Mihaila added the comment: Attaching patch for fixing a test and adding better testing of sets. -- Added file: http://bugs.python.org/file26539/sets-test.patch ___ Python tracker

[issue9269] Cannot pickle self-referencing sets

2012-07-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- assignee: belopolsky -> dependencies: -Pickle breakage with reduction of recursive structures stage: needs patch -> patch review versions: +Python 3.4 -Python 3.2 ___ Python tracker

[issue14330] don't use host python, use host search paths for host compiler

2012-07-27 Thread Matthias Klose
Matthias Klose added the comment: just back in DE today, but still travelling. Won't be able to look at this before late Monday. -- ___ Python tracker ___ _

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Brett Cannon
Brett Cannon added the comment: Temporarily making this a blocker to see if Georg considers this a bugfix or feature. -- nosy: +benjamin.peterson priority: critical -> release blocker ___ Python tracker ___

[issue15466] Python/importlib.h is different on 32bit and 64bit

2012-07-27 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue14135] check for locale changes in test.regrtest

2012-07-27 Thread Atsuo Ishimoto
Atsuo Ishimoto added the comment: Patch to check if locale was changed. Since I'm not sure where to put tests for test.regrtest, I created new file, test.test_regrtest. -- keywords: +patch nosy: +ishimoto Added file: http://bugs.python.org/file26540/issue14135.patch _

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : The proposed patches move to test.support some functions, which will be useful for testing __sizeof__. The next few patches will use it. Also in 3.3 some bugs have fixed, now "n" is used for Py_ssize_t and Py_hash_t (which is not long now). -- co

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file26542/sizeof_tests-3.2.patch ___ Python tracker ___ ___ Python-bugs-list

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file26543/sizeof_tests-2.7.patch ___ Python tracker ___ ___ Python-bugs-list

[issue9216] FIPS support for hashlib

2012-07-27 Thread Daniel Holth
Daniel Holth added the comment: While you are at it, can you edit the docs to put md5() at the bottom of the page at the back of the list in a 2-point font and raise a DeprecationWarning("This function is totally lame, and it is slower than SHA-3, get with the program.") the first time it is

[issue9216] FIPS support for hashlib

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > While you are at it, can you edit the docs to put md5() at the bottom > of the page at the back of the list in a 2-point font and raise a > DeprecationWarning("This function is totally lame, and it is slower > than SHA-3, get with the program.") the first time

[issue15468] Edit docs to hide hashlib.md5()

2012-07-27 Thread Daniel Holth
New submission from Daniel Holth : md5() has been obsolete since 1996. It has no place as the first item in hashlib's list of "guaranteed to be available" hashes, and it doesn't work when Python has been compiled to be FIPS-compliant. The documentation should be edited to make md5's availabili

[issue15469] Correct __sizeof__ support for deque

2012-07-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Here is a patch that implements correct __sizeof__ for collections.deque. Test depends on issue15467. -- components: Library (Lib) files: deque_sizeof.patch keywords: patch messages: 166578 nosy: storchaka priority: normal severity: normal status:

[issue15469] Correct __sizeof__ support for deque

2012-07-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +rhettinger Added file: http://bugs.python.org/file26545/deque_sizeof-3.2.patch ___ Python tracker ___

[issue15469] Correct __sizeof__ support for deque

2012-07-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file26546/deque_sizeof-2.7.patch ___ Python tracker ___ ___ Python-bugs-list

[issue15470] Stuck/hang when reading ssl object

2012-07-27 Thread Seamus McKenna
New submission from Seamus McKenna : My python scripting has been running for several weeks periodically sending out emails. However the script has been stuck for the last 24 hrs. No parts of my script have been executed in this period. On terminating the script via ctrl-c, I can see that th

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: The problem is that this adds new features to test_support, which can only be done in 3.4. -- ___ Python tracker ___

[issue15411] os.chmod() does not follow symlinks on Windows

2012-07-27 Thread Andrew Svetlov
Changes by Andrew Svetlov : -- nosy: +asvetlov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: BTW, BaseException_init() has the code Py_XDECREF(self->args); self->args = args; Py_INCREF(self->args); Presumably the Py_XDECREF(self->args) would be better replaced by Py_CLEAR(self->args)? -- ___

[issue15431] Cannot build importlib.h on Windows

2012-07-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: Thank you. I see how I must change the linkage on PC Only, although I wonder why tuen unix version isn't simply doing something similar.. The marshaled code was indeed created using 64 bits. I was unsure whether to include that file as part of the p

[issue14578] importlib doesn't check Windows registry for paths

2012-07-27 Thread Brian Curtin
Brian Curtin added the comment: > I would really like to release beta2 this weekend. Is it possible to get > this resolved by then? As others stated, I'm not sure it's entirely necessary. Given the two dependencies that need to be fixed before this one can move forward, I don't think it's h

[issue15468] Edit docs to hide hashlib.md5()

2012-07-27 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo, gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue15431] Cannot build importlib.h on Windows

2012-07-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: If you look at Makefile.pre.in, you'll see that on Unix it builds a special binary: Modules/_freezeimportlib.c; it uses most of Python machinery (except importlib, of course), and manually open importlib/_bootstrap.py, compiles it, and marshals the res

[issue15431] Cannot build importlib.h on Windows

2012-07-27 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc : -- Removed message: http://bugs.python.org/msg166584 ___ Python tracker ___ ___ Python-bugs-list mai

[issue15471] importlib's __import__() argument style nit

2012-07-27 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : Very minor style nit. In general, it's not considered good style to use mutable objects in default argument values. importlib's _bootstrap.__import__() does just this for its globals, locals, and fromlist arguments. The implementation currently doesn't

[issue15468] Edit docs to hide hashlib.md5()

2012-07-27 Thread Gregory P. Smith
Gregory P. Smith added the comment: The only edit that is needed is for md5 to be documented as unavailable when Python has been compiled in FIPS-compliant mode. Most of the world does not and will never use that mode. md5 is still a perfectly good algorithm for many uses and is required for

[issue15431] Cannot build importlib.h on Windows

2012-07-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: (Sorry for the previous message, it was wrong, and I also pressed the wrong button...) A Unix Makefile cannot stand circular dependencies, so _freezeimportlib.c cannot depend on frozen.o. OTOH it's not simple to have almost-similar list of files on VS

[issue15470] Stuck/hang when reading ssl object

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Well, the traceback shows it's stuck trying to read from the network. It doesn't mean it's stuck in the ssl library; unless your script was taking 100% CPU when you killed it, it was most likely waiting for the peer (a SMTP server, I guess) to respond. One s

[issue15431] Cannot build importlib.h on Windows

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > I'll wait for an update for the 64 bit issue. I don't think it's necessary, it's a pretty minor issue since the generated bytecode is portable anyway. -- dependencies: -Python/importlib.h is different on 32bit and 64bit nosy: +pitrou _

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Presumably the Py_XDECREF(self->args) would be better replaced by > Py_CLEAR(self->args)? Ah, yes, definitely. -- ___ Python tracker ___

[issue15464] ssl: add set_msg_callback function

2012-07-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: That is one way to do it. But it would be better to use a local variable rather than an attribute of the class (because otherwise you have to worry about resetting the value if more than one test uses the same pattern). Something like this would be better

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Or you could simply Py_INCREF(args) before the Py_XDECREF... -- ___ Python tracker ___ ___ Python

[issue15468] Edit docs to hide hashlib.md5()

2012-07-27 Thread Daniel Holth
Daniel Holth added the comment: Not to mention its continued popularity as a password hash, surpassed only by double-rot13. You've convinced me, it is reasonable to continue to support, nay, recommend md5 for the non-FIPS world. This hash function continues to have raving fans, especially in

[issue15472] Itertools doc summary table misdocuments some arguments

2012-07-27 Thread Éric Araujo
New submission from Éric Araujo : In the tables near the top of http://docs.python.org/library/itertools , some functions like cycle have an example that uses “seq”, which is interpreted as “sequence” but the functions do work with any iterable. -- assignee: docs@python components: Doc

[issue15473] importlib no longer uses imp.NullImporter

2012-07-27 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : I think this is mostly just out of date documentation, but I want to get Brett's feedback. The sys module has this to say about sys.path_importer_cache: "A dictionary acting as a cache for finder objects. The keys are paths that have been passed to sys.pa

[issue1234674] filecmp.cmp's "shallow" option

2012-07-27 Thread Chris Jerdonek
Changes by Chris Jerdonek : -- nosy: +cjerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue15468] Edit docs to hide hashlib.md5()

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: The hashlib doc starts with "Warning: Some algorithms have known hash collision weaknesses, see the FAQ at the end" (the "FAQ at the end" is a link to a Wikipedia article). The sentence "Included are the FIPS secure hash algorithms SHA1, SHA224, SHA256, SHA38

[issue15460] SQLite cursor.description is not DB-API compatible

2012-07-27 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python, tshepang ___ Python tracker ___ _

[issue15439] Include Misc/ACKS names into the documentation

2012-07-27 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue15439] Include Misc/ACKS names into the documentation

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > OK, I propose to completely drop the Doc/ACKS.txt from the documentation, and > replace it with the words Sounds good to me. -- ___ Python tracker

[issue15460] SQLite cursor.description is not DB-API compatible

2012-07-27 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- nosy: +ghaering ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue15418] 2to3 docs should mention setup.py fixes required to install compatible packages in Python 3

2012-07-27 Thread Tshepang Lekhonkhobe
Changes by Tshepang Lekhonkhobe : -- nosy: +tshepang ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: > Or you could simply Py_INCREF(args) before the Py_XDECREF... But won't self->args point to a broken object while any callbacks triggered by Py_XDECREF() are run? An alternative would be tmp = self->args; self->args = args; Py_INCREF(self->args

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Can we get around this by renaming check_sizeof into _check_sizeof? Or would we have to duplicate these auxiliary functions in every test file with __sizeof__ test? -- ___ Python tracker

[issue15474] Differentiate decorator and decorator factory in docs

2012-07-27 Thread Éric Araujo
New submission from Éric Araujo : Some of the confusion encountered when writing decorators arise from the difference between a decorator (@something) and a decorator factory (@something(args)). It would help to adopt this clearer terminology in our docs: a decorator takes the decorated funct

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: > But won't self->args point to a broken object while any callbacks triggered > by Py_XDECREF() are run? > > An alternative would be > > tmp = self->args; > self->args = args; > Py_INCREF(self->args); > Py_XDECREF(tmp); You are right, that's

[issue15460] SQLite cursor.description is not DB-API compatible

2012-07-27 Thread Gerhard Häring
Gerhard Häring added the comment: SQLite's columns aren't typed, only SQLite values are. So it's entirely possible for the same column to have different types, like the NULL type, the INTEGER type and the TEXT type. It's thus impossible to give meaningful type information in a SQLite3 DB-API

[issue15475] Correct __sizeof__ support for itertools

2012-07-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Here is a patch that implements correct __sizeof__ for some itertools iterators: product(), combinations(), combinations_with_replacement() and permutations(). -- components: Library (Lib) files: itertools_sizeof-3.3.patch keywords: patch messages

[issue15475] Correct __sizeof__ support for itertools

2012-07-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file26548/itertools_sizeof-3.2.patch ___ Python tracker ___ ___ Python-bugs-l

[issue15475] Correct __sizeof__ support for itertools

2012-07-27 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : Added file: http://bugs.python.org/file26549/itertools_sizeof-2.7.patch ___ Python tracker ___ ___ Python-bugs-l

[issue15467] Updating __sizeof__ tests

2012-07-27 Thread Martin v . Löwis
Martin v. Löwis added the comment: Not sure: that's for release managers to decide. -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__

2012-07-27 Thread Richard Oudkerk
Richard Oudkerk added the comment: Patch which adds fix for BaseException_init(). Actually this class of problem seem to be quite common. BaseException_set_tb() appears to be affected too, as is the code in the tutorial which introduces setters. -- Added file: http://bugs.python.or

[issue15439] Include Misc/ACKS names into the documentation

2012-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with Martin also. A short paragraph and link to the (combined) online file is quite sufficient. There is no need for the file to be in offline copies. And I would make the change in all current versions. -- nosy: +terry.reedy

[issue15311] Developer Guide doesn't get updated once a day

2012-07-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Hi Ned, you committed two of my Dev Guide patches in the recent past. I was wondering if you would be willing to commit this one as well. Thanks a lot. -- ___ Python tracker __

[issue15444] Incorrectly written contributor's names

2012-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I basically agree with Marc-André. Indeed, I think Acks, at least, should contain names in native spelling plus, if that is not Latin-based, a romanization. Three reasons: 1. I want English-speaking Python programmers to feel welcome to contribute and be ackn

[issue15311] Developer Guide doesn't get updated once a day

2012-07-27 Thread Ned Deily
Ned Deily added the comment: I believe you'll find that the "update" target in the Doc Makefile will install or update all the necessary doc tools including Sphinx. -- ___ Python tracker _

[issue15311] Developer Guide doesn't get updated once a day

2012-07-27 Thread Éric Araujo
Éric Araujo added the comment: The Doc makefile does install Sphinx, just like it used to install the previous toolchain, but the devguide is a regular Sphinx project which requires you to have Sphinx installed. -- ___ Python tracker

[issue15311] Developer Guide doesn't get updated once a day

2012-07-27 Thread Ned Deily
Ned Deily added the comment: Sorry, of course! The devguide is not the docset. -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue15451] PATH is not honored in subprocess.Popen in win32

2012-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Richard is correct. From 17.1.1.2. Popen Constructor "If env is not None, it must be a mapping that defines the environment variables for the new process; these are used instead of inheriting the current process’ environment, which is the default behavior." (

[issue15311] Developer Guide doesn't get updated once a day

2012-07-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 706b1fa362a4 by Ned Deily in branch 'default': Issue #15311: Expand section on helping with the Developer's Guide http://hg.python.org/devguide/rev/706b1fa362a4 -- nosy: +python-dev ___ Python tracker <

[issue15311] Developer Guide doesn't get updated once a day

2012-07-27 Thread Ned Deily
Ned Deily added the comment: Thanks for the patch. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue15311] Developer Guide doesn't get updated once a day

2012-07-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: The original issue ("Developer Guide doesn't get updated once a day") isn't fixed, though. -- priority: normal -> critical resolution: fixed -> stage: committed/rejected -> status: closed -> open ___ Python tracke

[issue15311] Dev Guide update hook broken

2012-07-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks, Ned! Renaming the issue title to be more specific. -- keywords: -easy, patch title: Developer Guide doesn't get updated once a day -> Dev Guide update hook broken ___ Python tracker

[issue15295] Document PEP 420 namespace packages

2012-07-27 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: First draft is complete, along with updates to the importlib abcs for the new protocols. You'll see the language reference has a new importmachinery.rst file which describes finding and loading modules. You'll see that the import statement docs have been s

[issue15450] Allow dircmp.subdirs to behave well under subclassing

2012-07-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Updating patch to include documentation changes. -- keywords: -patch stage: needs patch -> patch review Added file: http://bugs.python.org/file26551/issue-15450-2.patch ___ Python tracker

[issue15295] Import machinery documentation

2012-07-27 Thread Barry A. Warsaw
Changes by Barry A. Warsaw : -- priority: deferred blocker -> release blocker stage: needs patch -> patch review title: Document PEP 420 namespace packages -> Import machinery documentation ___ Python tracker _

[issue15444] Incorrectly written contributor's names

2012-07-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: The idea also to include a romanization is a good one. While working on issue 15437, it occurred to me that storing the names in a structured form might come in handy. This would let us do things like list the username(s) associated with each contributor alo

[issue15457] consistent treatment of generator terminology

2012-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think the current entry calling a generator function a generator is wrong, so I appreciate your patch. Generator functions return instances of class 'generator'*. I personally refer to generators as generator-iterators about as often as I refer to lists as

[issue15453] ctype with packed bitfields does not match native compiler

2012-07-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you have not, please check other ctypes bitfields issues, especially #15119 "ctypes mixed-types bitfield layout nonsensical; doesn't match compiler." to see if this is the same problem. -- nosy: +terry.reedy versions: -Python 2.6

[issue15457] consistent treatment of generator terminology

2012-07-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Thanks a lot for the excellent feedback. I'll update the patch to incorporate it. One background note: I tried not to be too strict about using "generator iterator" or "generator function" in place of "generator" in the general docs in deference to this rem

[issue9161] add_option in optparse no longer accepts unicode string

2012-07-27 Thread Michael Johnson
Michael Johnson added the comment: Created a unit test for the patch that was committed in r82581. I can easily add the test to argparse too, if needed; I didn't see any tests related to Unicode in there. -- nosy: +mjjohnson ___ Python tracker

[issue15457] consistent treatment of generator terminology

2012-07-27 Thread Chris Jerdonek
Chris Jerdonek added the comment: Attaching updated patch incorporating feedback. It would be nice to have a good term for "the generator function code object associated with a generator" to distinguish it from the original generator function as you point out. There are many places in the do

[issue9035] os.path.ismount on windows doesn't support windows mount points

2012-07-27 Thread Atsuo Ishimoto
Changes by Atsuo Ishimoto : -- nosy: +ishimoto ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pytho

  1   2   >