[issue22790] some class attributes missing from dir(Class)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: Ah yes, and some type_members are also missing. -- ___ Python tracker <http://bugs.python.org/issue22790> ___ ___ Python-bug

[issue22790] some class attributes missing from dir(Class)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: "Attributes from the metaclass have always been excluded from the dir() of a class." Be that as it may, I think it is wrong. I can understand excluding methods of the metaclass, but __qualname__ (and friends) are only defined in the metaclass becaus

[issue22790] some class attributes missing from dir(Class)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: BTW, the same implementation detail means that you can ask an instance for its class' __module__, but not the __name__. -- ___ Python tracker <http://bugs.python.org/is

[issue22790] some class attributes missing from dir(Class)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: However, it may not be possible to change this for backward compatibility reasons. People shouldn't be using dir() for determining attributes and the like, but they do, as documented by the multiprocessing module in the stdlib. This should at least be

[issue22792] string replace() not documented

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: There is already a "see also: string methods" at the top of the page. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker <http://bugs.py

[issue22790] some class attributes missing from dir(Class)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: Attaching prototype patch without test suite adjustments. -- keywords: +patch Added file: http://bugs.python.org/file37126/type_dir_patch.diff ___ Python tracker <http://bugs.python.org/issue22

[issue22790] some class attributes missing from dir(Class)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: Basically beacuse with the current patch, this is because object_dir also does merge_class_dict, to get class attributes. This means that attributes like __qualname__ would show up in dir(instance), but are not actually available on the instance. Fixing this

[issue22789] Compress the marshalled data in PYC files

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: Both lz4 and snappy are BSD-licensed, but snappy is written in C++. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue22

[issue22790] some class attributes missing from dir(Class)

2014-11-04 Thread Georg Brandl
Changes by Georg Brandl : -- Removed message: http://bugs.python.org/msg230614 ___ Python tracker <http://bugs.python.org/issue22790> ___ ___ Python-bugs-list m

[issue22796] Support for httponly/secure cookies reintroduced lax parsing behavior

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: Well, with this change you can again (e.g.) pass "Set-cookie: foo=bar" which isn't a valid cookie. It doesn't reintroduce the same vulnerability, but it will still silently consume invalid cookies (i.e. such with attribute-like tokens u

[issue22790] some class attributes missing from dir(Class)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: > So, dir(C) contains '__mro__', but not 'mro'? That can be discussed. But I would argue that at least __name__, __bases__ and __qualname__ are interesting attributes for the user. Same for methods like __subclasses__(). Otherwis

[issue22790] some class attributes missing from dir(Class)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: > Why are __flags__, __basicsize__, __itemsize__, __dictoffset__, and > __weakrefoffset__ interesting? I haven't said they are, but on the other hand I don't see why consistency is a bad thing. -- __

[issue22796] Support for httponly/secure cookies reintroduced lax parsing behavior

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: These are unknown attributes after a key=value pair. What this issue is about is accepting attributes *before* any key=value pair. -- ___ Python tracker <http://bugs.python.org/issue22

[issue22725] improve documentation for enumerate() (built-in function)

2014-11-04 Thread Georg Brandl
Georg Brandl added the comment: Missing keyword argument support is not the norm, it's the exception that is only due to implementation details in C code. Eventually, we'd like every C function to support keyword arguments. Converting everything is tedious work, though, and still ma

[issue22525] ast.literal_eval() doesn't do what the documentation says

2014-11-05 Thread Georg Brandl
Georg Brandl added the comment: Thanks, Raymond. -- ___ Python tracker <http://bugs.python.org/issue22525> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22802] On Windows, if you try and use ccs=UTF-8 (or other variants) the U is removed

2014-11-05 Thread Georg Brandl
Georg Brandl added the comment: open() does not support arbitrary platform flags in its mode argument. To open encoded files and transparently decode them to Unicode strings, please use io.open() on Python 2, and pass the correct "encoding" argument. On Python 3, the builtin ope

[issue22650] set up and use VM for net access in the test suite

2014-11-05 Thread Georg Brandl
Georg Brandl added the comment: 4985375db40f takes care of test_httplib. -- ___ Python tracker <http://bugs.python.org/issue22650> ___ ___ Python-bugs-list mailin

[issue22806] regrtest: add switch -c to run only modified tests

2014-11-06 Thread Georg Brandl
New submission from Georg Brandl: A quick way to select only tests that are modified in the checkout. -- components: Tests files: regrtest_changed.diff keywords: patch messages: 230748 nosy: georg.brandl, pitrou priority: normal severity: normal status: open title: regrtest: add switch

[issue22806] regrtest: add switch -c to run only modified tests

2014-11-06 Thread Georg Brandl
Georg Brandl added the comment: Well, this is not meant as a comprehensive "run ALL impacted tests" because that is impossible in general :) An alternate suggestion would be to allow filenames like "Lib/test/test_foo.py" as arguments to regrtest. Then I could run with

[issue22809] Include/graminit.h and Python/graminit.c always rebuilt (breaks cross builds)

2014-11-06 Thread Georg Brandl
Georg Brandl added the comment: Duplicate of #22625. -- nosy: +georg.brandl resolution: -> duplicate status: open -> closed superseder: -> When cross-compiling, don’t try to execute binaries ___ Python tracker <http://bugs.python.or

[issue22845] Minor tweaks dis documentation

2014-11-10 Thread Georg Brandl
Georg Brandl added the comment: LGTM. While at it, could you add a period after these: + Added *file* parameter -- ___ Python tracker <http://bugs.python.org/issue22

[issue22843] doc error: 6.2.4. Match Objects

2014-11-11 Thread Georg Brandl
Georg Brandl added the comment: "evaluates true" should not be used in any case, the objects do not equal to True in any case. The phrase "is considered true in a boolean context" is already in the docs and could be used here too. --

[issue22852] urllib.parse wrongly strips empty #fragment

2014-11-12 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: +orsenthil ___ Python tracker <http://bugs.python.org/issue22852> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22687] horrible performance of textwrap.wrap() with a long word

2014-11-13 Thread Georg Brandl
Georg Brandl added the comment: LGTM. -- ___ Python tracker <http://bugs.python.org/issue22687> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22868] Minor error in the example of filter()

2014-11-13 Thread Georg Brandl
Georg Brandl added the comment: For me the text is correct. However, it depends on parsing the English sentence in the right way, which can be confusing. The prose means "not (divisible by 2 or 3)" which is equivalent to "not divisible by 2 and not divisible by 3", there

[issue22868] Minor error in the example of filter()

2014-11-14 Thread Georg Brandl
Georg Brandl added the comment: Done. Thanks for the report! -- resolution: fixed -> stage: resolved -> status: closed -> open ___ Python tracker <http://bugs.python.or

[issue22868] Minor error in the example of filter()

2014-11-14 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/issue22868> ___ ___ Python-bugs-list

[issue22899] http.server.BaseHTTPRequestHandler.parse_request (TypeError: decoding str is not supported)

2014-11-18 Thread Georg Brandl
Georg Brandl added the comment: With the vanilla BaseHTTPRequestHandler, this shouldn't happen. self.raw_requestline is read from a socket file, which returns bytes, so they can be decoded using str(bytes, encoding). Can you please check if there are any third-party packages involved

[issue22899] http.server.BaseHTTPRequestHandler.parse_request (TypeError: decoding str is not supported)

2014-11-19 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> not a bug status: open -> pending ___ Python tracker <http://bugs.python.org/issue22899> ___ ___ Python-bugs-

[issue22394] Update documentation building to use venv and pip

2014-11-28 Thread Georg Brandl
Georg Brandl added the comment: Sure. (The PyPI name is uppercased, but I guess it doesn't matter.) -- ___ Python tracker <http://bugs.python.org/is

[issue23181] Unicode "code point" should be two words in documentation

2015-01-18 Thread Georg Brandl
Georg Brandl added the comment: Well, go ahead I guess. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue23181> ___ ___ Python-bugs-list m

[issue23251] mention in time.sleep() docs that it does not block other Python threads

2015-01-18 Thread Georg Brandl
Georg Brandl added the comment: Agreed. "of the current thread" is a good addition. The sleep() docs are already longer than I would like. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.o

[issue23292] Enum doc suggestion

2015-01-21 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: docs@python -> ethan.furman nosy: +ethan.furman ___ Python tracker <http://bugs.python.org/issue23292> ___ ___ Python-

[issue23292] Enum doc suggestion

2015-01-23 Thread Georg Brandl
Georg Brandl added the comment: Well, for such operations (namespace manipulation) __dict__ is also often used, so I wouldn't say it's too ugly. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.o

[issue23292] Enum doc suggestion

2015-01-24 Thread Georg Brandl
Georg Brandl added the comment: I disagree. I assume that many new enums will be a replacement for module-level constants, but these still have to be available on the module. Keeping backward compatibility is not against the spirit of Python

[issue23292] Enum doc suggestion

2015-01-24 Thread Georg Brandl
Georg Brandl added the comment: Likewise, I don't feel strongly that it *should* go in, but I wouldn't object to it. -- ___ Python tracker <http://bugs.python.o

[issue23312] google thinks the docs are mobile unfriendly

2015-01-24 Thread Georg Brandl
Georg Brandl added the comment: Yes, the theme is anything but "responsive". If someone already knows how to do this, please step forward. I guess it's not too hard to move the sidebar to the top/bottom on mobile, and adapt

[issue23312] google thinks the docs are mobile unfriendly

2015-01-25 Thread Georg Brandl
Georg Brandl added the comment: There is already an enhanced theme: https://github.com/ionelmc/sphinx-py3doc-enhanced-theme I will have a look at it. -- ___ Python tracker <http://bugs.python.org/issue23

[issue23312] google thinks the docs are mobile unfriendly

2015-01-25 Thread Georg Brandl
Georg Brandl added the comment: Are you ok with us copying parts of the enhancements? -- ___ Python tracker <http://bugs.python.org/issue23312> ___ ___ Python-bug

[issue23055] PyUnicode_FromFormatV crasher

2015-01-27 Thread Georg Brandl
Georg Brandl added the comment: It's fine to commit it to both branches. -- ___ Python tracker <http://bugs.python.org/issue23055> ___ ___ Python-bugs-list m

[issue23320] devguide should mention rules about "paragraph reflow" in the documentation

2015-01-30 Thread Georg Brandl
Georg Brandl added the comment: For patches to be reviewed (whether submitted by a core developer or not), there should be as little spurious changes as possible. In the final commit, it's ok, but not mandatory, to reflow the parag

[issue23406] interning and list comprehension leads to unexpected behavior

2015-02-07 Thread Georg Brandl
Georg Brandl added the comment: There is no interning going on. Multiplying lists just copies references. This is not so surprising if you consider that the case may be simple for nested lists, but what about ``[a] * 3`` with some arbitrary object "a"? Copying (or even deep cop

[issue23415] add-to-pydotorg does not support .exe installers for Windows

2015-02-08 Thread Georg Brandl
Georg Brandl added the comment: Can you attach the diff you made? -- ___ Python tracker <http://bugs.python.org/issue23415> ___ ___ Python-bugs-list mailin

[issue24668] Deprecate 00000 as a synonym for 0

2015-07-19 Thread Georg Brandl
Georg Brandl added the comment: I don't recall the reason for this deliberate change (as seen from the docs change). I'm unable to come up with a good reason for this change now, but on the other hand I can't come up with a good reason for code churn and adding deprecationg

[issue24852] Python 3.5.0rc1 "HOWTO Use Python in the web" needs fix

2015-08-13 Thread Georg Brandl
Georg Brandl added the comment: It's probably better to remove the document for now, and add a rewritten version back when it arrives. Although, this topic sees lot of change regularly, so it is probably not a good one for the standard documentation after all. -- nosy: +georg.b

[issue24898] Documentation for str.find() is confusing

2015-08-19 Thread Georg Brandl
Georg Brandl added the comment: The "slice" clause is talking about the additional arguments. A clearer version could be Return the lowest index in the string where substring sub is found within the slice s[start:end]. Optional arguments start and end are interpreted as in slic

[issue24978] Contributing to Python 2x and 3x Documentation. Translation to Russian.

2015-09-01 Thread Georg Brandl
Georg Brandl added the comment: Someone will have to step up to manage this effort. The technical side is pretty much solved with sphinx-i18n. I think this is something the PSF should sponsor. (I wrote a proposal to the board a while ago, but I couldn't find a candidate to

[issue25113] documentation version switcher is broken

2015-09-15 Thread Georg Brandl
Georg Brandl added the comment: This is what PEP 101 has to say: ___ If this is a final release (even a maintenance release), also unpack the HTML docs to /srv/docs.python.org/release/X.Y.Z on docs.iad1.psf.io. Make sure the files are in group "docs".

[issue25113] documentation version switcher is broken

2015-09-15 Thread Georg Brandl
Changes by Georg Brandl : -- Removed message: http://bugs.python.org/msg250731 ___ Python tracker <http://bugs.python.org/issue25113> ___ ___ Python-bugs-list m

[issue25113] documentation version switcher is broken

2015-09-15 Thread Georg Brandl
Georg Brandl added the comment: NM. -- ___ Python tracker <http://bugs.python.org/issue25113> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue25170] 3.5.0 documentation archives missing

2015-09-19 Thread Georg Brandl
Georg Brandl added the comment: This is still in PEP 101: ___ If this is a final release: Move the doc zips and tarballs to /srv/www.python.org/ftp/python/doc/X.Y.Z, creating the directory if necessary, and adapt the "current" symlink in .../doc t

[issue25212] Remove the double spaces in the C-API Intro

2015-09-22 Thread Georg Brandl
Georg Brandl added the comment: > As a french, I was always distributed by this, but it's correct in english :-) You know what you have to tell LaTeX to not put extra space after all full stops? \frenchspacing :) -- nosy: +georg.brandl __

[issue25296] Simple End-of-life guide covering all unsupported versions

2015-10-02 Thread Georg Brandl
Georg Brandl added the comment: > It seems to me a link to this version independent info could logically appear > on the docs front page. Yes, that sounds good. I do like the PHP graph of versions too... -- ___ Python tracker

[issue25296] Simple End-of-life guide covering all unsupported versions

2015-10-02 Thread Georg Brandl
Georg Brandl added the comment: It should also be linked from the downloads page. -- ___ Python tracker <http://bugs.python.org/issue25296> ___ ___ Python-bug

[issue25377] Mention octal format of mode argument of os.chmod

2015-10-11 Thread Georg Brandl
Georg Brandl added the comment: A short sentence like Be careful when using number literals for *mode*. The conventional UNIX notation for numeric modes uses an octal base, which needs to be indicated with a ``0o`` prefix in Python. should be a good addition here. (I wonder why it isn&#

[issue25432] isinstance documentation doesn't explain what happens when type is tuple

2015-10-18 Thread Georg Brandl
Georg Brandl added the comment: But without using the word "disjunctive". -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue25432> ___ __

[issue25495] binascii documentation incorrect

2015-11-05 Thread Georg Brandl
Georg Brandl added the comment: issue25495.base64.2.7.patch looks good to me. A similar patch can be adapted for 3.x. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue25

[issue21818] cookielib documentation references Cookie module, not cookielib.Cookie class

2015-11-09 Thread Georg Brandl
Georg Brandl added the comment: The rules are as they are mostly for backwards compatibility. But it is rarely a problem since there is only one object with a given name. :class:`Cookie` within the docs for cookielib would not be able to link to Cookie.Cookie since it is not found in its

[issue25813] co_flags section of inspect module docs out of date

2016-01-04 Thread Georg Brandl
Georg Brandl added the comment: > For the final time, *I* am the OP and not one of you could be bothered > before so this remains closed. Are you quite all right? Continuing behavior of that sort will get your tracker account disabled. -- nosy: +georg.brandl status: closed -

[issue25813] co_flags section of inspect module docs out of date

2016-01-04 Thread Georg Brandl
Georg Brandl added the comment: > It's all ready been superceeded, or haven't you woken up to that fact either? Excuse me for not having all issues in my head. (And that #26010 states that it's a followup to #26010 doesn't help.) In the future, please accept that the

[issue22570] Better stdlib support for Path objects

2016-01-06 Thread Georg Brandl
Georg Brandl added the comment: No docs? ;) -- ___ Python tracker <http://bugs.python.org/issue22570> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26087] PEP 0373 should be updated

2016-01-12 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: docs@python -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker <http://bugs.python.org/issue26087> ___ _

[issue24918] Docs layout bug

2016-01-12 Thread Georg Brandl
Georg Brandl added the comment: If it works... -- ___ Python tracker <http://bugs.python.org/issue24918> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26106] Move licences to literal blocks

2016-01-14 Thread Georg Brandl
Georg Brandl added the comment: Since the text does need no highlighting, a parsed-literal block should work. -- ___ Python tracker <http://bugs.python.org/issue26

[issue26116] CSV-module. The example code don't work. Have to be: reader = csv.reader(csvfile, dialect=dialect)

2016-01-14 Thread Georg Brandl
Georg Brandl added the comment: We'll need at least the two full examples (one not working, one working) to make a call here. -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/is

[issue26116] CSV-module. The example code don't work. Have to be: reader = csv.reader(csvfile, dialect=dialect)

2016-01-14 Thread Georg Brandl
Georg Brandl added the comment: Thanks! Now the reason is clear: You use csv.DictReader instead of csv.reader. csv.DictReader has a different argument list - for DictReader the second argument is `fieldnames`. -- ___ Python tracker <h

[issue26130] redundant local copy of a char pointer in classify in Parser\parser.c

2016-01-15 Thread Georg Brandl
Georg Brandl added the comment: Looks good to me. s was probably left over after a rewrite of the function. -- ___ Python tracker <http://bugs.python.org/issue26

[issue26149] Suggest PyCharm Community as an editor for Unix platforms

2016-01-23 Thread Georg Brandl
Georg Brandl added the comment: > The doc section is woefully incomplete and unix-specific. That might be because the doc section is called "Using Python on Unix platforms". -- nosy: +georg.brandl ___ Python tracker <http:/

[issue25314] Documentation: argparse's actions store_{true, false} default to False/True (undocumented)

2016-01-28 Thread Georg Brandl
Georg Brandl added the comment: Hi Julien, thanks for your patch and sorry for the lack of reviews. I find the new wording in the second hunk confusing: ``'store_true'`` and ``'store_false'`` - These store the values ``False`` respectively (Note that these default to

[issue26267] UUID docs should say how to get "standard form"

2016-02-02 Thread Georg Brandl
Georg Brandl added the comment: Andrew is right, this should be documented "properly". -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.o

[issue26204] compiler: ignore constants used as statements (don't emit LOAD_CONST+POP_TOP)

2016-02-08 Thread Georg Brandl
Georg Brandl added the comment: Shouldn't the message be "constant statement ignored"? The current wording reads strange to me. -- nosy: +georg.brandl ___ Python tracker <http://bugs.pyt

[issue26320] Web documentation for 2.7 has unreadable highlights in Table of Contents

2016-02-09 Thread Georg Brandl
Georg Brandl added the comment: In addition, the object description headers (function names...) are not styled as they should be. Has the doc style been changed recently? -- nosy: +benjamin.peterson, ezio.melotti, georg.brandl ___ Python tracker

[issue26320] Web documentation for 2.7 has unreadable highlights in Table of Contents

2016-02-10 Thread Georg Brandl
Georg Brandl added the comment: That's possible. I'll have a look. -- ___ Python tracker <http://bugs.python.org/issue26320> ___ ___ Python-bugs-l

[issue26320] Web documentation for 2.7 has unreadable highlights in Table of Contents

2016-02-10 Thread Georg Brandl
Georg Brandl added the comment: Should be fixed now (a rebuild of the online docs will be done within a few hours). Thanks for the report! -- ___ Python tracker <http://bugs.python.org/issue26

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

2016-02-10 Thread Georg Brandl
New submission from Georg Brandl: As discussed on python-ideas: https://mail.python.org/pipermail/python-ideas/2016-February/038354.html The rules are: Underscores are allowed anywhere in numeric literals, except: * at the beginning of a literal (obviously) * at the end of a literal

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

2016-02-10 Thread Georg Brandl
Georg Brandl added the comment: It sure is more strict, but I don't think it's simpler (and it's definitely not simpler to implement). (Also 1_j is pretty nice, I wouldn't want to lose that.) We can also check what other languages do. * Rust: very much like this, but

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

2016-02-10 Thread Georg Brandl
Georg Brandl added the comment: PEP 515 is written up and posted to python-dev. -- ___ Python tracker <http://bugs.python.org/issue26331> ___ ___ Python-bug

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

2016-02-11 Thread Georg Brandl
Georg Brandl added the comment: New patch matching revision of PEP. -- Added file: http://bugs.python.org/file41892/numeric_underscores_v2.diff ___ Python tracker <http://bugs.python.org/issue26

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

2016-02-11 Thread Georg Brandl
Georg Brandl added the comment: This patch includes int(), float(), complex() operations, as well as _pydecimal. -- Added file: http://bugs.python.org/file41894/numeric_underscores_v3_full.diff ___ Python tracker <http://bugs.python.org/issue26

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

2016-02-11 Thread Georg Brandl
Georg Brandl added the comment: New patch with minimal doc updates. -- Added file: http://bugs.python.org/file41896/numeric_underscores_v4_full.diff ___ Python tracker <http://bugs.python.org/issue26

[issue25709] Problem with string concatenation and utf-8 cache.

2016-02-11 Thread Georg Brandl
Georg Brandl added the comment: Backpicked to 3.3. Sorry for the wait. -- resolution: -> fixed status: open -> closed ___ Python tracker <http://bugs.python.org/i

[issue24668] Deprecate 00000 as a synonym for 0

2016-02-11 Thread Georg Brandl
Georg Brandl added the comment: Closing now. -- status: pending -> closed ___ Python tracker <http://bugs.python.org/issue24668> ___ ___ Python-bugs-list mai

[issue15693] expose glossary link on hover

2016-02-11 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker <http://bugs.python.org/issue15693> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue4173] PDF documentation: long verbatim lines are cut off at right hand side

2016-02-11 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker <http://bugs.python.org/issue4173> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue4145] tabulary entries in PDF documentation

2016-02-11 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker <http://bugs.python.org/issue4145> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue20741] Documentation archives should be available also in tar.xz format

2016-02-11 Thread Georg Brandl
Changes by Georg Brandl : -- assignee: georg.brandl -> ___ Python tracker <http://bugs.python.org/issue20741> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue25709] Problem with string concatenation and utf-8 cache.

2016-02-11 Thread Georg Brandl
Georg Brandl added the comment: Actually I prefer Greg to Gerg, so it's only half bad. :D -- ___ Python tracker <http://bugs.python.org/issue25709> ___ ___

[issue25709] Problem with string concatenation and utf-8 cache.

2016-02-12 Thread Georg Brandl
Georg Brandl added the comment: Don't bother. I can do that once 3.3.7 is released. -- ___ Python tracker <http://bugs.python.org/issue25709> ___ ___ Pytho

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

2016-02-13 Thread Georg Brandl
Georg Brandl added the comment: It's mostly for consistency. For example, ``int(x, 0)`` is defined by the docs as "interpret x as in a literal". Other bases have special cases as well, e.g. "0x" is accepted by base 16. In the current version of the conversions,

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

2016-02-13 Thread Georg Brandl
Georg Brandl added the comment: Thanks, I hadn't looked at cdecimal yet - I was planning to ask you to do the necessary changes there :) But there are a few versions of this (e.g. converting unicode digits to ASCII) scattered throughout the codebase, it would make sense to consolidate on

[issue25726] sys.setprofile / sys.getprofile asymetry

2016-02-13 Thread Georg Brandl
Georg Brandl added the comment: Ok, this is because internally, sys.setprofile (or to be exact, PyEval_SetProfile) sets two things: a C function, and a "profileobj", which is the argument to setprofile(). sys.setprofile sets the C function to the "profile_trampoline", whi

[issue26355] Emit major version based canonical URLs for docs

2016-02-13 Thread Georg Brandl
Georg Brandl added the comment: So we'd have to add a tag? Should be easy. -- ___ Python tracker <http://bugs.python.org/issue26355> ___ ___ Python-bugs-l

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

2016-02-13 Thread Georg Brandl
Georg Brandl added the comment: Hm. On the one hand there is a spec, so it can be argued that underscores don't belong to Decimal. On the other hand, if we get Decimal literals at one point, there will be a strong argument for allowing underscores in them as in all other number lit

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

2016-02-13 Thread Georg Brandl
Georg Brandl added the comment: Raymond, you've also worked on Decimal - do you have an opinion on allowing underscores in Decimal(string) conversions? -- nosy: +rhettinger ___ Python tracker <http://bugs.python.org/is

[issue26366] Use “.. versionadded” over “.. versionchanged” where appropriate

2016-02-15 Thread Georg Brandl
Georg Brandl added the comment: Hi Tony, thanks for the patch, and for the will to contribute. I'm not sure this patch should be merged though; the original intention was to use "versionadded" where the API item is completely new. So "The parameter x was added"

[issue26366] Use “.. versionadded” over “.. versionchanged” where appropriate

2016-02-15 Thread Georg Brandl
Georg Brandl added the comment: The devguide should be updated, yes. And probably someone should look at the remaining versionadded's... -- ___ Python tracker <http://bugs.python.org/is

[issue26378] Typo in regex documentation

2016-02-18 Thread Georg Brandl
Georg Brandl added the comment: Thanks for the report! -- nosy: +georg.brandl ___ Python tracker <http://bugs.python.org/issue26378> ___ ___ Python-bugs-list m

[issue26366] Use “.. versionadded” over “.. versionchanged” where appropriate

2016-02-19 Thread Georg Brandl
Georg Brandl added the comment: Here are the original descriptions of the old LaTeX version. \begin{macrodesc}{versionadded}{\op{explanation}\p{version}} The version of Python which added the described feature to the library or C API. \var{explanation} should be a \emph{brief

[issue26385] the call of tempfile.NamedTemporaryFile fails and leaves a file on the disk

2016-02-19 Thread Georg Brandl
Changes by Georg Brandl : -- nosy: -georg.brandl ___ Python tracker <http://bugs.python.org/issue26385> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26366] Use “.. versionadded” over “.. versionchanged” where appropriate

2016-02-19 Thread Georg Brandl
Georg Brandl added the comment: > Well then, if this is the sort of place where the status quo is sacred, > then there is nothing more to discuss. That wasn't my intention when quoting the old documenting guide, it was just to show what the intent was (and still is), and that I

<    47   48   49   50   51   52   53   >