[issue25464] Tix HList header_exists should be "exist"

2015-10-22 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +gpolo, serhiy.storchaka, terry.reedy ___ Python tracker <http://bugs.python.org/issue25464> ___ ___ Python-bugs-list mailin

[issue25594] enum docs outdated re attribute access

2015-11-10 Thread Ethan Furman
Ethan Furman added the comment: Nope, that would be a bug. -- assignee: docs@python -> ethan.furman stage: -> test needed type: -> behavior ___ Python tracker <http://bugs.python.or

[issue25594] enum instance attribute access possible

2015-11-13 Thread Ethan Furman
Ethan Furman added the comment: Thanks for tracking that down. After more research I'm inclined to leave the code as it is and revamp the docs to clarify that while it may work, the results may not be what you want: -- 8< --- class Color(Enum): red = 1

[issue25594] enum instance attribute access possible

2015-11-15 Thread Ethan Furman
Changes by Ethan Furman : Added file: http://bugs.python.org/file41048/issue25594.stoneleaf.03.patch ___ Python tracker <http://bugs.python.org/issue25594> ___ ___ Pytho

[issue25594] enum instance attribute access possible

2015-11-17 Thread Ethan Furman
Ethan Furman added the comment: Changed the wording slightly to indicate that looking up members on other members is a bad idea. -- Added file: http://bugs.python.org/file41064/issue25594.stoneleaf.04.patch ___ Python tracker <h

[issue25672] set SSL_MODE_RELEASE_BUFFERS

2015-11-19 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +alex, christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou title: Unconditionally set SSL_MODE_RELEASE_BUFFERS -> set SSL_MODE_RELEASE_BUFFERS ___ Python tracker <http://bugs.python.org/issu

[issue25594] enum instance attribute access possible

2015-11-20 Thread Ethan Furman
Ethan Furman added the comment: Other changeset f4b495ceab17 in default branch. -- ___ Python tracker <http://bugs.python.org/issue25594> ___ ___ Python-bug

[issue25634] Add a dedicated subclass for attribute missing errors

2015-11-28 Thread Ethan Furman
Ethan Furman added the comment: Note for posterity: the current behavior of __getattr__ is what allows Enum to work correctly. -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue25

[issue25762] Calculation Mistake 1.5 * 0.3

2015-11-29 Thread Ethan Furman
Ethan Furman added the comment: Floating point calculations are not exact. https://docs.python.org/3/tutorial/floatingpoint.html https://docs.oracle.com/cd/E19957-01/806-3568/ncg_goldberg.html -- nosy: +ethan.furman resolution: -> not a bug stage: -> resolved status: open -&g

[issue25843] unexpected output using pythons ternary operator in combination with lambda

2015-12-11 Thread Ethan Furman
Changes by Ethan Furman : -- title: unexpected-output-using-pythons-ternary-operator-in-combination-with-lambda -> unexpected output using pythons ternary operator in combination with lambda ___ Python tracker <http://bugs.python.org/issu

[issue25898] Check for subsequence inside a sequence

2015-12-17 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/issue25898> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue25898] Check for subsequence inside a sequence

2015-12-18 Thread Ethan Furman
Ethan Furman added the comment: +1 for sequences +1 for subsequence_index instead of has_subsequence +1 for returning None when not found ;) -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue25

[issue24840] implement bool conversion for enums to prevent odd edge case

2015-12-22 Thread Ethan Furman
Ethan Furman added the comment: The enum34 backport has been fixed to not have 3.6 only features (assuming the __bool__ change was the only one). Was that your only objection, or do you not want this change in 3.6 either? -- ___ Python tracker

[issue25979] String functions lstrip are not working properly when you have escape sequence

2015-12-29 Thread Ethan Furman
Ethan Furman added the comment: lstrip() works by removing any of the characters in its argument, in any order; for example: 'catchy'.lstrip('cat') # 'hy' 'actchy'.lstrip('tac') # 'hy' is stripping, from the left, all 'c&#x

[issue26005] Denial of Service in SimpleHTTPServer and BaseHTTPServer

2016-01-04 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26005> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26022] string.replace(' ', ' ') has to be called 2 times before it works

2016-01-06 Thread Ethan Furman
Ethan Furman added the comment: The .replace() method is not recursive (it only makes one pass through the string), so for example: >>> example = ' ' # three spaces >>> example = example.replace(' ', ' ') # replace two spaces wi

[issue26032] Use scandir() to speed up pathlib globbing

2016-01-06 Thread Ethan Furman
Ethan Furman added the comment: As I recall, if the platform's DirEntry doesn't provide the cacheable attributes when first called, those attributes will be looked up (and cached) on first access. -- nosy: +ethan.furman ___ Python trac

[issue26044] Name mangling overrides externally defined names

2016-01-07 Thread Ethan Furman
Ethan Furman added the comment: Nice work with the debugging. but what you have proved is that Python is behaving exactly as designed [0]. While true that the current implementation does have the pitfall you have discovered, removing it is not worth the cost in complexity. The proper &quo

[issue26123] http.client status code constants incompatible with Python 3.4

2016-01-15 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26123> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26123] http.client status code constants incompatible with Python 3.4

2016-01-15 Thread Ethan Furman
Ethan Furman added the comment: These changes were made in issue21793. -- ___ Python tracker <http://bugs.python.org/issue26123> ___ ___ Python-bugs-list mailin

[issue24840] implement bool conversion for enums to prevent odd edge case

2016-01-15 Thread Ethan Furman
Ethan Furman added the comment: Mike, my apologies. In the future I'll make sure and read the docs before I go through with changes. In the docs (https://www.python.org/dev/peps/pep-0435/#id35): The reason for defaulting to 1 as the starting number and not 0 is that 0 is False

[issue26123] http.client status code constants incompatible with Python 3.4

2016-01-15 Thread Ethan Furman
Ethan Furman added the comment: Not using Enum's __str__ was discussed (I think during the initial Enum threads when PEP435 was being debated) and IIRC Guido was strongly against it as it took away half the purpose of using an Enum. -- ___ P

[issue24840] implement bool conversion for enums to prevent odd edge case

2016-01-15 Thread Ethan Furman
Ethan Furman added the comment: New changeset: 52dc28ee3c88 -- resolution: -> rejected status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue24840] implement bool conversion for enums to prevent odd edge case

2016-01-16 Thread Ethan Furman
Ethan Furman added the comment: New changeset e4c22eadc25c: use public 'value' -- ___ Python tracker <http://bugs.python.org/issue24840> ___ ___

[issue26174] Exception alias cause destruction of existing variable

2016-01-21 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26174> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26202] The range() object is deepcopied as atomic

2016-01-25 Thread Ethan Furman
Ethan Furman added the comment: I don't have much experience with the copy module, but I don't see any problems with the code. Does copy.copy suffer from the same problem? If yes, is it fixed with this same patch, or is more work needed? -- nosy: +et

[issue26202] The range() object is deepcopied as atomic

2016-01-25 Thread Ethan Furman
Ethan Furman added the comment: Victor, patch was already attached. ;) -- ___ Python tracker <http://bugs.python.org/issue26202> ___ ___ Python-bugs-list mailin

[issue26186] LazyLoader rejecting use of SourceFileLoader

2016-01-31 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26186> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26252] Add an example to importlib docs on setting up an importer

2016-01-31 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26252> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26266] add classattribute to enum to handle non-Enum attributes

2016-02-02 Thread Ethan Furman
New submission from Ethan Furman: The rules for what objects in an Enum become members and which do not are fairly straight-forward: __double_underscore__ do not (but is reserved for Python) _single_underscore_ do not (but is reserved for Enum itself) any descriptored object (such as functions

[issue26324] sum() incorrect on negative zeros

2016-02-09 Thread Ethan Furman
Ethan Furman added the comment: If one is using sum on floats, and a list of -0.0's is a possibility, and the sign matters... well, I would hope that one is using -0.0 as the start value. I don't think this is worth "fixing". --

[issue26331] Tokenizer: allow underscores for grouping in numeric literals

2016-02-10 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26331> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26352] getpass incorrectly displays password prompt on stderr on fallback

2016-02-12 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26352> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26362] Approved API for creating a temporary file path

2016-02-14 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26362> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26380] Add an http method enum

2016-02-18 Thread Ethan Furman
Ethan Furman added the comment: I don't have a firm opinion at this point -- can you give a few examples of how this will help in code? -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/is

[issue26447] rstrip() is pilfering my 'p'

2016-02-26 Thread Ethan Furman
Ethan Furman added the comment: https://docs.python.org/3/library/stdtypes.html#str.strip - [...] The chars argument is not a prefix or suffix; rather, all combinations of its values are stripped: -- nosy: +ethan.furman resolution

[issue26362] Approved API for creating a temporary file path

2016-02-29 Thread Ethan Furman
Ethan Furman added the comment: > The request is for a “get the next path generated by a > ‘tempfile._get_candidate_names’ generator”, with an approved and > documented public API. I don't see any problem with this. Patches welcome. -- stage:

[issue26362] Approved API for creating a temporary file path

2016-02-29 Thread Ethan Furman
Ethan Furman added the comment: I don't see the problem. Every Python platform that has `mktemp` has an implementation to generate the names, and that implementation can become the public face instead of `mktemp`. So no more of a burden than `mktemp` is; likewise for the "cognit

[issue26483] docs unclear on difference between isdigt() and isdecimal()

2016-03-04 Thread Ethan Furman
New submission from Ethan Furman: The docs use different explanations for what constitutes a decimal verses a digit character; consequently I can't tell if they are the same or different, and if different what the differences are. ---

[issue26483] docs unclear on difference between str.isdigit() and str.isdecimal()

2016-03-04 Thread Ethan Furman
Ethan Furman added the comment: I like those code snippets! Thanks, Serhiy! Just to make sure I have understood correctly: every decimal char is also a digit char, but some digit chars are not decimal chars. -- ___ Python tracker <h

[issue26490] Leading “0” allowed, only for decimal zero

2016-03-05 Thread Ethan Furman
Ethan Furman added the comment: Short answer: rationale unknown, but any number of zeroes is still unambiguously zero. Closing as duplicate. -- nosy: +ethan.furman resolution: -> duplicate stage: -> resolved status: open -> closed _

[issue26514] Object defines '__ne__' as 'not __eq__' if '__ne__' is not implemented

2016-03-08 Thread Ethan Furman
Ethan Furman added the comment: The following behaviour is from 3.5: --> class Huh: ... def __eq__(self, other): ... return other == 'blah' ... --> h = Huh() --> h == 'ew' False --> h != 'ew' True --> h == 'blah' True --> h !=

[issue26521] add `extend_enum` to Enum

2016-03-09 Thread Ethan Furman
New submission from Ethan Furman: In this SO question [1] the OP has a need to generate an Enum lazily. I created an `extend_enum` function to do so. By the time I was done I realized I would not want anyone to have to create that function by hand, nor keep it up to date (should we ever

[issue26521] add `extend_enum` to Enum

2016-03-10 Thread Ethan Furman
Ethan Furman added the comment: Barry: po-tay-to / po-tah-to ;) Serhiy: The set is known and finite, just scattered over different expensive-to-load modules. Decision: Since no one is jumping up and down with anticipation over this feature, I'll let it stay on SO. -- resol

[issue26540] Python Macros

2016-03-11 Thread Ethan Furman
Ethan Furman added the comment: That particular use-case is easily handled by simply creating the correct function/method based on the criterion: if py_ver < 3.6: def fribbletz(): # do something in a 3.0-3.5 compatible way else: def fribbletz(): # otherwise use 3.6 meth

[issue26571] turtle regression in 3.5

2016-03-16 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26571> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26614] False/0 and True/1 collision when used as dict keys?

2016-03-22 Thread Ethan Furman
Ethan Furman added the comment: False and True are subtypes of int, so the behaviour you are seeing is known and expected. https://docs.python.org/2/reference/datamodel.html?highlight=bool In the future feel free to ask on Python-List about behaviour -- you'll be sure to get a pletho

[issue26632] __all__ decorator

2016-03-23 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26632> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26632] __all__ decorator

2016-03-23 Thread Ethan Furman
Ethan Furman added the comment: def public(thing, value=None): if isinstance(thing, str): mdict = sys._getframe(1).f_globals name = thing mdict[name] = thing # no need for retyping! ;) else: mdict = sys.modules[thing.__module__].__dict__ name

[issue26632] __all__ decorator

2016-03-24 Thread Ethan Furman
Ethan Furman added the comment: Not a fan. :/ How about getting your own copy of the public decorator initialized with the globals you pass in? class Public: def __init__(self, module): """ module should be the globals() dict from the

[issue26681] decorators for attributes

2016-03-31 Thread Ethan Furman
Ethan Furman added the comment: Please discuss this idea on the Python-Ideas mailing list first; if that goes well you can bring the idea to Python-Dev; if that also goes well feel free to reopen this issue. --- In the meantime you could probably do something with a custom descriptor/class

[issue26684] pathlib.Path.with_name() and .with_suffix do not allow combining with an empty Path

2016-03-31 Thread Ethan Furman
New submission from Ethan Furman: The methods .with_name() and .with_suffix() of pathlib.Path (and friends) do not allow a name or suffix to be added to a path alone -- I get ValueError(... has an empty name...). This is the documented behavior, but it seems incredibly user-unfriendly

[issue26684] pathlib.Path.with_name() and .with_suffix do not allow combining with an empty Path

2016-03-31 Thread Ethan Furman
Ethan Furman added the comment: Never mind. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.or

[issue26667] Update importlib to accept pathlib.Path objects

2016-04-05 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26667> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26748] enum.Enum is False-y

2016-04-13 Thread Ethan Furman
Ethan Furman added the comment: EnumMeta /is/ a collection (at least in the same sense the dict class is a collection). ;) Fix is on it's way... -- ___ Python tracker <http://bugs.python.org/is

[issue26748] enum.Enum is False-y

2016-04-14 Thread Ethan Furman
Ethan Furman added the comment: Enum classes are now Truth-y in 3.4, 3.5, enum34, and aenum. :) -- assignee: -> ethan.furman resolution: -> fixed stage: -> resolved status: open -> closed versions: -Python 2.7 ___ Python tr

[issue26823] Shrink recursive tracebacks

2016-04-21 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26823> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26823] Shrink recursive tracebacks

2016-04-21 Thread Ethan Furman
Changes by Ethan Furman : -- type: -> behavior ___ Python tracker <http://bugs.python.org/issue26823> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue26823] Shrink recursive tracebacks

2016-04-21 Thread Ethan Furman
Ethan Furman added the comment: If you can, give it a go. Make it a new patch, though -- don't delete the existing one. -- ___ Python tracker <http://bugs.python.org/is

[issue26823] Shrink recursive tracebacks

2016-04-21 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue26823> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26829] update docs: when creating classes a new dict is created for the final class object

2016-04-22 Thread Ethan Furman
New submission from Ethan Furman: https://docs.python.org/3/reference/datamodel.html#creating-the-class-object This section should mention that the final class is created with a new dict(), and all key/value pairs from the dict used during creation are copied over. -- assignee: docs

[issue26860] os.walk and os.fwalk yield namedtuple instead of tuple

2016-04-26 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26860> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26860] os.walk and os.fwalk yield namedtuple instead of tuple

2016-04-26 Thread Ethan Furman
Ethan Furman added the comment: Quick review of patch looks good. I'll try to look it over more closely later. -- ___ Python tracker <http://bugs.python.org/is

[issue26865] Meta-issue: support of the android platform

2016-04-26 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue26865> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26879] new message

2016-04-28 Thread Ethan Furman
Changes by Ethan Furman : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <http://bugs.python.org/issue26879> ___ ___

[issue26860] os.walk and os.fwalk yield namedtuple instead of tuple

2016-04-29 Thread Ethan Furman
Ethan Furman added the comment: I'm not clear on what you asking, but regardless we should have both the old (by-index) tests and new by-attribute tests. -- ___ Python tracker <http://bugs.python.org/is

[issue26893] ValueError exception raised when using IntEnum with an attribute called "name" and @unique decorator

2016-04-30 Thread Ethan Furman
Ethan Furman added the comment: Thanks for catching that. -- ___ Python tracker <http://bugs.python.org/issue26893> ___ ___ Python-bugs-list mailing list Unsub

[issue23640] int.from_bytes() is broken for subclasses

2016-05-07 Thread Ethan Furman
Ethan Furman added the comment: Not sure what I was thinking at the time, but several of my comments were supportive of `classmethod`s not calling subclass' __new__; I actually do not think that, and am +1 on the patch. -- nosy: +ethan.f

[issue23640] int.from_bytes() is broken for subclasses

2016-05-07 Thread Ethan Furman
Changes by Ethan Furman : -- Removed message: http://bugs.python.org/msg237891 ___ Python tracker <http://bugs.python.org/issue23640> ___ ___ Python-bugs-list m

[issue23640] int.from_bytes() is broken for subclasses

2016-05-07 Thread Ethan Furman
Changes by Ethan Furman : -- Removed message: http://bugs.python.org/msg240053 ___ Python tracker <http://bugs.python.org/issue23640> ___ ___ Python-bugs-list m

[issue23640] int.from_bytes() is broken for subclasses

2016-05-07 Thread Ethan Furman
Changes by Ethan Furman : -- Removed message: http://bugs.python.org/msg239619 ___ Python tracker <http://bugs.python.org/issue23640> ___ ___ Python-bugs-list m

[issue23640] int.from_bytes() is broken for subclasses

2016-05-08 Thread Ethan Furman
Ethan Furman added the comment: I think the classmethod-as-constructor behavior is correct, so it's up to IntEnum (or EnumMeta, or foo, or ...), to work around the issue. -- ___ Python tracker <http://bugs.python.org/is

[issue23640] int.from_bytes() is broken for subclasses

2016-05-08 Thread Ethan Furman
Ethan Furman added the comment: 'from_bytes' is a classmethod. As such, it should return the same type as the class it is called on. If that wasn't the intent it would be a staticmethod instead. It is the responsibility of the subclass to override base class behavior, not

[issue23640] int.from_bytes() is broken for subclasses

2016-05-08 Thread Ethan Furman
Ethan Furman added the comment: With the patch: --> import enum --> class Huh(enum.IntEnum): ... blah = 2 ... --> Huh.blah.from_bytes(b'\04', 'big') Traceback (most recent call last): File "", line 1, in File "/home/ethan/sou

[issue26981] add compatibility shim for enum34 backport

2016-05-08 Thread Ethan Furman
New submission from Ethan Furman: _sunder_ methods are reserved for internal Enum use, and if the user tries to use any an exception is raised. Consequently, the enum34 backport uses __order__ instead of _order_ to specify a definition order for its members. I would like to do two things: 1

[issue26981] add compatibility shim for enum34 backport

2016-05-08 Thread Ethan Furman
Ethan Furman added the comment: It would, but that's not what we did. Currently we have _name_ and _value_; the backport uses __order__ because I didn't want the stdlib version having a hairball when someone tried to use a 2.7 Enum in 3.4 and it didn't occur to me at the time

[issue26632] __all__ decorator

2016-05-09 Thread Ethan Furman
Ethan Furman added the comment: For the standalone version I suggest a disclaimer about the `from ... import *` ability. Something like: `from ... import *` should not be used with packages that do not have an __all__ unless they support that usage (check their docs

[issue26988] Add AutoNumberedEnum to stdlib

2016-05-09 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +barry, eli.bendersky ___ Python tracker <http://bugs.python.org/issue26988> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26988] Add AutoNumberedEnum to stdlib

2016-05-09 Thread Ethan Furman
Ethan Furman added the comment: On the other hand, if you use aenum you can do: class Color(AutoNumber): red green blue And isn't that better*? ;) * For those in danger of swallowing their tongue over the magic involved: The magic is turned off as soon as any descript

[issue26988] Add AutoNumberedEnum to stdlib

2016-05-09 Thread Ethan Furman
Ethan Furman added the comment: It's in _EnumDict.__getitem__; there's some duplication in __setitem__ for supporting Python 2 (although with 2 you have to use either the empty tuple, or some other handy thing that may go in the __doc__ attribute, f

[issue23990] Callable builtin doesn't respect descriptors

2016-05-23 Thread Ethan Furman
Ethan Furman added the comment: To change this behavior at this point will require a PEP. The PEP should be something along the lines of "Add proxy support to builtins" and should address such things as callable, issubclass, and whatever else is is appropriate. As for working a

[issue23990] Callable builtin doesn't respect descriptors

2016-05-23 Thread Ethan Furman
Ethan Furman added the comment: `issubclass` doesn't "do the right thing", as evidenced by another dev. Continued complaining to this issue is not going to get you what you want, but writing a PEP to address the issue might. -- ___

[issue23990] Callable builtin doesn't respect descriptors

2016-05-23 Thread Ethan Furman
Ethan Furman added the comment: I'm not against them, but there are many diverse opinions. A PEP will: - broaden discussion, so all (or at least most) pros and cons can be considered - highlight any other pieces of Python that would need to change to properly support proxies -

[issue23990] Callable builtin doesn't respect descriptors

2016-05-23 Thread Ethan Furman
Ethan Furman added the comment: The BDFL would be the BDFL (Guido van Rossum ;) or whomever he asks to do the job. Don't worry too much about drafts. Pick one of the existing PEPs (409 is fairly short), and follow the same type of layouts. Make your arguments for what should be ch

[issue23517] datetime.utcfromtimestamp parses timestamps incorrectly

2015-02-24 Thread Ethan Furman
Ethan Furman added the comment: This seems to have changed in 3.3 (versions up to 3.2 return 274000). -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue23

[issue23486] Enum member lookup is 20x slower than normal class attribute lookup

2015-02-24 Thread Ethan Furman
Ethan Furman added the comment: This isn't a change to the API or any visible user behavior (besides performance), so I don't see a reason to not add it to 3.4. -- nosy: +barry, eli.bendersky ___ Python tracker <http://bugs.python.o

[issue9938] Documentation for argparse interactive use

2015-02-24 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: -ethan.furman ___ Python tracker <http://bugs.python.org/issue9938> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17963] Deprecate the frame hack for implicitly getting module details

2015-02-24 Thread Ethan Furman
Ethan Furman added the comment: Eli, did you ever make any progress with this? Anything you can post so someone else can run with it if you don't have time? -- ___ Python tracker <http://bugs.python.org/is

[issue6549] ttk.Style -- minor issues with element_names and configure

2015-02-25 Thread Ethan Furman
Ethan Furman added the comment: Redid patch against current branch, fixing the typos I had in them. Any reason not to move forward? -- nosy: +serhiy.storchaka Added file: http://bugs.python.org/file38238/issue6549.stoneleaf.01.patch ___ Python

[issue23491] PEP 441 - Improving Python Zip Application Support

2015-02-26 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue23491> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-26 Thread Ethan Furman
Ethan Furman added the comment: Once this android Python is built, can it: - be copied from/to other android devices? - run without KBOX? -- ___ Python tracker <http://bugs.python.org/issue23

[issue19075] Add sorting algorithm visualization to turtledemo

2015-02-26 Thread Ethan Furman
Ethan Furman added the comment: Code spiffied: added randomization routine that can be used after a sort to test a different sort method (or the same one). Larry, can this extra demo go into 3.4.4, or only 3.5? -- nosy: +larry Added file: http://bugs.python.org/file38256/issue19075

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: Cyd, if you want to be a CPython/Android resource that's great. If you don't have time for it, I completely understand. What I'm hoping for is to take your initial efforts and build from there, as there are others who can take what you've

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: I will work on the build slave (note: it will definitely be /work/ so if anyone has the resource and know-how to just do it, I will not be offended ;) . -- ___ Python tracker <http://bugs.python.org/issue23

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: I'm afraid I know next to nothing about git, so cannot help there. I would think that it wouldn't be too hard for someone (such as Ryan or myself) to forward port a set of 3.4.2 patches to 3.5 -- so whatever is easie

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: Sounds great! -- ___ Python tracker <http://bugs.python.org/issue23496> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19075] Add sorting algorithm visualization to turtledemo

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: Yup. Also updated the turtledemo docs. -- ___ Python tracker <http://bugs.python.org/issue19075> ___ ___ Python-bugs-list mailin

[issue23496] Steps for Android Native Build of Python 3.4.2

2015-02-27 Thread Ethan Furman
Ethan Furman added the comment: Yup, that sounds right! ;) -- ___ Python tracker <http://bugs.python.org/issue23496> ___ ___ Python-bugs-list mailing list Unsub

[issue19075] Add sorting algorithm visualization to turtledemo

2015-03-02 Thread Ethan Furman
Changes by Ethan Furman : -- assignee: -> ethan.furman resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <http://bugs.python

[issue17352] Be clear that __prepare__ must be declared as a class method

2015-03-02 Thread Ethan Furman
Ethan Furman added the comment: Should __prepare__ be special-cased as a classmethod, like __new__ is? Is there any reason to ever have __prepare__ /not/ be a classmethod? -- ___ Python tracker <http://bugs.python.org/issue17

<    12   13   14   15   16   17   18   19   >