[issue24105] Use after free during json encoding a dict (3)

2015-05-02 Thread paul
paul added the comment: @Serhiy: Not all of my bugs are in the same module. Sure, I will group them by module in the future. -- ___ Python tracker <http://bugs.python.org/issue24

[issue24098] Multiple use after frees in obj2ast_* methods

2015-05-08 Thread paul
paul added the comment: ping -- ___ Python tracker <http://bugs.python.org/issue24098> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue24098] Multiple use after frees in obj2ast_* methods

2015-05-12 Thread paul
paul added the comment: ping -- ___ Python tracker <http://bugs.python.org/issue24098> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue24098] Multiple use after frees in obj2ast_* methods

2016-09-26 Thread paul
paul added the comment: Fix by replacing static 'len' in loops with a macro, so that mutations of size of the containter do not casue OOB reads. -- keywords: +patch Added file: http://bugs.python.org/file44830/issue24098.patch ___ Pyth

[issue46060] Clarify asyncio.new_event_loop return value

2021-12-12 Thread Paul Bryan
New submission from Paul Bryan : Currently, the documentation states it creates a new event loop; it should also indicate that it returns the newly created event loop. -- assignee: docs@python components: Documentation messages: 408425 nosy: docs@python, pbryan2 priority: normal

[issue46060] Clarify asyncio.new_event_loop return value

2021-12-12 Thread Paul Bryan
Change by Paul Bryan : -- keywords: +patch nosy: +pbryan nosy_count: 2.0 -> 3.0 pull_requests: +28299 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30078 ___ Python tracker <https://bugs.python.org/i

[issue46060] Clarify asyncio.new_event_loop return value

2021-12-13 Thread Paul Bryan
Change by Paul Bryan : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46159] Segfault

2021-12-22 Thread Paul Kehrer
New submission from Paul Kehrer : In Python 3.11a3 on Linux/x86_64 (failed to replicate on macOS, not attempted on Windows) the interpreter non-deterministically segfaults when running some code under coverage. This did not occur under 3.11a2. Looking at the backtrace from a core dump I see

[issue46159] Segfault when using trace functions in 3.11a3

2021-12-22 Thread Paul Kehrer
Change by Paul Kehrer : -- title: Segfault -> Segfault when using trace functions in 3.11a3 ___ Python tracker <https://bugs.python.org/issue46159> ___ ___ Py

[issue46124] Deprecation warning in zoneinfo module

2021-12-28 Thread Paul Ganssle
Paul Ganssle added the comment: Jason's patch looks good to me, but I don't understand why Karthikeyan originally suggested using `normalize_path`. Trying to dig through exactly how `files().joinpath().open` is implemented has so many layers of indirection and abstract classes th

[issue46101] argparse: using parents & subcommands, options can be ignored

2022-01-01 Thread paul j3
Change by paul j3 : -- nosy: +paul.j3 ___ Python tracker <https://bugs.python.org/issue46101> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46058] argparse: arg groups and mutually exclusive groups behave inconsitently

2022-01-01 Thread paul j3
paul j3 added the comment: At least until these latest deprecations, the only nesting that made sense was to put a mutually_exclusive_group inside an argument_group. This was a way of providing a title and description for the exclusive_group. (And not documented.) I don't know if t

[issue46057] argparse: embedded groups may prevent options from being in help output

2022-01-01 Thread paul j3
paul j3 added the comment: Don't add an argument_group to another argument_group. While input allows this nesting, the formatting is not designed to handle it. Nor does the documentation illustrate such nesting. Nesting a mutually_exclusive_group in an argument_group works becaus

[issue46303] _Py_stat using incorrect type for status argument

2022-01-07 Thread Paul Campbell
New submission from Paul Campbell : While attempting to embed the full cpython source in my application, I found that during compilation on Windows, there was a compilation issue due to struct stat not being defined. Taking a look at the file cpython/fileutils.h, it seems that the type of

[issue46303] _Py_stat using incorrect type for status argument

2022-01-07 Thread Paul Campbell
Change by Paul Campbell : -- components: +Build, Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: -> compile error ___ Python tracker <https://bugs.python.org/issu

[issue46303] _Py_stat using incorrect type for status argument

2022-01-07 Thread Paul Campbell
Change by Paul Campbell : -- keywords: +patch pull_requests: +28681 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30478 ___ Python tracker <https://bugs.python.org/issu

[issue46303] _Py_stat and _Py_wstat using incorrect type for status argument

2022-01-07 Thread Paul Campbell
Change by Paul Campbell : -- title: _Py_stat using incorrect type for status argument -> _Py_stat and _Py_wstat using incorrect type for status argument ___ Python tracker <https://bugs.python.org/issu

[issue46319] datetime.utcnow() should return a timezone aware datetime

2022-01-09 Thread Paul Ganssle
Paul Ganssle added the comment: Yes, this is the documented behavior, including a warning against using UTC now in the documentation! There is some possibility of removing utcnow entirely as an "attractive nuisance", but I suspect that this will lead to much consternation and han

[issue12756] datetime.datetime.utcnow should return a UTC timestamp

2022-01-10 Thread Paul Ganssle
Paul Ganssle added the comment: > from practical experience, it is a whole lot better to not deal with > timezones in data processing code at all, but instead only use naive UTC > datetime values everywhere, expect when you have to prepare reports or output > which has a require

[issue46101] argparse: using parents & subcommands, options can be ignored

2022-01-10 Thread paul j3
paul j3 added the comment: This patch should be rejected. By using `common_opts_parser` as parent to both the main and subparsers, you have defined the same argument in both. By a long standing patch, the value assigned in the subparser has precedence (whether it's the default or

[issue46057] argparse: embedded groups may prevent options from being in help output

2022-01-10 Thread paul j3
paul j3 added the comment: "I tried to create a group hierarchy in a way that I can pass the responsibility of argument validation to the argument parser." I looked at your example in: https://bugs.python.org/issue46058 The many levels of nesting groups was confusing, but now

[issue46303] _Py_stat and _Py_wstat using incorrect type for status argument

2022-01-11 Thread Paul Campbell
Paul Campbell added the comment: I was trying to build python core (-DMS_WINDOWS -DPy_BUILD_CORE). I was using clang, which I think is unsupported looking at Windows doc. After looking at the issue though, it seemed that it was just some slight mistake which is why I filed the bug. clang

[issue46303] _Py_stat and _Py_wstat using incorrect type for status argument

2022-01-11 Thread Paul Campbell
Paul Campbell added the comment: Hi Victor, I was trying to compile with clang on Windows 10. I will try to pull your 3.11 changes and test. Sorry to cause so much churn. It looked to me like a simple issue that was missed, probably because whatever was trying to compile was not normally

[issue46303] _Py_stat and _Py_wstat using incorrect type for status argument

2022-01-11 Thread Paul Campbell
Paul Campbell added the comment: > In Python, we are trying to provide a same C API on all platforms. If "struct > stat" is no longer considered as portable, IMO we should attempt to avoid it, > at least in the public C API. Microsoft provides stat and struct stat, b

[issue46303] _Py_stat and _Py_wstat using incorrect type for status argument

2022-01-11 Thread Paul Campbell
Paul Campbell added the comment: Victor: The changes in the main branch gets me past this issue without having to make additional changes. -- ___ Python tracker <https://bugs.python.org/issue46

[issue29964] [doc] %z directive has no effect on the output of time.strptime

2022-01-14 Thread Paul Pinterits
Change by Paul Pinterits : -- nosy: -Paul Pinterits ___ Python tracker <https://bugs.python.org/issue29964> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46159] Segfault when using trace functions in 3.11a3

2022-01-17 Thread Paul Kehrer
Paul Kehrer added the comment: Changes in ABI don't seem to be the likely culprit since the Dockerfile provided can demonstrate this bug and has no caching that would result in obtaining alpha2-based binaries. -- ___ Python tracker &

[issue46447] datetime.isoformat() documentation does not point to the risk of using it with naive datetime objects

2022-01-24 Thread Paul Ganssle
Paul Ganssle added the comment: Sorry I missed this! Thank you for taking the time to write this up and to make a PR. Unfortunately, I don't think I agree with the idea of warning about this. The warnings about `utcnow` and `utcfromtimestamp` are a problem because `utcnow`

[issue42982] Update suggested number of iterations for pbkdf2_hmac()

2022-01-25 Thread Paul Kehrer
Paul Kehrer added the comment: NIST provides no official guidance on iteration count other than NIST SP 800-132 Appendix A.2.2, which states "The number of iterations should be set as high as can be tolerated for the environment, while maintaining acceptable performance." I can t

[issue46440] ArgumentParser.parse_args exits on missing required argument with exit_on_error=False

2022-02-02 Thread paul j3
paul j3 added the comment: Duplicate of https://bugs.python.org/issue41255 Argparse.parse_args exits on unrecognized option with exit_on_error=False -- nosy: +paul.j3 resolution: -> duplicate stage: patch review -> resolved status: open -&g

[issue46080] argparse.BooleanOptionalAction with default=argparse.SUPPRESS and help specified raises exception

2022-02-02 Thread paul j3
Change by paul j3 : -- nosy: +paul.j3 ___ Python tracker <https://bugs.python.org/issue46080> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46101] argparse: using parents & subcommands, options can be ignored

2022-02-02 Thread paul j3
Change by paul j3 : -- resolution: -> rejected stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue46228] argparse docs: default for prog= in ArgumentParser() should be basename of argv[0], not argv[0], to match behaviour

2022-02-02 Thread paul j3
Change by paul j3 : -- nosy: +paul.j3 ___ Python tracker <https://bugs.python.org/issue46228> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue46614] Add option to output UTC datetimes as "Z" in `.isoformat()`

2022-02-02 Thread Paul Ganssle
New submission from Paul Ganssle : As part of bpo-35829, it was suggested that we add the ability to output the "Z" suffix in `isoformat()`, so that `fromisoformat()` can both be the exact functional inverse of `isoformat()` and parse datetimes with "Z" outputs. I thi

[issue35829] datetime: parse "Z" timezone suffix in fromisoformat()

2022-02-02 Thread Paul Ganssle
Paul Ganssle added the comment: I don't think it's necessary to add a feature to `isoformat()` just for the purpose of being able to add the corresponding parser, particularly when the plan is to implement a much broader ISO 8601 parser for Python 3.11 (I've done most of the

[issue46628] Can't install YARL

2022-02-03 Thread Paul Koning
New submission from Paul Koning : Trying to install "aiohttp" with pip I get a compile error installing "yarl". I get the same error when I install just that module. But it installs fine on 3.10. This is on an Apple M1 (ARM64) machine. -- components: macOS file

[issue46628] Can't install YARL

2022-02-03 Thread Paul Koning
Paul Koning added the comment: The only dependency mentioned by the yarl documentation is multidict and installing that makes no difference. I see I can tell yarl to build a pure-python version to avoid compiling stuff. If I do that it installs. But what I actually wanted to do is

[issue46628] Can't install YARL

2022-02-03 Thread Paul Koning
Paul Koning added the comment: Thanks, I'll pass the word to the yarl and aiohttp team (both have this issue). -- ___ Python tracker <https://bugs.python.org/is

[issue46682] python 3.10 Py_Initialize/Py_Main std path no longer includes site-packages

2022-02-08 Thread Paul Jaggi
New submission from Paul Jaggi : Have the following simple program: #include #include using namespace std; int main(int argc, char** argv) { wchar_t* args[argc]; for(int i = 0; i < argc; ++i) { args[i] = Py_DecodeLocale(argv[i], nullptr); } Py_Initialize(); const

Spammer-messages this morning just me cleaning up

2007-06-14 Thread Paul Dubois
You may have received some messages this morning that looked like more spam. They were not, they were me permanently retiring some issues that had been posted by spammers a month ago. Unfortunately we have set up an auditor that sends ALL changes to python-bugs-list, so even such administrative ac

[issue1002] Patch to rename HTMLParser module to lower_case

2007-08-23 Thread Paul Smith
New submission from Paul Smith: HTMLParser is renamed to html_parser. -- components: Library (Lib) files: rename-html-parser.diff messages: 55200 nosy: paulsmith severity: normal status: open title: Patch to rename HTMLParser module to lower_case versions: Python 2.6

[issue1002] Patch to rename HTMLParser module to lower_case

2007-08-23 Thread Paul Smith
Paul Smith added the comment: Patch to 2to3 fix_imports. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1002> __ rename-html-parser-fix-imports.diff Description:

[issue1002] Patch to rename HTMLParser module to lower_case

2007-08-23 Thread Paul Smith
Paul Smith added the comment: Note that patch doesn't include `svn mv Lib/HTMLParser.py Lib/html_parser.py`. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python

[issue1005] Patches to rename Queue module to queue

2007-08-23 Thread Paul Smith
New submission from Paul Smith: Renamed Lib/Queue.py to Lib/queue.py. -- components: Library (Lib) files: rename-queue.diff messages: 55230 nosy: paulsmith severity: normal status: open title: Patches to rename Queue module to queue versions: Python 2.6

[issue1005] Patches to rename Queue module to queue

2007-08-23 Thread Paul Smith
Paul Smith added the comment: Patches 2to3/fixes/fix_imports.py. Note that patch to Lib doesn't include `svn mv Lib/Queue.py Lib/queue.py` (issue reporter without commit privileges). __ Tracker <[EMAIL PROTECTED]> <http://bugs.python

[issue1002] Patch to rename HTMLParser module to lower_case

2007-08-24 Thread Paul Smith
Paul Smith added the comment: I am participating in the Python Sprint here at Google, and was just going through the Py3k Sprint Tasks spreadsheet, one of them being to rename standard library modules which use CamelCase to lower_and_underscore, the more modern naming

[issue1002] Patch to rename HTMLParser module to lower_case

2007-08-24 Thread Paul Smith
Paul Smith added the comment: I grep'd for HTMLParser module imports in other standard library modules, renamed, and ran the unit tests. I also updated the mapping in 2to3's fix_imports.py. The only thing I can't do is the actual `svn mv` to rename the module itself. Is part of t

[issue1739468] Add a -z interpreter flag to execute a zip file

2007-09-11 Thread Paul Moore
Paul Moore added the comment: PJE's patch looks OK. I agree with Nick that the chain of &&s in PyImport_GetImporter should be expanded into a chain of ifs. As it stands, the code is needlessly obfuscated. _ Tracker <[EMAIL P

[issue1296] optparse's OptionGroup not described

2007-10-18 Thread Paul Melis
New submission from Paul Melis: The current 2.5 documentation does not seem to describe the OptionGroup feature of the optparse module. In 2003 there was a patch submitted that added a section on OptionGroup ( http://bugs.python.org/issue697941). The issue entry mentions it was accepted, but

[issue1296] optparse's OptionGroup not described

2007-10-18 Thread Paul Melis
Paul Melis added the comment: It seems it got edited out when the documentation was overhauled for optik 1.5, in r37468 __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/

[issue1379] reloading imported modules sometimes fail with 'parent not in sys.modules' error

2007-11-03 Thread Paul Pogonyshev
New submission from Paul Pogonyshev: This is apparently because sys.modules contains Unicode (str) keys, while 'parentname' is an old-style string. Attached patch seems to fix it, but I have no idea if it is correct in principle -- components: Interpreter Core files: reloadin

[issue1379] reloading imported modules sometimes fail with 'parent not in sys.modules' error

2007-11-04 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Thank you for the commit. I just had a problem with my package, and since I was not sure if it was a bug in Py3k or the package, I went to debugging the former and found this. I just didn't know how to work with Unicode strings pro

[issue1393] function comparing lacks NotImplemented error

2007-11-05 Thread Paul Pogonyshev
New submission from Paul Pogonyshev: I believe attached script demonstrates a bug in Python 3000. As far as I can tell, it should print four times 'True'. -- components: Interpreter Core files: test.py messages: 57135 nosy: Paul Pogonyshev severity: normal status: open title

[issue1394] simple patch, improving unreachable bytecode removing

2007-11-05 Thread Paul Pogonyshev
New submission from Paul Pogonyshev: This patch improves bytecode output, by removing unreachable code. It doesn't target special cases, as now, but provides a generic implementation. -- components: Interpreter Core files: unreachable-code.diff messages: 57141 nosy: Paul Pogon

[issue1390] toxml generates output that is not well formed

2007-11-06 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Looks like bad design on W3 part: postponing an error happening, though it wouldn't be difficult to check right in createComment(). But I guess minidom should still be changed to conform to standard. -- nosy: +_do

[issue1390] toxml generates output that is not well formed

2007-11-06 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Well, it seems that allows createComment() in minidom to raise something implementation/language specific. I personally would prefer this (e.g. a ValueError) instead of raising on serialization step, as I prefer early error checks, when these checks obviously

[issue1390] toxml generates output that is not well formed

2007-11-08 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: I think unexpected exception in toxml() is not worse than producing unreadable output. With createComment() it is different, since you can e.g. create a temporary DOM tree only to discard it later and never serialize

[issue1409] new keyword-only function parameters interact badly with nested functions

2007-11-08 Thread Paul Pogonyshev
New submission from Paul Pogonyshev: Attached scripts fails with 'NameError: free variable 'a' referenced before assignment in enclosing scope'. If you remove '*' in function parameter list, it works. I think it is a bug. -- components: Interpreter Core

[issue1405] Garbage collection not working correctly in Python 2.3

2007-11-09 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: See if gc.set_threshold (0, 0, 0) helps. -- nosy: +_doublep __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1405> __ __

[issue1405] Garbage collection not working correctly in Python 2.3

2007-11-10 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Looks like the memory _is_ freed. As Guido said, "It may be available for reallocation within Python, just not given back to the operating system". I suggest closing this as invalid. [EMAIL PROTECTED]:~$ python Python 2.3.5 (#2, Oct 16 2006, 19:1

[issue1405] Garbage collection not working correctly in Python 2.3

2007-11-10 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Meh, copied too much. Disregard first part, second shows it. __ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1405> __ ___ Pyth

[issue1417] Weakref not working properly

2007-11-10 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Because self.bla is a bound-method object, which is created and then instantly deleted as unreferenced. This is not a bug, it is expected. >>> class X: ... def foo (self): pass ... >>> x = X () >>> x.foo is x.foo False Note ho

[issue1416] @prop.setter decorators

2007-11-10 Thread Paul Pogonyshev
Paul Pogonyshev added the comment: Looks great (regardless of how this is implemented). I always hated this def get_foo / def set_foo / foo = property (get_foo, set_foo). -- nosy: +_doublep __ Tracker <[EMAIL PROTECTED]> <http://bugs.p

[issue1468] MSI installer does not include SSL test .pem files

2007-11-19 Thread Paul Moore
New submission from Paul Moore: The latest MSI daily snapshot installer for Python 2.6 (19 Nov) does not include the .pem files for the SSL tests from the Lib\test directory. -- components: Installation messages: 57666 nosy: pmoore severity: normal status: open title: MSI installer does

[issue1468] MSI installer does not include SSL test .pem files

2007-11-19 Thread Paul Moore
Paul Moore added the comment: The following looks like it may be OK. I have no way of testing it, unfortunately, as I don't currently have a working build environment, and I've no idea how to build the MSI even if I did... Added file: http://bugs.python.org/file8782

[issue1489] test_socket_ssl hanhs on Windows (deadlock)

2007-11-22 Thread Paul Moore
New submission from Paul Moore: When running the test suite on Windows, test_socket_ssl hangs. After a bit of investigation, it appears that the test is hanging at line 184 (if self.s.stdout.readline() != "ERROR\n":) in OpenSSLServer._external. The problem is that the test assumes i

[issue13123] bdist_wininst uninstaller does not remove pycache directories

2011-10-07 Thread Paul Moore
New submission from Paul Moore : When uninstalling a package installed using a bdist_wininst installer, the uninstall reports "XXX files and directories could not be removed". The problem appears to be the __pycache__ directories introduced in Python 3.2, which are not remove

[issue13123] bdist_wininst uninstaller does not remove pycache directories

2011-10-07 Thread Paul Moore
Paul Moore added the comment: Not really (tbh, not at all). If I get some spare time, I can have a look at producing a patch, but I have little time available for coding at the moment (and I'm switching constantly between 3 PCs, so never have a working development environment when I nee

[issue13123] bdist_wininst uninstaller does not remove pycache directories

2011-10-09 Thread Paul Moore
Paul Moore added the comment: On 9 October 2011 04:21, Éric Araujo wrote: > > Éric Araujo added the comment: > > I don’t have a Windows VM set up yet, but I can try to write a patch in the > coming weeks and ask you to test it.  Deal? N

[issue12779] Update packaging documentation

2011-10-09 Thread Paul Moore
Changes by Paul Moore : -- nosy: +pmoore ___ Python tracker <http://bugs.python.org/issue12779> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13162] Trying to install a binary extension as a resource file causes pysetup to give a traceback

2011-10-12 Thread Paul Moore
New submission from Paul Moore : I am trying to create a pysetup package that contains a precompiled binary extension, which can be installed without compiling, by using the resource file feature of setup.cfg. This may be incorrect usage of pysetup, but at a minimum, a proper error message

[issue13172] pysetup run --list-commands fails with a traceback

2011-10-13 Thread Paul Moore
New submission from Paul Moore : In a directory with 2 files, setup.cfg and a single C file containing source for an extension module. The same happens with a pure-python module. This is on Windows. PS D:\Data\python-sample> D:\Data\cpython\PCbuild\python.exe -m packaging.run run --l

[issue13175] packaging uses wrong line endings in RECORD files on Windows

2011-10-13 Thread Paul Moore
New submission from Paul Moore : On Windows, packaging seems to create RECORD files with an additional CR at the end of the line. (So the line end is CR CR LF). This does not seem to be consistent, but it is likely to be because a file is being opened in text mode rather than binary. I am

[issue13172] pysetup run --list-commands fails with a traceback

2011-10-14 Thread Paul Moore
Paul Moore added the comment: No it didn't - I had not built the _msi module when I built Python for some reason. I have built _msi now, and everything works. Sorry for the false alarm. Arguably, the command shouldn't fail, it should simply omit the bdist_msi command from the listi

[issue13180] pysetup silently ignores invalid entries in setup.cfg

2011-10-14 Thread Paul Moore
New submission from Paul Moore : With a simple setup.cfg defining a distribution containing a single Python module, if you misspell the "modules" keyword (say, as "module") then pysetup does nothing without reporting the error. This silent failure is very hard to debug, an

[issue13175] packaging uses wrong line endings in RECORD files on Windows

2011-10-14 Thread Paul Moore
Paul Moore added the comment: Unfortunately, no. I have been unable to get this in a reproducible form - but I have seen it a few times now. I will keep trying to reproduce. The worst thing is that packaging fails to recognise the data in RECORD and won't uninstall the package. It wou

[issue13181] pysetup install creates .pyc files but pysetup remove doesn't delete them

2011-10-14 Thread Paul Moore
New submission from Paul Moore : The title explains. Here is an example: PS D:\Data\python-sample\python> pysetup install Installing from source directory: 'D:\\Data\\python-sample\\python' running install_dist running build running build_py running install_lib byte-compiling D:

[issue13182] pysetup run bdist_wininst does not work (tries to use "install" command)

2011-10-14 Thread Paul Moore
New submission from Paul Moore : PS D:\Data\python-sample\python> pysetup run bdist_wininst running bdist_wininst running build running build_py Invalid command install Traceback (most recent call last): File "D:\Data\cpython\lib\packaging\command\__init__.py", line 57, in get_

[issue13175] packaging uses wrong line endings in RECORD files on Windows

2011-10-15 Thread Paul Moore
Paul Moore added the comment: Windows 7, 32 bit. -- ___ Python tracker <http://bugs.python.org/issue13175> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13172] pysetup run --list-commands fails with a traceback

2011-10-15 Thread Paul Moore
Paul Moore added the comment: I suppose so, yes. But it feels symptomatic of a general lack of clean error handling, which I think should be fixed :-( -- ___ Python tracker <http://bugs.python.org/issue13

[issue13175] packaging uses wrong line endings in RECORD files on Windows

2011-10-16 Thread Paul Moore
Paul Moore added the comment: I found the problem - it's in packaging.util.write_record_file. The file passed to csv.writer should be opened with newline=''. -- ___ Python tracker <http://bugs.pyt

[issue13175] packaging uses wrong line endings in RECORD files on Windows

2011-10-16 Thread Paul Moore
Paul Moore added the comment: Here's a patch. It includes a test, but I don't expect the test will catch the issue except on Windows... -- keywords: +patch Added file: http://bugs.python.org/file23416/recordfix.patch ___ Python trac

[issue13189] New bdist_simple binary distribution format for packaging

2011-10-16 Thread Paul Moore
New submission from Paul Moore : The attached patch is a first version of a bdist_simple binary distribution format for packaging. There is a bdist_simple command to build the distribution, and pysetup install has been updated to handle bdist_simple format distributions (only as local files

[issue13189] New bdist_simple binary distribution format for packaging

2011-10-16 Thread Paul Moore
Changes by Paul Moore : Removed file: http://bugs.python.org/file23417/bdist_simple.patch ___ Python tracker <http://bugs.python.org/issue13189> ___ ___ Python-bugs-list m

[issue13189] New bdist_simple binary distribution format for packaging

2011-10-16 Thread Paul Moore
Paul Moore added the comment: New patch including some basic tests. -- Added file: http://bugs.python.org/file23422/bdist_simple.patch ___ Python tracker <http://bugs.python.org/issue13

[issue13175] packaging uses wrong line endings in RECORD files on Windows

2011-10-17 Thread Paul Moore
Paul Moore added the comment: On 17 October 2011 14:15, Éric Araujo wrote: >> The file passed to csv.writer should be opened with newline=''. > How will we port this to 2.x? No idea :-( The 2.7 documentation says use the 'b' flag, but that probably doesn'

[issue13181] pysetup install creates .pyc files but pysetup remove doesn't delete them

2011-10-17 Thread Paul Moore
Paul Moore added the comment: > That’s odd.  Are the pyc files in RECORD? Yes, but not in __pycache__ where they should be. PS D:\Data\python-sample\python> type D:\Data\cpython\Lib\site-packages\hello-0.1.dist-info\RECORD D:\Data\cpython\Lib\site-packages\he

[issue13172] Improve detection of availability of bdist_msi command

2011-10-17 Thread Paul Moore
Paul Moore added the comment: > Would you be satisfied with a more helpful traceback that would point you > immediately to missing msi?  Do you prefer that bdist_msi > catch an ImportError for _msi and print a short error message instead of a > traceback in all its glory? I'

[issue13193] test_packaging and test_distutils failures under Windows

2011-10-17 Thread Paul Moore
Paul Moore added the comment: I'm not getting the second error on my home PC. As the failing buildbot is mine, I'll have a look on there to see if I can reproduce when I get the chance. -- ___ Python tracker <http://bugs.python.o

[issue13193] test_packaging and test_distutils failures under Windows

2011-10-17 Thread Paul Moore
Paul Moore added the comment: First one - the problem is in packaging.manifest._translate_pattern, which uses os.path.join on regex parts. That won't work on Windows where os.sep is a backslash, as the backslash is a RE metacharacter. Actually, the file list seems to only use '/&

[issue13181] pysetup install creates .pyc files but pysetup remove doesn't delete them

2011-10-19 Thread Paul Moore
Paul Moore added the comment: Yes, working correctly now -- ___ Python tracker <http://bugs.python.org/issue13181> ___ ___ Python-bugs-list mailing list Unsub

[issue11805] package_data only allows one glob per-package

2011-11-03 Thread Paul Moore
Paul Moore added the comment: I see what you're saying - and looking through sysconfig.cfg, I can see how things are expected to be laid out (and how I'd configure it if I didn't like it :-)) But as far as I can see, there's no way in packaging to describe a module that

[issue10181] Problems with Py_buffer management in memoryobject.c (and elsewhere?)

2011-11-13 Thread Paul Moore
Changes by Paul Moore : -- nosy: +pmoore ___ Python tracker <http://bugs.python.org/issue10181> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11805] package_data only allows one glob per-package

2011-11-15 Thread Paul Moore
Paul Moore added the comment: One important point - in the "new world" where data files living alongside code is unsupported, the bdist_msi and bdist_wininst installers need to be updated to install data files as needed. This may work already (I'll do some tests to see how well

[issue13514] PIL does not support iTXt PNG chunks [patch]

2011-11-30 Thread Paul Sladen
New submission from Paul Sladen : The Python Imaging Library does not support handling of UTF-8 'iTXt' key:value chunks in PNG files: http://www.w3.org/TR/PNG/#11iTXt Such support is necessary for successful extraction of key:value pairs of UTF-8 encoded data, stored in an

[issue13514] PIL does not support iTXt PNG chunks [patch]

2011-11-30 Thread Paul Sladen
Paul Sladen added the comment: Thank you Ezio. I could not see a separate bug tracker listed on: http://www.pythonware.com/products/pil/ could you help me by providing a link to where it /should/ be filed correctly for PIL itself

[issue12612] Valgrind suppressions

2011-12-01 Thread Paul Price
Paul Price added the comment: Here's the diff with the added sections commented out. -- keywords: +patch Added file: http://bugs.python.org/file23831/proposed.patch ___ Python tracker <http://bugs.python.org/is

[issue12612] Valgrind suppressions

2011-12-03 Thread Paul Price
Paul Price added the comment: Welcome. Thank you! -- ___ Python tracker <http://bugs.python.org/issue12612> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue2292] Missing *-unpacking generalizations

2011-12-15 Thread Paul Moore
Changes by Paul Moore : -- nosy: +pmoore ___ Python tracker <http://bugs.python.org/issue2292> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue5689] Support xz compression in tarfile module

2011-12-22 Thread Paul Moore
Paul Moore added the comment: A simple rebuild and test run of that test in debug mode didn't fail... I'll run the full test suite as a check, but that could take some time - that buildslave isn't the fastest in the world... -- ___

<    1   2   3   4   5   6   7   8   9   10   >