[issue22519] integer overflow in computing byte's object representation

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- versions: +Python 2.7, Python 3.3, Python 3.5 ___ Python tracker ___ ___ Python-bu

[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- versions: +Python 3.3, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mail

[issue22286] Allow backslashreplace error handler to be used on input

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22470] Possible integer overflow in error handlers

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22422] IDLE closes all when in dropdown menu

2014-09-29 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> not a bug stage: -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue10937] WinPE 64 bit execution results with errors

2014-09-29 Thread Tim Golden
Changes by Tim Golden : -- resolution: -> not a bug stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ ___

[issue2399] Patches for Tools/msi

2014-09-29 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- resolution: -> out of date status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue22520] integer overflow in computing unicode's object representation

2014-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8ba7e5f43952 by Benjamin Peterson in branch '3.3': prevent overflow in unicode_repr (closes #22520) https://hg.python.org/cpython/rev/8ba7e5f43952 New changeset 6f54dfa675eb by Benjamin Peterson in branch '3.4': merge 3.3 (#22520) https://hg.python.

[issue22520] integer overflow in computing unicode's object representation

2014-09-29 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- versions: +Python 3.3, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9b4673d7b046 by Benjamin Peterson in branch '2.7': clear BufferedRWPair weakrefs on deallocation (closes #22517) https://hg.python.org/cpython/rev/9b4673d7b046 New changeset e834b32f0422 by Benjamin Peterson in branch '3.3': clear BufferedRWPair wea

[issue16662] load_tests not invoked in package/__init__.py

2014-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 090dc85f4226 by Benjamin Peterson in branch 'default': fix windows tests (#16662) https://hg.python.org/cpython/rev/090dc85f4226 -- ___ Python tracker

[issue22422] IDLE closes all when in dropdown menu

2014-09-29 Thread Brunel
Changes by Brunel : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue2399] Patches for Tools/msi

2014-09-29 Thread Steve Dower
Steve Dower added the comment: I think they've all been fixed anyway, but yeah, they're not going to be relevant with my new installer. -- ___ Python tracker ___

[issue10531] write tilted text in turtle

2014-09-29 Thread Mark Lawrence
Mark Lawrence added the comment: Could this now be implemented in the turtle module? -- nosy: +BreamoreBoy, terry.reedy versions: +Python 3.5 ___ Python tracker ___ _

[issue2399] Patches for Tools/msi

2014-09-29 Thread Mark Lawrence
Mark Lawrence added the comment: Has this issue been overtaken by events? -- nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware versions: +Python 3.5 -Python 3.2 ___ Python tracker __

[issue10937] WinPE 64 bit execution results with errors

2014-09-29 Thread Mark Lawrence
Mark Lawrence added the comment: In msg126496 MVL says "I'll also point out that this is not a bug: copying over an installation is not supposed to work" so can we close this as "not a bug"? -- nosy: +BreamoreBoy, steve.dower, tim.golden, zach.ware -brian.curtin ___

[issue22520] integer overflow in computing unicode's object representation

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22519] integer overflow in computing byte's object representation

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ram Rachum
Ram Rachum added the comment: If that's the case I'd prefer Raymond to first say whether this feature is generally welcome before spending my time on making a patch. -- ___ Python tracker _

[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22518] integer overflow in encoding unicode

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue10938] Provide links to system specific strftime/ptime docs

2014-09-29 Thread Mark Lawrence
Mark Lawrence added the comment: @Humberto could you provide a patch for this? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1, Python 3.2 ___ Python tracker

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ethan Furman
Ethan Furman added the comment: I think the final call is Raymond's (whether to accept the patch), but go ahead. Worst case scenario is you'll have your own thoroughly tested PartiallyOrderedCounter you can use in your own code. :) -- nosy: +rhettinger type: -> enhancement

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ram Rachum
Ram Rachum added the comment: Shall I write a patch? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue22519] integer overflow in computing byte's object representation

2014-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset d9cd11eda152 by Benjamin Peterson in branch '2.7': fix overflow checking in PyString_Repr (closes #22519) https://hg.python.org/cpython/rev/d9cd11eda152 New changeset f5c662a7f7e6 by Benjamin Peterson in branch '3.3': fix overflow checking in PyByte

[issue10789] Lock.acquire documentation is misleading

2014-09-29 Thread Mark Lawrence
Mark Lawrence added the comment: Has the Argument Clinic had an impact on this or is that a different kettle of fish? -- nosy: +BreamoreBoy versions: +Python 3.4, Python 3.5 -Python 3.1 ___ Python tracker

[issue8350] Document lack of support for keyword arguments in C functions

2014-09-29 Thread Mark Lawrence
Mark Lawrence added the comment: Has the Argument Clinic had an impact on this or is that a different kettle of fish? -- nosy: +BreamoreBoy versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker _

[issue22518] integer overflow in encoding unicode

2014-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset b2e68274aa8e by Benjamin Peterson in branch '2.7': cleanup overflowing handling in unicode_decode_call_errorhandler and unicode_encode_ucs1 (closes #22518) https://hg.python.org/cpython/rev/b2e68274aa8e New changeset 3b7e93249700 by Benjamin Peters

[issue22515] Implement partial order on Counter

2014-09-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: The request sounds ok to me. As in the corner case of negative values, it seems that Counter currently doesn't elide zero values, e.g.: >>> Counter({'a': 0}) == Counter({}) False Therefore, we should have: >>> Counter({'a': -1}) < Counter({'a': 0}) True but:

[issue22518] integer overflow in encoding unicode

2014-09-29 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue22518] integer overflow in encoding unicode

2014-09-29 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- versions: +Python 2.7, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ram Rachum
Ram Rachum added the comment: You're right, sorry. I meant the mathematical "for any" which means "for every": https://en.wikipedia.org/wiki/List_of_mathematical_symbols (See "for any;") -- ___ Python tracker ___

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ethan Furman
Ethan Furman added the comment: That is certainly a better definition. If you carefully reread your original post you will see that you wrote something different ('any' instead of 'every'). Also, your OP uses '__lt__' but talks about 'less-than-or-equal -- somewhat confusing. ;) --

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ram Rachum
Ram Rachum added the comment: To put it another way: In Python sets, `a <= b` iff `b` has everything that `a` has, and possibly more. I'm proposing the exact same definition for counters. True, the implementation might be different because sets are not dicts and don't have `.values()`, but tha

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ram Rachum
Ram Rachum added the comment: Ethan, I don't understand what the problem is. I also don't understand your side note question "how does partial-ordering work for sets?" I'm not sure what you're asking. >> That is, one counter will be considered smaller-or-equal to another if for >> any >> ite

[issue22515] Implement partial order on Counter

2014-09-29 Thread Josh Rosenberg
Changes by Josh Rosenberg : -- nosy: +josh.rosenberg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ethan Furman
Ethan Furman added the comment: set's don't have values, and you are wanting to implement the partial ordering based on the values. (side-note: how does partial-ordering work for sets?) > That is, one counter will be considered smaller-or-equal to another if for any > item in the first counter

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ram Rachum
Ram Rachum added the comment: David, there's nothing here that isn't well defined. It's simply a partial order, not a total order. We have the same for sets. -- ___ Python tracker _

[issue22515] Implement partial order on Counter

2014-09-29 Thread R. David Murray
R. David Murray added the comment: Thanks, Ethan. I had a feeling that this wasn't well defined but I couldn't come up with an example :) -- nosy: +r.david.murray ___ Python tracker __

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ram Rachum
Ram Rachum added the comment: False, like with sets. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue22518] integer overflow in encoding unicode

2014-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Looks very similar to issue22470. -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bug

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ethan Furman
Ethan Furman added the comment: What would be the result of Counter({'a':1, 'b':2}) < Counter({'a':2, 'b':1}) ? -- nosy: +ethan.furman ___ Python tracker ___

[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +benjamin.peterson, pitrou, stutzbach versions: +Python 2.7 ___ Python tracker ___ ___ Python-b

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-29 Thread R. David Murray
R. David Murray added the comment: Yes, sorry I forgot to change the stage. -- stage: -> commit review ___ Python tracker ___ ___ Pyt

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-29 Thread Francis MB
Francis MB added the comment: No problem, but is the, 3 lines, patch ok? what are the next steps, if yes? Shouldn't be the issue status now 'patch review' or similar? Thanks in advance! -- ___ Python tracker _

[issue22516] Windows Installer won't - even when using "just for me"option

2014-09-29 Thread R. David Murray
Changes by R. David Murray : -- resolution: -> later stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue22520] integer overflow in computing unicode's object representation

2014-09-29 Thread paul
New submission from paul: # unicode_repr(PyObject *unicode) # { # ... # 1 isize = PyUnicode_GET_LENGTH(unicode); # idata = PyUnicode_DATA(unicode); # # /* Compute length of output, quote characters, and #maximum character */ # osize = 0; # ... # for (i = 0; i <

[issue22519] integer overflow in computing byte's object representation

2014-09-29 Thread paul
New submission from paul: # PyBytes_Repr(PyObject *obj, int smartquotes) # { # PyBytesObject* op = (PyBytesObject*) obj; # 1 Py_ssize_t i, length = Py_SIZE(op); # size_t newsize, squotes, dquotes; # ... # # /* Compute size of output string */ # newsize = 3; /* b'' */ #

[issue22518] integer overflow in encoding unicode

2014-09-29 Thread paul
New submission from paul: # static PyObject * # unicode_encode_ucs1(PyObject *unicode, # const char *errors, # unsigned int limit) # { # ... # while (pos < size) { # ... # case 4: /* xmlcharrefreplace */ # /* determ

[issue22516] Windows Installer won't - even when using "just for me"option

2014-09-29 Thread Steve Dower
Steve Dower added the comment: The "just for me" option isn't really "just for me". I'll probably have a real option in 3.5, though it may still require admin rights. There's no reason sites like www.portableapps.com couldn't provide true per-user installers, and Continuum Analytics and Enthou

[issue22517] BufferedRWpair doesn't clear weakrefs

2014-09-29 Thread paul
New submission from paul: # static void # bufferedrwpair_dealloc(rwpair *self) # { # _PyObject_GC_UNTRACK(self); # Py_CLEAR(self->reader); # Py_CLEAR(self->writer); # Py_CLEAR(self->dict); # Py_TYPE(self)->tp_free((PyObject *) self); # } # # Weakrefs to this object contain st

[issue22516] Windows Installer won't - even when using "just for me"option

2014-09-29 Thread R. David Murray
R. David Murray added the comment: The source tarball is the source tarball. You can built python yourself, but it does require MSVC. There are issues in this tracker about supporting other compilers, but for various reasons (mostly having to do with this being a volunteer community driven p

[issue22516] Windows Installer won't - even when using "just for me"option

2014-09-29 Thread Ezio Melotti
Changes by Ezio Melotti : -- components: +Windows nosy: +steve.dower, terry.reedy, zach.ware ___ Python tracker ___ ___ Python-bugs-li

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-29 Thread R. David Murray
R. David Murray added the comment: Sorry, I'm not that familiar with distutils and did not realize it had stuff for environment protection in the setUp/tearDown. -- ___ Python tracker _

[issue22516] Windows Installer won't - even when using "just for me"option

2014-09-29 Thread J. Morton
New submission from J. Morton: Could not install 3.4.1 on Windows 7 Enterprise SP1 using the .MSI installer, even when using the ”just for me” option (our IM department has not given us the necessary rights to run the .MSI installer even in this mode). Please consider providing 3.4.1 (and all

[issue22515] Implement partial order on Counter

2014-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: There is other definition of the <= operator for sets: "A <= B" is equivalent to "len(A - B) == 0". Extending to Counter this can mean "len(A.subtract(B).elements()) == 0". -- ___ Python tracker

[issue22512] 'test_distutils.test_bdist_rpm' causes creation of directory '.rpmdb' on home dir

2014-09-29 Thread Francis MB
Francis MB added the comment: Why is test.support.EnvironmentVarGuard preferable over distutils.test.support.EnvironGuard (with this one I'm not getting the warnings below)? If I change the patch to (not so different (?) as in other tests using EnvironmentVarGuard): $hg diff diff -r 2b212a81

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ram Rachum
Ram Rachum added the comment: (I mean, the non-positive values should be ignored.) -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ram Rachum
Ram Rachum added the comment: I suggest they be ignored like in `elements`. -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue22515] Implement partial order on Counter

2014-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What should be result of following operations? Counter({'a': 0}) < Counter({}) Counter({}) < Counter({'a': 0}) Counter({'a': -1}) < Counter({}) Counter({}) < Counter({'a': -1}) -- nosy: +serhiy.storchaka ___ Python

[issue10007] Visual C++ cannot build _ssl and _hashlib if newer OpenSSL is placed in $(dist) directory (PCBuild)

2014-09-29 Thread Zachary Ware
Zachary Ware added the comment: PCbuild/build_ssl.py in 2.7 and 3.4 look through pyproject.(vs)props for the openssl dir, and 3.5 no longer uses build_ssl.py in the regular build process, so this is in fact out of date. -- assignee: -> zach.ware resolution: -> out of date stage: ->

[issue22515] Implement partial order on Counter

2014-09-29 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Mon, Sep 29, 2014 at 07:33:21PM +, Ram Rachum wrote: > I suggest implementing `Counter.__lt__` which will be a partial order, > similarly to `set.__lt__`. Since Counter is described as a multiset, this sounds reasonable to me. -- nosy: +steven

[issue22437] re module: number of named groups is limited to 100 max

2014-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Antoine for your review. To avoid discrepancy between re and regex (and other engines), I have committed only a part of dynamic patch, without adding support of backreferences with index over 99. It is unlikely to achieve this limit in hand written

[issue1565509] Repair or Change installation error

2014-09-29 Thread Zachary Ware
Zachary Ware added the comment: Steve Dower wrote: > I vote to close. +1, and done. -- assignee: loewis -> resolution: -> third party stage: test needed -> resolved status: open -> closed ___ Python tracker __

[issue19569] Use __attribute__((deprecated)) to warn usage of deprecated functions and macros

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Arfrever Frehtes Taifersar Arahesis added the comment: There is already Py_DEPRECATED in Include/pyport.h: #if defined(__GNUC__) && ((__GNUC__ >= 4) || \ (__GNUC__ == 3) && (__GNUC_MINOR__ >= 1)) #define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__)) #else #define P

[issue19569] Use __attribute__((deprecated)) to warn usage of deprecated functions and macros

2014-09-29 Thread Arfrever Frehtes Taifersar Arahesis
Changes by Arfrever Frehtes Taifersar Arahesis : -- nosy: +Arfrever ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue22514] incomplete programming example on python.org

2014-09-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: 987 is indeed missing. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue22437] re module: number of named groups is limited to 100 max

2014-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0b85ea4bd1af by Serhiy Storchaka in branch 'default': Issue #22437: Number of capturing groups in regular expression is no longer https://hg.python.org/cpython/rev/0b85ea4bd1af -- nosy: +python-dev ___ Py

[issue22194] access to cdecimal / libmpdec API

2014-09-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue22515] Implement partial order on Counter

2014-09-29 Thread Ram Rachum
New submission from Ram Rachum: I suggest implementing `Counter.__lt__` which will be a partial order, similarly to `set.__lt__`. That is, one counter will be considered smaller-or-equal to another if for any item in the first counter, the second counter has an equal or bigger amount of that i

[issue22514] incomplete programming example on python.org

2014-09-29 Thread Friedrich Spee von Langenfeld
New submission from Friedrich Spee von Langenfeld: When I open www.python.org, there are some examples to demonstrate the "look and feel" of Python. I´ve tested an example (example number 1). Online, the following is shown: # Python 3: Fibonacci series up to n >>> def fib(n): >>> a, b = 0,

[issue22486] Add math.gcd()

2014-09-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue22513] grp.struct_group is not hashable

2014-09-29 Thread Ethan Furman
Ethan Furman added the comment: Thanks, Serhiy. -- resolution: -> not a bug stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue22513] grp.struct_group is not hashable

2014-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is because grp.struct_group contains unhashable component (a list). Same behavior with tuple: >>> tuple(grp.getgrgid(1000)) ('serhiy', 'x', 1000, []) >>> set(tuple(grp.getgrgid(1000))) Traceback (most recent call last): File "", line 1, in TypeError:

[issue22460] idle editor: replace all in selection

2014-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: About your email problem: post to core-mentorship list and if you cannot do that, write to Ezio Melotti and/or R. David Murray directly, as they are tracker maintainers. -- stage: -> needs patch ___ Python tracker

[issue6978] compiler.transformer dict key bug d[1,] = 1

2014-09-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this because a) Meador is correct that we do not normally patch deprecated features and b) the current emphasis on 2.7-only patches is security and keeping 2.7 working on current systems. The fix would only benefit 2.7.9+ code or 2.7.9+ and 3.x c

[issue22513] grp.struct_group is not hashable

2014-09-29 Thread Ethan Furman
Ethan Furman added the comment: Test added. -- keywords: +patch stage: -> needs patch Added file: http://bugs.python.org/file36752/issue22513.stoneleaf.01.patch ___ Python tracker _

[issue17442] code.InteractiveInterpreter doesn't display the exception cause

2014-09-29 Thread Claudiu Popa
Claudiu Popa added the comment: Indeed, it's a preexisting bug. I'll try to come up with a patch shortly. -- ___ Python tracker ___ __

[issue22513] grp.struct_group is not hashable

2014-09-29 Thread Ethan Furman
New submission from Ethan Furman: First, the behavior for pwd.struct_passwd: - --> pwd.getpwuid(1000) pwd.struct_passwd(pw_name='ethan', pw_passwd='x', pw_uid=1000, pw_gid=1000, pw_gecos='Ethan Furman,,,', pw_dir='/home/ethan', pw_shell='/bin/bash') --> s

[issue22510] Faster bypass re cache when DEBUG is passed

2014-09-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you Antoine for your review. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue10007] Visual C++ cannot build _ssl and _hashlib if newer OpenSSL is placed in $(dist) directory (PCBuild)

2014-09-29 Thread Steve Dower
Steve Dower added the comment: Should be fine. Both 2.7 and default have the full OpenSSL version in pyproject.vsprops, so they'll only use the version they expect. -- ___ Python tracker __

[issue1565509] Repair or Change installation error

2014-09-29 Thread Steve Dower
Steve Dower added the comment: Newer versions of Windows Installer (this looks like an XP issue...) will preserve a copy of the original MSI in a safe place, so this problem should not occur any more. I vote to close. -- ___ Python tracker

[issue5979] strptime() gives inconsistent exceptions

2014-09-29 Thread Berker Peksag
Changes by Berker Peksag : -- stage: needs patch -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue5979] strptime() gives inconsistent exceptions

2014-09-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- resolution: -> wont fix status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12006] strptime should implement %G, %V and %u directives

2014-09-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Documentation should say "new in 3.5". -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue12006] strptime should implement %G, %V and %u directives

2014-09-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: I think we need more tests showing that new directives don't violate strftime - strptime round-trip invariants. -- title: strptime should implement %V or %u directive from libc -> strptime should implement %G, %V and %u directives __

[issue12006] strptime should implement %V or %u directive from libc

2014-09-29 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: For future reference, here is the example showing %Y %V ambiguity: >>> date(2013,12,31).strftime('%Y %V %u') '2013 01 2' >>> date(2013,1,1).strftime('%Y %V %u') '2013 01 2' which is resolved by using %G >>> date(2013,12,31).strftime('%G %V %u') '2014 01

[issue17442] code.InteractiveInterpreter doesn't display the exception cause

2014-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 2b212a8186e0 by R David Murray in branch 'default': #17442: Add chained traceback support to InteractiveInterpreter. https://hg.python.org/cpython/rev/2b212a8186e0 -- nosy: +python-dev ___ Python tracker

[issue17442] code.InteractiveInterpreter doesn't display the exception cause

2014-09-29 Thread R. David Murray
R. David Murray added the comment: After reconsidering Terry's idle example, it seems to me that the change could adversely impact existing code that already works around the lack of chained tracebacks, even as idle does. So I committed this to 3.5 only as an enhancement. Thanks Claudiu. As

[issue22510] Faster bypass re cache when DEBUG is passed

2014-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 565096a32ce4 by Serhiy Storchaka in branch 'default': Issue #22510: Get rid of little overhead of testing re.DEBUG flag. https://hg.python.org/cpython/rev/565096a32ce4 -- nosy: +python-dev ___ Python trac

[issue20858] Enhancements/fixes to pure-python datetime module

2014-09-29 Thread Berker Peksag
Changes by Berker Peksag : -- stage: commit review -> resolved ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue21338] Silent mode for compileall

2014-09-29 Thread R. David Murray
R. David Murray added the comment: Berker: I had some review comments pending on the docs, but reitveld isn't letting me publish them for some reason (it says the patch set doesn't exist). The comments are: the method docs should probably say "``False`` or ``0`` (the default)" (and all the num

[issue20135] FAQ need list mutation answers

2014-09-29 Thread R. David Murray
R. David Murray added the comment: I accidentally committed the patch early to 3.4/3.5. I've now addressed Ezio's review comment per my suggestion on the review, and committed it to 2.7 as well. Thanks everyone for your contributions. -- resolution: -> fixed stage: commit review -> r

[issue20135] FAQ need list mutation answers

2014-09-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset 138f54622841 by R David Murray in branch '3.4': #20135: FAQ entry for list mutation. (See also 6375bf34fff6.) https://hg.python.org/cpython/rev/138f54622841 New changeset 3d924bbfdcbc by R David Murray in branch 'default': Merge: #20135: FAQ entry

[issue9104] test.support method for dual-testing accelerated code (fixes test_exceptions and other's pickle testing)

2014-09-29 Thread Alexander Belopolsky
Changes by Alexander Belopolsky : -- assignee: belopolsky -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue22460] idle editor: replace all in selection

2014-09-29 Thread bagrat lazaryan
bagrat lazaryan added the comment: replacing across multiple files is something i personally considered too fancy for idle, but that's a great feature. the same goes for smart selections like selecting multiline statements. if they don't contradict idle's simplicity ideology they are great can

[issue17835] test_io broken on PPC64 Linux

2014-09-29 Thread James Spurin
James Spurin added the comment: With both the kernel parameters defined and undefined, I get the following output - # /local/0/opt/python-3.4.1/bin/python Python 3.4.1 (default, Sep 29 2014, 13:31:39) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux Type "help", "copyright", "credits" or "licens

[issue22472] OSErrors should use str and not repr on paths

2014-09-29 Thread R. David Murray
R. David Murray added the comment: No, because I'm just logging the error message. That's the UI. -- ___ Python tracker ___ ___ Pytho

[issue21159] configparser.InterpolationMissingOptionError is not very intuitive

2014-09-29 Thread R. David Murray
R. David Murray added the comment: We never promise that the messages won't change (they are not part of the API), so that part isn't a problem. We do try to be backward compatible there when it comes to args beyond the message text. I don't think unpickleability is an issue; at least there

[issue22472] OSErrors should use str and not repr on paths

2014-09-29 Thread Akira Li
Akira Li added the comment: OSError has *filename* attribute. Could it be passed to the UI instead? -- nosy: +akira ___ Python tracker ___ ___

  1   2   >