v1.11.3
Fix on CPython 3.x: reading the attributes __loader__ or __spec__ from the cffi-generated lib modules gave a buggy SystemError. (These attributes are always None, and provided only to help compatibility with tools that expect them in all modules.)
More Windows fixes: workaround for MSVC not supporting large literal strings in C code (from ffi.embedding_init_code(large_string)); and an issue with Py_LIMITED_API linking with python35.dll/python36.dll instead of python3.dll.
Small documentation improvements.
v38.4.0
-------
* #1231: Removed warning when PYTHONDONTWRITEBYTECODE is enabled.
v38.3.0
-------
* #1210: Add support for PEP 345 Project-URL metadata.
* #1207: Add support for ``long_description_type`` to setup.cfg
declarative config as intended and documented.
Add upstream patch to fix a test case.
Mercurial 4.4.2 (2017-12-01)
This is a regularly-scheduled bugfix release.
1.1. Notable changes
1.1.1. Stricter command option parsing
Mercurial can now optionally parse "early" options (-R/--repository,
--cwd, --config, --debugger, and --profile) more strictly, for more
secure integration with tools that invoke 'hg' commands. Setting
HGPLAIN=+strictflags will parse these options more strictly, which
prevents them from being injected as arguments to other flags.
1.2. Bug fixes
'hg amend' now correctly handles deleted and removed files, as
well as subrepos. (issue5732, issue5677)
largefiles now correctly handles dropped standin files when
updating largefiles.
Fixed an issue with deleting symlinks to directories when
ui.origbackuppath is set. (issue5731)
1.3. Performance improvements
Improved performance in path conflict checking introduced in
Mercurial 4.4. (issue5716)
Version 6.6.1 - December 16 2017
[FIXED BUG]
o gozilla: A critical vulnerability (CVE-2017-17531) was found in a unknown
function of gozilla(1). It allows remote attackers to execute arbitrary
code via a crafted URL. All gozilla(1) before GLOBAL-6.6.1 have the vulnerability.
Now it is fixed.
- What is the unknown function?
Gozilla accepts a URL as an argument, and invokes a web browser with the URL.
Though it is undocumented, it is implied in the online manual as follows:
> BUGS
> Gozilla can accept not only source files but also text files,
> directories, HTML files and even URLs, because it is omnivorous.
Version 6.6 - December 12 2017
[CHANGES]
New facilities:
o gtags: Added support for glob patterns in langmap variable in gtags.conf(5).
Now, you can treat source files without extension like ctags(1).
(e.g. :langmap=Make\:.mak.mk([Mm]akefile):)
Changed:
o gozilla: Changed the default browser from 'mozilla' to 'firefox'.
o gtags.conf.in: Updated to adapt to the latest ctags(s).
Removed: common-ctags-maps
Updated: exuberant-ctags, universal-ctags
[INCOMPATIBLE CHANGES]
o universal-ctags.la: The --extra option in Exuberant-ctags is renamed
to --extras (plural) in Universal-ctags for making consistent with
--kinds-<LANG> and --fields.
[FIXED BUGS]
o gtags: (parser error) picked up a typedef name as both of definition
and reference. Now it works.
Input:
[a.h]
typedef struct a A;
$ global -x A
A 1 a.h typedef struct a A;
$ global -x A -r
(global-6.5.7)
A 1 a.h typedef struct a A;
(global-6.6)
no output
o global: the -i option does not work correctly in some conditions.
Now it works.
o global: didn't accept pattern as a string literal with the --from-here
option, even if the --literal option was specified. Now, global(1)
accepts pattern as a string literal with the --literal option.
o libdb: there was 4 Gbyte limitation on the system where `off_t' is 64 bits
and `long' is 32 bits. Now it is eliminated.
o libparser: php parser was not reset state for each source file.
So, it was producing unintelligible results. Now it is fixed.
o gozilla: with wrong argument caused segmentation violation.
$ gozilla -d
Segmentation fault: 11
Now it displays usage.
5.2.1
- Add parenthesis to conditional pytest requirement to work around a bug in the
wheel package, that generate a .whl which otherwise always depends on
pytest
== [7.6.2] 2017-12-23 ==
* Add assertion that no hb_n_marks underflow occurs
* Add minimal testing of GC_MALLOC_[ATOMIC_]WORDS and GC_CONS (gctest)
* Add minimal testing of GC_set_bit (gctest)
* Add more cases to huge_test to cover sizes close to word-type maximum
* Add testing of new[]/delete[] (test_cpp)
* Adjust AO_HAVE_x check to match AO_fetch_and_add primitive variant used
* Adjust code indentation of calloc_explicitly_typed
* Align local_mark_stack in help_marker explicitly
* Allow custom TRACE_ENTRIES value
* Allow gctest and thread_leak_test with zero NTHREADS
* Avoid data race in finalized_count (gctest)
* Code refactoring of divide-by-HBLKSIZE occurrences
* Code refactoring of huge_test
* Code refactoring of tests/subthread_create regarding AO add primitive
* Compile thread_local_alloc only if multi-threaded build (Makefile.am)
* Delete preprocessor output on make clean (Makefile.direct)
* Disable implicit multi-threaded mode for Win32 to avoid LOCK crash
* Do not disable parallel mark for WRAP_MARK_SOME
* Do not enable mprotect-based incremental mode if unmapping is on (gctest)
* Do not install documentation if configure --disable-docs (new option)
* Do not use tkill (Android)
* Document base and size of objects allocated by finalized_malloc
* Document configure 'syntax error' issue in README
* Eliminate 'address of local variable returned' static analyzer warning
* Eliminate 'array vs singleton' code defect in typed_test (gctest)
* Eliminate 'assigned value never used' CSA warning in min_bytes_allocd
* Eliminate 'boolean result used in bitwise op' cppcheck false warning
* Eliminate 'C-style pointer casting' cppcheck style warnings in test
* Eliminate 'checking if unsigned variable is <0' cppcheck style warning
* Eliminate 'class member var with name also defined in parent' warning
* Eliminate 'comparison is always false' static analyzer warning in finalize
* Eliminate 'Condition 0==datastart always false' cppcheck warning (dyn_load)
* Eliminate 'condition is always true' cppcheck style warning
* Eliminate 'constructor with 1 argument is not explicit' cppcheck warning
* Eliminate 'CORD_*printf is never used' cppcheck style warnings (cordtest)
* Eliminate 'dereference of null' CSA false warning in array_mark_proc
* Eliminate 'function result not used' code defect in GC_mark_local
* Eliminate 'GC_collecting is set but never used' code defect (Win32)
* Eliminate 'GC_record_fault is never used' cppcheck style warning
* Eliminate 'integer shift by a negative amount' code defect in finalize
* Eliminate 'label not used' cppcheck false warnings in GC_mark_X
* Eliminate 'memory leak' code defect for scratch-allocated memory
* Eliminate 'memory leak' code defect in remove_specific
* Eliminate 'non-null arg compared to null' warning in toggleref_add (GCC)
* Eliminate 'non-reentrant function strtok called' cppcheck warning (POSIX)
* Eliminate 'possible integer underflow' code defect (cord-de)
* Eliminate 'potential overflow' static analyzer warning in test
* Eliminate 'printf format specifies type void*' GCC pedantic warnings
* Eliminate 'scope of variable can be reduced' cppcheck warnings
* Eliminate 'suspicious pointer subtraction' cppcheck warning (gc_cpp)
* Eliminate 'this statement may fall through' GCC warnings
* Eliminate 'unnecessary comparison of static strings' cppcheck warning
* Eliminate 'unsafe vsprintf is deprecated' compiler warning
* Eliminate 'unused formal parameter' compiler warnings in C++ code (MS VC)
* Eliminate 'unused variable' compiler warning in remove_all_threads_but_me
* Eliminate 'use of vulnerable sprintf' code defect in de_win test (cord)
* Eliminate 'value exceeds maximum object size' GCC warning in huge_test
* Eliminate 'value of CLOCK_TYPE unknown' cppcheck info message
* Eliminate 'value of DATASTART2 unknown' cppcheck info messages
* Eliminate 'value of GC_PTHREAD_EXIT_ATTRIBUTE unknown' cppcheck messages
* Eliminate 'value of GC_RETURN_ADDR_PARENT unknown' cppcheck info messages
* Eliminate 'value of NEED_FIXUP_POINTER unknown' cppcheck info messages
* Eliminate 'write to memory that was const-qualified' code analyzer warning
* Eliminate all 'scope of variable can be reduced' cppcheck style warnings
* Eliminate CSA warning about incorrect cast applied to HBLK_OBJS
* Eliminate CSA warning about narrowing cast in CleanUp of test_cpp
* Eliminate CSA warning of non-virtual destructor in test_cpp base class
* Eliminate CSA warning of staticroot that can be a local variable (tests)
* Eliminate CSA warning of unmodified non-const static var (disclaim_test)
* Eliminate redundant local variable in register_finalizer
* Eliminate TSan (Thread Sanitizer) warnings in gctest
* Eliminate UBSan warning of overflow during descr subtraction in mark_from
* Eliminate unreachable PROC/DEFAULT_VDB GC_printf calls in gctest main()
* Eliminate unsigned fl_builder_count underflow in mark_thread
* Enable GC_is_tmp_root for all platforms
* Execute more single-threaded GC tests by CMake
* Expand tabs to spaces in de_win.rc (tests)
* Export GC_dump_finalization/regions()
* Export GC_is_tmp_root() and GC_print_trace[_inner]()
* Export GC_print_free_list()
* Fix '32-bit value shift followed by expansion to 64-bit' code defect
* Fix 'GC_written_pages never read' code defect (GWW_VDB)
* Fix 'label cannot be reached' static analyzer warning in disclaim_test
* Fix 'size of tv is unknown' error in brief_async_signal_safe_sleep (musl)
* Fix 'syntax error' reported by cppcheck for mach_dep
* Fix 'unknown type name GC_INNER' compilation error (FreeBSD)
* Fix 'variable assigned a value that is never used' cppcheck style warnings
* Fix 'void pointers in calculations: behavior undefined' cppcheck warning
* Fix assertion violation about disabled cancel in try_to_collect_inner
* Fix atomic_ops build in Makefile.direct for Solaris
* Fix Clang static analyzer warning about not found gc_priv.h in extra files
* Fix compilation error in get_main_stack_base (Emscripten)
* Fix compilation for winpthreads if HANDLE_FORK
* Fix compilation if configured with --enable-werror on OS X
* Fix cord/de build in Makefile.direct (Linux)
* Fix data race in a list referenced by A.aa (gctest)
* Fix data race in collectable_count (gctest)
* Fix data race in do_local_mark when comparing active_count to helper_count
* Fix data race in GC_suspend/resume_thread
* Fix data race in last_stop_count access (suspend_handler_inner)
* Fix data race in make_descriptor when setting explicit_typing_initialized
* Fix data race in mark_thread when updating mark_no
* Fix data race when getting object size in explicitly-typed allocators
* Fix deadlock in GC_suspend_thread
* Fix gctest failure for Darwin if CPPCHECK is defined
* Fix lack of barriers to synchronize memory for suspend_handler
* Fix marking of disclaim-reachable objects in the incremental mode
* Fix message of VDB implementation used if MPROTECT_VDB+GWW_VDB (gctest)
* Fix missing started_thread_while_stopped call from mark_some if GCC/Clang
* Fix null dereference in GC_stack_range_for if not DARWIN_DONT_PARSE_STACK
* Fix page calculation in checksums
* Fix parallel build in Makefile.direct
* Fix test_cpp and c++ parallel build in Makefile.direct
* Fix typo in comment of GC_mark_some
* Fix typos in cdescr.html and README.sgi
* Make GC_INIT optional for clients even if thread-local allocations enabled
* Match uclinux pattern in configure
* Move conditional GC_need_to_lock setting to gc_locks.h (refactoring)
* Move README.QUICK from DOC_FILES to OTHER_FILES in Makefile.direct
* New API function (GC_is_init_called) to check if BDWGC is initialized
* New target (check-cpp) in Makefile.direct
* Prevent abort in register_data_segments for Symbian and Emscripten
* Prevent multiple 'Caught ACCESS_VIOLATION in marker' per collection
* Print realloc_count value in gctest
* Put invariant name in quotes to make mark_state comments clearer
* Refine configure messages when checking for compiler option support
* Remove extraneous semicolons after AC_MSG_WARN (configure)
* Remove page_was_dirty and remove_protection duplicate definitions
* Remove unnecessary type casts of printf arguments to unsigned long
* Remove unused ALIGN_DOUBLE, USE_GENERIC_PUSH_REGS macros (TILE-Gx/Pro)
* Rename 'test' to 'check' target in Makefile.direct
* Replace deprecated rewind to fseek in cordxtra
* Report gcc/clang pedantic warnings (configure)
* Skip thread suspend/resume API testing for Tru64 (OSF1)
* Support AddressSanitizer (Clang/GCC) and MemorySanitizer (Clang)
* Support GC_init (and get_stack_base) from non-main thread on FreeBSD/NetBSD
* Suppress 'tainted string passed to vulnerable operation' false defects
* Suppress 'taking address of label non-standard' GCC/Clang pedantic warning
* Test GC initialization from non-main thread on FreeBSD and NetBSD
* Test GCJ object creation with length-based descriptor (gctest)
* Update comment in finalized_disclaim to match FINALIZER_CLOSURE_FLAG
* Update README regarding make cords with Makefile.direct
* Update README to use autogen.sh on build from the source repository
* Update shared libraries version info to differentiate against v7.4
* Use mprotect instead of mmap in GC_unmap() on Cygwin
* Use same style of include gc.h in documentation
* Workaround '!GC_page_size is always false' cppcheck style warning
* Workaround '#error' cppcheck error messages
* Workaround '32-bit value shift by >31 bits is undefined' cppcheck warnings
* Workaround 'array compared to 0', 'untrusted loop bound' false defects
* Workaround 'bad address arithmetic' static analysis tool false positive
* Workaround 'checking if unsigned value is negative' cppcheck warning
* Workaround 'checking unsigned value is negative' code defect in mark_from
* Workaround 'comparison of identical expressions' false code defects
* Workaround 'Condition 0!=GETENV() is always false' cppcheck style warnings
* Workaround 'condition is always false' cppcheck warning in get_next_stack
* Workaround 'condition is always true' cppcheck style warnings in GC_init
* Workaround 'function is never used' cppcheck style warnings
* Workaround 'insecure libc pseudo-random number generator used' code defect
* Workaround 'int shift by negative amount' false code defect in finalize
* Workaround 'local variable size too big' static analyzer warning
* Workaround 'memory leak: result' cppcheck false error (POSIX)
* Workaround 'null pointer dereference' false positive in push_next_marked
* Workaround 'obsolescent bcopy, bzero called' cppcheck warnings (POSIX)
* Workaround 'obsolescent usleep called' cppcheck warning (POSIX)
* Workaround 'obsolete function alloca() called' cppcheck warnings
* Workaround 'passing untyped NULL to variadic function' cppcheck warning
* Workaround 'pointer used before comparison to null' code defect (pthread)
* Workaround 'possible null pointer dereference' cppcheck warnings
* Workaround 'potential multiplication overflow' code defect in de_win (cord)
* Workaround 'redundant assignment of *result to itself' cppcheck warning
* Workaround 'resource leak' false positives in alloc_MS, bl/envfile_init
* Workaround 'same expression on both sides of ==' cppcheck style warning
* Workaround 'same expression on both sides of OR' cppcheck style warning
* Workaround 'struct member is never used' cppcheck style warnings
* Workaround 'tainted int used as loop bound' static analysis tool warning
* Workaround 'Uninitialized variable' cppcheck errors
* Workaround 'unused variable' cppcheck style warnings
* Workaround 'va_list used before va_start' cppcheck error in cord
* Workaround 'value of macro unknown' cppcheck info messages
* Workaround 'value of REDIRECT_MALLOC/FREE unknown' cppcheck info messages
* Workaround 'value of SIGBUS unknown' cppcheck info messages
* Workaround 'value of WINAPI unknown' cppcheck info messages
* Workaround 'variable hides enumerator with same name' cppcheck warnings
* Workaround 'variable reassigned before old value used' cppcheck warnings
* Workaround 'waiting while holding lock' code defect in stop_world (Unix)
* Workaround false 'uninitialized var use' code defect (initsecondarythread)
Also, includes 7.4.6 changes
0.30.0:
Added py-limited-api {cp32|cp33|cp34|…} flag to produce cpNN.abi3.{arch} tags on CPython 3.
Documented the license_file metadata key
Improved Python, abi tagging for wheel convert. Thanks Ales Erjavec.
Fixed > being prepended to lines starting with “From” in the long description
Added support for specifying a build number (as per PEP 427). Thanks Ian Cordasco.
Made the order of files in generated ZIP files deterministic. Thanks Matthias Bach.
Made the order of requirements in metadata deterministic. Thanks Chris Lamb.
Fixed wheel install clobbering existing files
Improved the error message when trying to verify an unsigned wheel file
Removed support for Python 2.6, 3.2 and 3.3.
0.5.0
There are some deprecations. Please read changes carefully.
Changes
* Drop Python 2.6 and ~3.4 support. Python 2.7 and 3.5+ are supported.
* Deprecate useless custom exceptions. Use ValueError instead of PackValueError, Exception instead of PackException and UnpackException, etc... See msgpack/exceptions.py
* Add strict_types option to packer. It can be used to serialize subclass of builtin types. For example, when packing object which type is subclass of dict, default() is called. default() is called for tuple too.
* Pure Python implementation supports packing memoryview object.
* Support packing bytearray.
* Add Unpacker.tell(). And write_bytes option is deprecated.
Bugs fixed
* Fixed zero length raw can't be decoded when encoding is specified.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.
There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
Upstream changes:
1.33 2018-01-06T16:57:00
- Fix traverse() so it does not assume user functions and traverse() itself return a defined
value. This stops undef warnings when the return value is tested for error propagation.
Thanx to Jason Tibbitts for reporting this.
- Add t/00.versions.* to display the version #s of all pre-reqs.
Changes:
Added features:
Fixed bug #1059: Add filter capabilities to tracing, stack traces, and code coverage.
Fixed bug #1437: Add X-Profile-File-Name header when a profile file has been generated.
Improvements:
Fixed bug #1493: Run test suite in AppVeyor for Windows CI.
Fixed bug #1498: Use new ZEND_EXTENSION API in config.w32 build scripts. (Kalle)
Fixed bugs:
Fixed bug #702: Check whether variables tracing also works with =&.
Fixed bug #1501: Xdebug var dump tries casting properties.
Fixed bug #1502: SEND_REF lines are not marked as covered.
Pytest 3.3.2:
Bug Fixes
- pytester: ignore files used to obtain current user metadata in the fd leak
detector.
- Fix **memory leak** where objects returned by fixtures were never destructed
by the garbage collector.
- Fix conversion of pyargs to filename to not convert symlinks and not use
deprecated features on Python 3.
- PYTEST_DONT_REWRITE is now checked for plugins too rather than only for
test modules.
Improved Documentation
- Add clarifying note about behavior of multiple parametrized arguments
Trivial/Internal Changes
- Code cleanup.
- Clean up code by replacing imports and references of _ast to ast.
=== 5.11.1 / 2018-01-02
* 1 bug fix:
* Fixed Result (a superclass of Test) overriding Runnable's name accessors. (y-yagi, MSP-Greg)
=== 5.11.0 / 2018-01-01
* 2 major enhancements:
* Added Minitest::Result and Minitest::Result.from(runnable).
* Changed Minitest::Test to subclass Result and refactored methods up.
* 7 minor enhancements:
* Added --no-plugins and MT_NO_PLUGINS to bypass MT plugin autoloading. Helps with bad actors installed globally.
* Added bench_performance_{logarithmic,power} for spec-style benchmarks. (rickhull)
* Added deprecation warning for Runnable#marshal_dump.
* Minitest.run_one_method now checks for instance of Result, not exact same class.
* Minitest::Test.run returns a Result version of self, not self.
* ProgressReporter#prerecord now explicitly prints klass.name. Allows for fakers.
* 4 bug fixes:
* Object.stub no longer calls the passed block if stubbed with a callable.
* Object.stub now passes blocks down to the callable result.
* Pushed Minitest::Test#time & #time_it up to Runnable.
* Test nil equality directly in assert_equal. Fixes#679. (voxik)
=== 5.11.0b1 / 2017-12-20
* 2 major enhancements:
* Added Minitest::Result and Minitest::Result.from(runnable).
* Changed Minitest::Test to subclass Result and refactored methods up.
* 6 minor enhancements:
* Added --no-plugins and MT_NO_PLUGINS to bypass MT plugin autoloading. Helps with bad actors installed globally.
* Added bench_performance_{logarithmic,power} for spec-style benchmarks. (rickhull)
* Minitest.run_one_method now checks for instance of Result, not exact same class.
* Minitest::Test.run returns a Result version of self, not self.
* ProgressReporter#prerecord now explicitly prints klass.name. Allows for fakers.
* Removed Runnable.marshal_dump/load.
* 4 bug fixes:
* Object.stub no longer calls the passed block if stubbed with a callable.
* Object.stub now passes blocks down to the callable result.
* Pushed Minitest::Test#time & #time_it up to Runnable.
* Test nil equality directly in assert_equal. Fixes#679. (voxik)
This changes the package for anyone that used it with C++17 experimental
support and now won't get it (we're cutting off at 'actual C++17').
Bump headers PKGREVISION, suggested by joerg.
2018 01 01
- Added new flag -wn (--weld-nested-containers) which addresses these issues:
RT #123749: Problem with promises;
RT #119970: opening token stacking strange behavior;
RT #81853: Can't stack block braces
- Fixed RT #114359: Missparsing of "print $x ** 0.5;
- Deactivated the --check-syntax flag for better security. It will be
ignored if set.
- Corrected minimum perl version from 5.004 to 5.008 based on perlver
report. The change is required for coding involving wide characters.
- For certain severe errors, the source file will be copied directly to the
output without formatting. These include ending in a quote, ending in a
here doc, and encountering an unidentified character.
- Fix Autotools syntax for OpenBSD and any platform lacking stdint.h.
- Fix Android NDK incompatibilities.
- Fix a one-byte write past the end of a buffer in bson_decimal128_to_string.
- Avoid reading past the end of a string that contains UTF-8 multibyte NIL.
- Fix some pedantic warnings in C99 mode.
Provided by ITOU (Sunagawa) Keiki in PR 52833.
Changes: only SVN commit list found, see
http://trac.netlabs.org/kbuild/timeline but this version is needed
to build Virtualbox.
macholib 1.9
Features:
* Add definition for ``macholib.mach_o.reloc_type_generic``, which
was used in code but never defined.
* Add LICENSE file
* Added "--help" option for "python -m macholib"
* Added function ``macholib.MachO.lc_str_value`` which should
help in decoding value of ``macholib.mach_o.lc_str``. Those
values are offsets in the data of a load command, the function
will return the actually value as a byte string.
Bug fixes:
* Pull request 15: Fix typo in thread_command class
- We started shipping JGit 4.5.3.201708160445-r in Gradle 4.4. Some of
the non-shaded JGit resources leaked into the gradleApi() dependency
and caused problems in some builds. We now shade all of JGit's
resources.
- Some builds using Kotlin DSL had problems applying the build-scan
plugin in Gradle 4.4. We've updated to kotlin-dsl 0.13.2.
- Gradle 4.4 contained changes to internal APIs that broke the popular
Nebula dependency lock plugin. This release restores binary
compatibility for that plugin.
In the text "s|\$diffpath = .*|...|", the dollar is interpreted as a Make
variable, as if it were "s|\${d}iffpath". Since that variable is usually
not defined, the substitution failed to match. Since most systems provide
a diff tool in /usr/bin, this didn't break anything.
The patched version can also handle DIFF=/usr/bin/gdiff or
DIFF=/opt/bin/gnudiff.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:
pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
17.4.0:
Backward-incompatible Changes
- The traversal of MROs when using multiple inheritance was backward:
If you defined a class C that subclasses A and B like C(A, B), attrs would have collected the attributes from B *before* those of A.
This is now fixed and means that in classes that employ multiple inheritance, the output of __repr__ and the order of positional arguments in __init__ changes.
Due to the nature of this bug, a proper deprecation cycle was unfortunately impossible.
Generally speaking, it's advisable to prefer kwargs-based initialization anyways – *especially* if you employ multiple inheritance and diamond-shaped hierarchies.
- The __repr__ set by attrs
no longer produces an AttributeError
when the instance is missing some of the specified attributes
(either through deleting
or after using init=False on some attributes).
This can break code
that relied on repr(attr_cls_instance) raising AttributeError
to check if any attr-specified members were unset.
If you were using this,
you can implement a custom method for checking this::
def has_unset_members(self):
for field in attr.fields(type(self)):
try:
getattr(self, field.name)
except AttributeError:
return True
return False
Deprecations
- The attr.ib(convert=callable) option is now deprecated in favor of attr.ib(converter=callable).
This is done to achieve consistency with other noun-based arguments like *validator*.
*convert* will keep working until at least January 2019 while raising a DeprecationWarning.
Changes
- Generated __hash__ methods now hash the class type along with the attribute values.
Until now the hashes of two classes with the same values were identical which was a bug.
The generated method is also *much* faster now.
- attr.ib\ ’s metadata argument now defaults to a unique empty dict instance instead of sharing a common empty dict for all.
The singleton empty dict is still enforced.
- ctypes is optional now however if it's missing, a bare super() will not work in slots classes.
This should only happen in special environments like Google App Engine.
- The attribute redefinition feature introduced in 17.3.0 now takes into account if an attribute is redefined via multiple inheritance.
In that case, the definition that is closer to the base of the class hierarchy wins.
- Subclasses of auto_attribs=True can be empty now.
- Equality tests are *much* faster now.
- All generated methods now have correct __module__, __name__, and (on Python 3) __qualname__ attributes.
1.66.0:
New Libraries
Beast:
Portable HTTP, WebSocket, and network operations using only C++11 and Boost.Asio, from Vinnie Falco.
CallableTraits:
A spiritual successor to Boost.FunctionTypes, Boost.CallableTraits is a header-only C++11 library for the compile-time inspection and manipulation of all 'callable' types. Additional support for C++17 features, from Barrett Adair.
Mp11:
A C++11 metaprogramming library, from Peter Dimov.
Changes:
Allow to alter DEFAULT/MAX_NTHREADS values in test_malloc/stack
Allow to select almost-non-blocking stack implementation explicitly
Annotate AO_malloc with 'alloc_size' and 'malloc' attributes
Avoid misleading 'AO_t undefined' error if wrong atomic_ops.h included
Define AO_TS_SET to 1 (true) if GCC atomic_test_and_set is used
Disable workaround in stack_pop_acquire that was needed for ancient Clang
Do not define AO_GCC_FORCE_HAVE_CAS for Clang 3.8+ (Aarch64)
Do not disallow to define double_load using built-in atomics (Aarch64)
Do not expose AO_GCC_FORCE_HAVE_CAS macro to client code (GCC)
Do not install documentation if configure --disable-docs (new option)
Do not produce .tar.bz2 distribution file (configure)
Eliminate '-pedantic is not an option that controls warnings' GCC message
Eliminate data race in cons() of test_malloc
Eliminate GCC-5 ASan global-buffer-overflow false positive for AO_stack_bl
Fill in allocated memory with values depending on thread id (test_malloc)
Fix 'bad register name %sil' assembler error (GCC-4.4/x86)
Fix 'unknown attribute no_sanitize' compiler warning for GCC
Fix AO_malloc for sizes near CHUNK_SIZE
Fix memory leak in test_malloc
Fix test failures for Clang-3.8 and older (Aarch64)
Fix test_stack failure if AO_PREFER_BUILTIN_ATOMICS (GCC/Aarch64)
Fix typo in AO_REAL_NEXT_PTR comment
Increase the default number of threads to 16 in test_malloc/stack
Mark unallocated/freed memory as inaccessible using ASan functionality
New macro (DONT_USE_MMAP) to support testing as if mmap() is unavailable
New macro to select stack implementation based on CAS-double
Place no_sanitize attributes in a GCC-compliant way
Prevent too long run of test_atomic_generalized (especially with TSan)
Simplify '#if' expressions in gcc/x86.h (code refactoring)
Test smallest allocation of large type (test_malloc)
Use __builtin_expect in atomic_ops_malloc
Use built-in atomics for load/store/CAS for Clang by default (Aarch64)
Use double-word atomic intrinsics for recent Clang versions (gcc/x86.h)
Use GCC atomic intrinsics for Hexagon (clang 3.9+)
Use generalized double-wide load/store if AO_PREFER_GENERALIZED (Aarch64)
Workaround 'unused result' code defects in atomic_ops.c, list_atomic
Workaround Thread Sanitizer (TSan) false positive warnings
Also, includes 7.4.8 changes
The actual cleanup has been done by pkglint:
* Added missing identifier comments
* Replaced ${PKGMANDIR} with a simple man, since the infrastructure does
all the magic for PLISTs
This has been a pkglint warning for several years now, and pkglint can even
fix it automatically. And it did for this commit.
Only in lang/mercury, two passes of autofixing were necessary because there
were nested variables.
The deprecation library provides a deprecated decorator and a
fail_if_not_removed decorator for your tests. Together, the two enable the
automation of several things:
1. The docstring of a deprecated method gets the deprecation details appended to
the end of it. If you generate your API docs direct from your source, you don't
need to worry about writing your own notification. You also don't need to worry
about forgetting to write it. It's done for you.
2. Rather than having code live on forever because you only deprecated it but
never actually moved on from it, you can have your tests tell you when it's
time to remove the code. The @deprecated decorator can be told when it's time
to entirely remove the code, which causes @fail_if_not_removed to raise an
AssertionError, causing either your unittest or py.test tests to fail.
This package overrides the user-settable variable PKGSRC_COMPILER,
which is irregular. Add comments/\todos explaining this.
(This is a comment-only change.)
As a hack for 2017Q4, I added GCC_REQD+=4.9 to glibmm's buildlink3.mk,
to make some fraction of glibmm-depending packages build on the
branch. This commit reverts the bl3 addition (but leaves
GCC_REQD+=4.9 for glibmm itself).
The result will be that someone building pkgsrc with a compiler older
than gcc 4.9 will be able to build glibmm (via forcing 4.9), and
depending packages will fail. This is much like the situation before
the previous commit, except that glibmm will build.
0.30 2017-12-21 07:23:03Z
- expand "when" test skippage to more perl versions
0.29 2017-12-19 03:51:26Z
- skip tests of "when" and "given/when" usage for perl 5.27.7 *only* (see
RT#123908)
0.000097 2017-12-10 20:23:21-08:00 America/Los_Angeles
- Documentation fixes
0.000096 2017-12-09 10:13:21-08:00 America/Los_Angeles
- No changes since last trial
0.000095 2017-12-08 14:14:16-08:00 America/Los_Angeles (TRIAL RELEASE)
- Discoruage use of fragile thread features (rarely used)
- Skip fragile/discrouaged tests outside author testing.
- Document the above, and an env var to activate tests when desired
0.17 2017-12-26
* Fix the link to the GitHub repository in the metadata.
* Make sure to remove *~ temporary files / cruft.
* https://rt.cpan.org/Ticket/Display.html?id=123943
* Thanks to KENTNL for the report.
version 1.25: Fri 8 Dec 09:18:23 CET 2017
Fixes:
- $msg->tostring on append/prepend object lost $locale.
version 1.24: Fri 8 Dec 09:10:18 CET 2017
Fixes:
- $msg->toString should stringify when append/prepend are objects.
rt.cpan.org#123835 [Andy Beverley]
Improvements:
- Log4perl dispatcher: do accept init of Log::Log4perl outside the
dispatcher [Abe Timmerman]
1.704 2017-12-17 18:13:33-06:00 America/Chicago
[Fixed]
- Fixed some invalid POD and added a test to ensure POD validity
before release. Thanks @shlomif! [Github #67][Github #68]
- Improved performance when no work needed to be done. Thanks
@mephinet! [Github #70]
0.428 2017-12-19
- release 0.427_002 without further changes
0.427_002 2017-12-14
- Update ppport.h to 3.37 for improved blead support
- Fix RT#123869 - context arg to croak() reported by Zefram
- fix RT#123870 - one() returns true on empty list reported by Andy Lester
- pamper RT#123868 - $a/$b/$_ refcounting bugs reported by Zefram
0.427_001 2017-12-12
- Fix RT#123613 - build fails on perl >=5.27.4 with -DDEBUGGING,
thanks for reporting and the suggested patch goes to Andreas
Koenig and Tony Cook
0.428 2017-12-11
- release 0.427_001 without further changes
0.427_001 2017-11-06
- fix Issue#22 (Upgrading from LMU 0.416 to split XS/PP version will fail)
reported by Graham Knop (haarg), this time hopefully the right way,
repeated in RT#123310.
- fix Issue#29 (pairwise() PP implementation add tail undefs if arrays
sizes differs) reported by 0x62ash
1.02 2017-12-09
- Deprecated.
1.01 2017-12-09
- Add a very simple retries argument for retrying a request when a 5xx response is
received. @jjatria
- Support user snippets. @d5ve
- Disable deserialisation when dealing with non-serialized data. @jjatria
- Add support for login in with user credentials. @jjatria
- Allow protect_branch to accept parameters.
- Add share_project_with_group and delete_shared_project_link_within_group
methods. @sotola
- Change CONTRIBUTORS section to show the commit author rather than a link
to their GitHub profile.
1.44 2017-12-10
- You can now pass "frame_filter", "filter_frames_early", and "skip_frames" to
the throw() method of an exception class. These will be passed on to the
Devel::StackTrace constructor. Requested by Frédéric Brière. GH #6.
version 1.21; 2017-12-08
* update for context stack changes in Perl 5.23.8
* update to accommodate PERL_OP_PARENT builds of Perl 5.21.11 or later
(which is the default from Perl 5.25.1)
* update for removal of LEX_KNOWNEXT in Perl 5.25.1
* update test suite to not rely on . in @INC, which is no longer
necessarily there from Perl 5.25.7
* use cleaner wrap_op_checker() API to control op checking
- Thanks to our contributors: Alceu Rodrigues de Freitas Junior, Paul Cochrane
- Fix regression of 'perlbrew install blead'
0.81: # 2017-12-09T15:12:04+0900
- Thanks to our contributors: Luca Ferrari, Zac Bentley, perlancar, Nicolas R, gregor herrmann, Paul Cochrane
- New command: clone-modules
- Recognize tarball in .tar.xz extension
- The output of "availables" is now sorted by versions
- Unbreak the integration with cperl releases
- Make `perlbrew install` runs correctly on AIX
- support the current perl blead (5.28)
Upstream changes:
0.9 2017-12-29 16:17:42
- Do chdir() for security reasons by default
- Stop emptying/removing a path if it is changed out from underneath us
- rt 96843: Add SEE ALSO section
- prereq and unit test fixups
- Unit tests for symlink toggling protection
Upstream changes:
Perltidy Change Log
2017 12 14
- RT #123749, partial fix. "Continuation indentation" is removed from lines
with leading closing parens which are part of a call chain.
For example, the call to pack() is is now outdented to the starting
indentation in the following experession:
# OLD
$mw->Button(
-text => "New Document",
-command => \&new_document
)->pack(
-side => 'bottom',
-anchor => 'e'
);
# NEW
$mw->Button(
-text => "New Document",
-command => \&new_document
)->pack(
-side => 'bottom',
-anchor => 'e'
);
This modification improves readability of complex expressions, especially
when the user uses the same value for continuation indentation (-ci=n) and
normal indentation (-i=n). Perltidy was already programmed to
do this but a minor bug was preventing it.
- RT #123774, added flag to control space between a backslash and a single or
double quote, requested by Robert Rothenberg. The issue is that lines like
$str1=\"string1";
$str2=\'string2';
confuse syntax highlighters unless a space is left between the backslash and
the quote.
The new flag to control this is -sbq=n (--space-backslash-quote=n),
where n=0 means no space, n=1 means follow existing code, n=2 means always
space. The default is n=1, meaning that a space will be retained if there
is one in the source code.
- Fixed RT #123492, support added for indented here doc operator <<~ added
in v5.26. Thanks to Chris Weyl for the report.
- Fixed docs; --closing-side-comment-list-string should have been just
--closing-side-comment-list. Thanks to F.Li.
- Added patch RT #122030] Perl::Tidy sometimes does not call binmode.
Thanks to Irilis Aelae.
- Fixed RT #121959, PERLTIDY doesn't honor the 'three dot' notation for
locating a config file using environment variables. Thanks to John
Wittkowski.
- Minor improvements to formatting, in which some additional vertical
aligmnemt is done. Thanks to Keith Neargarder.
- RT #119588. Vertical alignment is no longer done for // operator.
5.2
- Define Jupyter protocol version 5.3:
- Kernels can now opt to be interrupted by a message sent on the control channel
instead of a system signal. See :ref:kernelspecs and :ref:msging_interrupt
- New jupyter kernel command to launch an installed kernel by name
- Kernelspecs where the command starts with e.g. python3 or
python3.6—matching the version jupyter_client is running on—are now
launched with the same Python executable as the launching process.
This extends the special handling of python added in 5.0.
- Command line arguments specified by a kernelspec can now include
{resource_dir}, which will be substituted with the kernelspec resource
directory path when the kernel is launched.
- Kernelspecs now have an optional metadata field to hold arbitrary metadata
about kernels—see :ref:kernelspecs.
- Make the KernelRestarter class used by a KernelManager configurable
- When killing a kernel on Unix, kill its process group.
- If a kernel dies soon after starting, reassign random ports before restarting
it, in case one of the previously chosen ports has been bound by another
process.
- Avoid unnecessary filesystem operations when finding a kernelspec with
:meth:.KernelSpecManager.get_kernel_spec.
- :meth:.KernelSpecManager.get_all_specs will no longer raise an exception on
encountering an invalid kernel.json file. It will raise a warning and
continue.
- Check for non-contiguous buffers before trying to send them through ZMQ
- Compatibility with upcoming Tornado version 5.0.
- Simplify setup code by always using setuptools.
- Soften warnings when setting the sticky bit on runtime files fails
- Various corrections and improvements to documentation.
pytest-xdist 1.21.0:
Deprecations and Removals
Drop support for EOL Python 2.6.
Features
New --dist=loadfile option which load-distributes test to workers grouped by the file the tests live in.
Bug Fixes
Fix accidental mutation of test report during serialization causing longrepr string-ification to break.
This gem is required by forthcoming mikutter-3.6.0.
This library is an implementation of expression for handling things.
It replaces Retriever module of mikutter.
Diva::Model is a common interface of all resources handled by mikutter.
By handling data as a subclass of Diva::Model as necessary, you can
obtain a common interface and it is useful for cooperation among
mikutter plugins.
This gem is required by forthcoming twitter-text-2.1.0 gem.
Ruby Bindings for the GNU LibIDN library, an implementation of
the Stringprep, Punycode and IDNA specifications defined by
the IETF Internationalized Domain Names (IDN) working group.
Included are the most important parts of the Stringprep, Punycode
and IDNA APIs like performing Stringprep processings, encoding
to and decoding from Punycode strings and converting entire domain
names to and from the ACE encoded form.
glibmm seems to need gcc 4.9 to build; therefore set GCC_REQD.
This means that depending packages using other versions (specifically
4.8 on NetBSD 7) will fail to link. As a kludge to make more things
build for the upcoming branch, force GCC_REQD to 4.9 in glibmm's
buildlink3.mk. Now, at least some packages that depend on glibmm
build. While icky, it's my judgement that having more packages
building is better.
This will very likely be reverted either after the branch or as part
of the upcoming compiler selection logic changes.
As proposed on tech-pkg.
it looks like autoconf did not generate enough "fi"s in the script.
ksh seems to tolerate it. this should be investigated further.
PR pkg/52877: devel/libuuid broken on NetBSD 6_STABLE
Based on PR 52850 by dziltener@lyrion.ch.
Changes for Version 2.4 (2017-11-03)
New feature: URL Aliases. URL Aliases allow an administrator to define their own URLs on the web interface that are rewritten to built-in URLs with specific parameters. Create and configure URL Aliases using the /Setup/URL_Aliases menu option in the web interface.
Add tech-note search capability.
Add the -r|--revision and -o|--origin options to the annotate command.
Add the origin= query parameter to the /annotate webpage.
The fossil annotate command and the /annotate web page go backwards in time as far as can be computed in 30 milliseconds by default, rather than stopping after 20 steps. The new limit= query parameter or the --limit command-line option can be used to alter this timeout.
Provide separate on-line help screens for each setting.
Back out support for the --no-dir-symlinks option
Remove support from the legacy configuration sync protocol. The only way now to do a configuration push or pull is to use the new protocol that was added in 2011.
Add the from= and to= query parameters to /fdiff in order to get a diff of two files in the same check-in.
Fix the "ssh://" protocol to prevent an attack whereby the attacker convinces a victim to run a "clone" with a dodgy URL and thereby gains access to their system.
Provide a checkbox that will temporarily disable all ad-units.
Improvements to the /stat page
Various new hyperlinks to the /bloblist and /bigbloblist pages.
Correct the /doc page to support read-only repositories.
Correct /zip, /tarball, zip, and tarball pages and commands to honor the versioned manifest setting when outside of an open checkout directory.
The admin-log and access-log settings are now on by default for new repositories.
Update the built-in SQLite to version 3.21.0.
Changes for Version 2.3 (2017-07-21)
Update the built-in SQLite to version 3.20.0 (beta).
Update internal Unicode character tables, used in regular expression handling, from version 9.0 to 10.0.
Show the last-sync-URL on the /urllist page.
Added the "Event Summary" activity report. example
Added the "Security Audit" page, available to administrators only
Added the Last Login time to the user list page, for administrators only
Added the --numstat option to the fossil diff command
Limit the size of the heap and stack on unix systems, as a proactive defense against the Stack Clash attack.
Fix "database locked" warnings caused by "PRAGMA optimize".
Fix a potential XSS vulnerability on the /help webpage.
Documentation updates
3.44.3:
This release improves the shrinker in cases where examples drawn earlier can affect how much data is drawn later (e.g. when you draw a length parameter in a composite and then draw that many elements). Examples found in cases like this should now be much closer to minimal.
3.44.2:
This is a pure refactoring release which changes how Hypothesis manages its set of examples internally. It should have no externally visible effects.
3.44.1:
This release fixes :issue:`997`, in which under some circumstances the body of tests run under Hypothesis would not show up when run under coverage even though the tests were run and the code they called outside of the test file would show up normally.
3.44.0:
This release adds a new feature: The :ref:`@reproduce_failure <reproduce_failure>`, designed to make it easy to use Hypothesis's binary format for examples to reproduce a problem locally without having to share your example database between machines.
This also changes when seeds are printed:
They will no longer be printed for normal falsifying examples, as there are now adequate ways of reproducing those for all cases, so it just contributes noise.
They will once again be printed when reusing examples from the database, as health check failures should now be more reliable in this scenario so it will almost always work in this case.
Changelog for Falcon 1.3.0
Changes to Supported Platforms
- CPython 3.6 is now fully supported.
- Falcon appears to work well on PyPy3.5, but we are waiting until
that platform is out of beta before officially supporting it.
- Support for both CPython 2.6 and Jython 2.7 is now deprecated and
will be discontinued in Falcon 2.0.
New & Improved
- We added built-in resource representation serialization and
deserialization, including input validation based on JSON Schema.
(See also: :ref:`Media <media>`)
- URI template field converters are now supported. We expect to expand
this feature over time. (See also:
:ref:`Field Converters <routing_field_converters>`)
- A new method, :meth:`~.Request.get_param_as_datetime`, was added to
:class:`~.Request`.
- A number of attributes were added to :class:`~.Request` to
make proxy information easier to consume. These include the
:attr:`~.Request.forwarded`, :attr:`~.Request.forwarded_uri`,
:attr:`~.Request.forwarded_scheme`, :attr:`~.Request.forwarded_host`,
and :attr:`~.Request.forwarded_prefix` attributes. The
:attr:`~.Request.prefix` attribute was also added as part of this
work.
- A :attr:`~.Request.referer` attribute was added to
:class:`~.Request`.
- We implemented ``__repr__()`` for :class:`~.Request`,
:class:`~.Response`, and :class:`~.HTTPError` to aid in
debugging.
- A number of Internet media type constants were defined to make it
easier to check and set content type headers. (See also:
:ref:`Media Type Constants <media_type_constants>`)
- Several new 5xx error classes were implemented. (See also:
:ref:`Error Handling <errors>`)
Fixed
- If even a single cookie in the request to the server is malformed,
none of the cookies will be parsed (all-or-nothing). Change the
parser to simply skip bad cookies (best-effort).
- :class:`~.API` instances are not pickleable. Modify the default router
to fix this.
Utilities and helpers for writing Pylint plugins. This is not a direct Pylint
plugin, but rather a set of tools and functions used by other plugins such as
pylint-django and pylint-celery.
1.6.0:
* When verifying duplicates classes in MRO, ignore on-the-fly generated classes
* Add brain tip for attrs library to prevent unsupported-assignment-operation false positives
* file_stream was removed, since it was deprecated for three releases
Instead one should use the .stream() method.
* Vast improvements to numpy support
* Add brain tips for curses
* Add brain tips for UUID.int
* The result of using object.__new__ as class decorator is correctly inferred as instance
* Enums created with functional syntax are now iterable
* Enums created with functional syntax are now subscriptable
* Don't crash when getting the string representation of BadUnaryOperationMessage
In some cases, when the operand does not have a .name attribute,
getting the string representation of a BadUnaryOperationMessage leads
to a crash.
* Don't raise DuplicateBaseError when classes at different locations are used
For instance, one can implement a namedtuple base class, which gets reused
on a class with the same name later on in the file. Until now, we considered
these two classes as being the same, because they shared the name, but in fact
they are different, being created at different locations and through different
means.
* The func form of namedtuples with keywords is now understood
* Dunder class at method level is now inferred as the class of the method
1.5.4:
New external storage (flash) shim. Still experimental and a little hard to tune, but generally stable and well tested.
Fixes
* make -I argument less position dependent
* external storage base commit
* lru_crawler metadump output ends with "END\r\n"
* fix: -o no_lru_crawler didn't work
New Features
extstore, a cleverly named external storage shim, is an addon for using flash drives to expand cache storage.
- Visual Studio 2017 is now supported.
- The eclipse plugin now provides separate output folders
- Kotlin DSL updated to version 0.13
- Support version ranges in parent elements of a POM
- Better incremental builds and build cache support for C/C++
- Support for the combination of Play 2.6 and Scala 2.12
- Takes all plugin repositories into account and can resolve
transitive plugin dependencies across them.